[SCM] Debian Live initramfs hook branch, master, updated. 1.156.1-1-8-gecfcca1
Daniel Baumann
daniel at debian.org
Fri Mar 6 15:45:13 UTC 2009
The following commit has been merged in the master branch:
commit ecfcca1e1ada5d93fd191b8fadd6ae4fa6592e2e
Author: Daniel Baumann <daniel at debian.org>
Date: Fri Mar 6 16:40:53 2009 +0100
Adding silent boot parameter.
diff --git a/manpages/live-initramfs.en.7.txt b/manpages/live-initramfs.en.7.txt
index ecf9db5..c1dcd5b 100644
--- a/manpages/live-initramfs.en.7.txt
+++ b/manpages/live-initramfs.en.7.txt
@@ -245,6 +245,11 @@ This parameter will make live-initramfs to show on "/" the ro filesystems
lead to problems by applications like "mono" which store binary paths on
installation.
+ silent
+
+If you boot with the normal quiet parameter, live-initramfs hides most messages
+of its own. When adding silent, it hides all.
+
textonly
Start up to text-mode shell prompts, disabling the graphical user interface.
diff --git a/scripts/live b/scripts/live
index 933eb00..eb04d27 100755
--- a/scripts/live
+++ b/scripts/live
@@ -391,6 +391,11 @@ Arguments ()
export SHOWMOUNTS
;;
+ silent)
+ SILENT="Yes"
+ export SILENT
+ ;;
+
textonly)
TEXTONLY="Yes"
export TEXTONLY
diff --git a/scripts/live-bottom/14locales b/scripts/live-bottom/14locales
index b42fcf0..29c405b 100755
--- a/scripts/live-bottom/14locales
+++ b/scripts/live-bottom/14locales
@@ -116,7 +116,13 @@ then
printf 'LANG="%s"\n' "${LANG}" >> /root/etc/default/locale
printf 'LANG="%s"\n' "${LANG}" >> /root/etc/environment
printf '%s %s\n' "${LANG}" "${codepage}" > /root/etc/locale.gen
- chroot /root /usr/sbin/locale-gen
+
+ if [ -z "${SILENT}" ]
+ then
+ chroot /root /usr/sbin/locale-gen
+ else
+ chroot /root /usr/sbin/local-gen > /dev/null 2>&1
+ fi
fi
log_end_msg
--
Debian Live initramfs hook
More information about the debian-live-changes
mailing list