From 961d4cb670992437f1e118caea349a735c972f9f Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Thu, 22 Oct 2009 11:21:16 +0200 Subject: mkarchiso: cleanup opts, user dir creation As in title, this patch cleans up opt flags that exist for no reason and adds additional flags to modify the disk meta info which would otherwise be hardcoded. I wasn't quite sure about the user directory part but it doesn't seem like a good idea to put that part into the script and therefore I commented it out. It would probably interfere with rc.local scripts that take care of skel copying. I replaced the part after the TODO with a safe guard to make sure that people who are not aware of the changes will not be caught by surprise. Signed-off-by: Aaron Griffin --- archiso/mkarchiso | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) (limited to 'archiso') diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 1a7dea7..f4e8207 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -4,6 +4,10 @@ PKGLIST="" QUIET="y" FORCE="n" PACCONFIG="/etc/pacman.conf" +export LABEL="ARCHISO_$(pwgen -n 8 1 | tr [a-z] [A-Z])" +PUBLISHER="Arch Linux " +APPLICATION="Arch Linux Live/Rescue CD" +CREATE_DEFAULT="n" APPNAME=$(basename "${0}") @@ -15,8 +19,12 @@ usage () echo " -f Force overwrite of working files/squashfs image/bootable image" echo " -p PACKAGE(S) Additional package(s) to install, can be used multiple times" echo " -C Config file for pacman. Default $PACCONFIG" - echo " -v Enable verbose output." - echo " -h This message." + echo " -L