|Commit message (Collapse)||Author||Files||Lines|
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').
Several template vars were added to liveinit.tpl but I had forgotten
to also incorporate those in the upslak.sh script.
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.
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.