summaryrefslogtreecommitdiffstats
path: root/upslak.sh (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-20Remove '--no-absolute-filenames' from cpio invocations Eric Hameleers1-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.
2019-11-02NFS root (PXE boot): add virtio drivers required for older VM Eric Hameleers1-20/+22
The virtio_pci driver is required in some cases when using older types of virtual machine software.
2019-09-08upslak.sh: fix path determination for kernel and modules Eric Hameleers1-4/+4
Thanks to 0XBF @linuxquestions.org for debugging.
2019-05-05upslak.sh: use the OS to find partition names Eric Hameleers1-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').
2019-04-14Add missing template vars to upslak.sh Eric Hameleers1-2/+10
Several template vars were added to liveinit.tpl but I had forgotten to also incorporate those in the upslak.sh script.
2019-03-17upslak.sh: do not presume that people build overlayfs as a module Eric Hameleers1-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.
2017-09-23upslak.sh: remove double string occurrence Eric Hameleers1-1/+1
2017-09-23upslak.sh: filename argument to '-i' can be a relative pathname Eric Hameleers1-1/+1
2017-09-19Add upslak.sh, a script to tweak the Live USB stick. Eric Hameleers1-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.