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
cleanup-cruft
Chris Gianelloni 18 years ago
parent 9607f7eea1
commit 33bd91d532

@ -2,6 +2,10 @@
# Copyright 2006-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
13 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> gen_initramfs.sh,
gen_initrd.sh:
Added debug level to LUKS print_info messages for bug #156410.
03 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> alpha/modules_load,
x86/modules_load, x86_64/modules_load:
Added raid456 to alpha/amd64/x86 MODULES_EVMS2 and added tg3 to MODULES_NET.

@ -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

@ -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
}

Loading…
Cancel
Save