From 33bd91d532e7c620db600e4df0ed6d669c1be8ce Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 13 Dec 2006 16:41:39 +0000 Subject: [PATCH] Added debug level to LUKS print_info messages for bug #156410. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@464 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- ChangeLog | 4 ++++ gen_initramfs.sh | 6 +++--- gen_initrd.sh | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index aec4a24..a790918 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ # Copyright 2006-2006 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 13 Dec 2006; Chris Gianelloni gen_initramfs.sh, + gen_initrd.sh: + Added debug level to LUKS print_info messages for bug #156410. + 03 Dec 2006; Chris Gianelloni alpha/modules_load, x86/modules_load, x86_64/modules_load: Added raid456 to alpha/amd64/x86 MODULES_EVMS2 and added tg3 to MODULES_NET. diff --git a/gen_initramfs.sh b/gen_initramfs.sh index c8c7b0e..182213f 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -451,13 +451,13 @@ create_initramfs_aux() { then if is_static /bin/cryptsetup then - print_info "Including LUKS support" + print_info 1 "Including LUKS support" rm -f ${TEMP}/initramfs-aux-temp/sbin/cryptsetup cp /bin/cryptsetup ${TEMP}/initramfs-aux-temp/sbin/cryptsetup chmod +x "${TEMP}/initramfs-aux-temp/sbin/cryptsetup" else - print_info "LUKS support requires static cryptsetup at /bin/cryptsetup" - print_info "Not including LUKS support" + print_info 1 "LUKS support requires static cryptsetup at /bin/cryptsetup" + print_info 1 "Not including LUKS support" fi fi diff --git a/gen_initrd.sh b/gen_initrd.sh index f197995..df2c4dc 100644 --- a/gen_initrd.sh +++ b/gen_initrd.sh @@ -237,13 +237,13 @@ create_base_initrd_sys() { then if is_static /bin/cryptsetup then - print_info "Including LUKS support" + print_info 1 "Including LUKS support" rm -f ${TEMP}/initrd-temp/sbin/cryptsetup cp /bin/cryptsetup ${TEMP}/initrd-temp/sbin/cryptsetup chmod +x "${TEMP}/initrd-temp/sbin/cryptsetup" else - print_info "LUKS support requires static cryptsetup at /bin/cryptsetup" - print_info "Not including LUKS support" + print_info 1 "LUKS support requires static cryptsetup at /bin/cryptsetup" + print_info 1 "Not including LUKS support" fi fi } -- 2.26.2