summaryrefslogtreecommitdiffstats
path: root/upslak.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove '--no-absolute-filenames' from cpio invocations Eric Hameleers2019-11-201-1/+1
| | | | | | | | | Since cpio 2.13, this option strips '/' and '../' from symbolic and hard links during extraction of a cpio archive like our initramfs. This is implemented as a fix for CVE-2015-1197 but breaks the initrd. And leaving out this option does not have the adverse effect I always thought it would have... archive extraction is still done into the current directory and not in the filesystem root.
* NFS root (PXE boot): add virtio drivers required for older VM Eric Hameleers2019-11-021-20/+22
| | | | | The virtio_pci driver is required in some cases when using older types of virtual machine software.
* upslak.sh: fix path determination for kernel and modules Eric Hameleers2019-09-081-4/+4
| | | | Thanks to 0XBF @linuxquestions.org for debugging.
* upslak.sh: use the OS to find partition names Eric Hameleers2019-05-051-9/+14
| | | | | | This should allow usage of external storage devices like SD cards, whose partition naming conventions are different from generic USB devices. E.g. /dev/mmcblk0p1 is the first partition of /dev/mmcblk0 (note the 'p').
* Add missing template vars to upslak.sh Eric Hameleers2019-04-141-2/+10
| | | | | Several template vars were added to liveinit.tpl but I had forgotten to also incorporate those in the upslak.sh script.
* upslak.sh: do not presume that people build overlayfs as a module Eric Hameleers2019-03-171-1/+1
| | | | | | The script will now only fail if you have zero modules in your tree. I presume (!) that this corner case will never occur. In any case, I will not support it.
* upslak.sh: remove double string occurrence Eric Hameleers2017-09-231-1/+1
|
* upslak.sh: filename argument to '-i' can be a relative pathname Eric Hameleers2017-09-231-1/+1
|
* Add upslak.sh, a script to tweak the Live USB stick. Eric Hameleers2017-09-191-0/+923
Purpose: to update the content of a Slackware Live USB stick. upslak.sh accepts the following parameters: -b|--nobackup Do not try to backup original kernel and modules. -d|--devices List removable devices on this computer. -h|--help This help. -i|--init <filename> Replacement init script. -k|--kernel <filename> The kernel file (or package). -m|--kmoddir <name> The kernel modules directory (or package). -n|--netsupport Add network boot support if not yet present. -o|--outdev <filename> The device name of your USB drive. -p|--persistence Move persistent data into new Live module. -r|--restore Restore previous kernel and modules. -s|--scan Scan for insertion of new USB device instead of providing a devicename (using option '-o'). -v|--verbose Show verbose messages. -w|--wait<number> Add <number> seconds wait time to initialize USB.