s/aux/luks/ for gentoo bug #250330

cleanup-cruft
Andrew Gaffney 16 years ago
parent 40efdee49c
commit 899fe9895c

@ -2,6 +2,9 @@
# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
# Distributed under the GPL v2 # Distributed under the GPL v2
09 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
s/aux/luks/ for gentoo bug #250330
07 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> arch/alpha/busy-config, 07 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> arch/alpha/busy-config,
arch/ia64/busy-config, arch/mips/busy-config, arch/parisc/busy-config, arch/ia64/busy-config, arch/mips/busy-config, arch/parisc/busy-config,
arch/parisc64/busy-config, arch/ppc/busy-config, arch/ppc64/busy-config, arch/parisc64/busy-config, arch/ppc/busy-config, arch/ppc64/busy-config,

@ -296,15 +296,15 @@ append_luks() {
if is_static /bin/cryptsetup if is_static /bin/cryptsetup
then then
print_info 1 "Including LUKS support" print_info 1 "Including LUKS support"
rm -f ${TEMP}/initramfs-aux-temp/sbin/cryptsetup rm -f ${TEMP}/initramfs-luks-temp/sbin/cryptsetup
cp /bin/cryptsetup ${TEMP}/initramfs-aux-temp/sbin/cryptsetup cp /bin/cryptsetup ${TEMP}/initramfs-luks-temp/sbin/cryptsetup
chmod +x "${TEMP}/initramfs-aux-temp/sbin/cryptsetup" chmod +x "${TEMP}/initramfs-luks-temp/sbin/cryptsetup"
elif is_static /sbin/cryptsetup elif is_static /sbin/cryptsetup
then then
print_info 1 "Including LUKS support" print_info 1 "Including LUKS support"
rm -f ${TEMP}/initramfs-aux-temp/sbin/cryptsetup rm -f ${TEMP}/initramfs-luks-temp/sbin/cryptsetup
cp /sbin/cryptsetup ${TEMP}/initramfs-aux-temp/sbin/cryptsetup cp /sbin/cryptsetup ${TEMP}/initramfs-luks-temp/sbin/cryptsetup
chmod +x "${TEMP}/initramfs-aux-temp/sbin/cryptsetup" chmod +x "${TEMP}/initramfs-luks-temp/sbin/cryptsetup"
else else
print_info 1 "LUKS support requires static cryptsetup at /bin/cryptsetup or /sbin/cryptsetup" print_info 1 "LUKS support requires static cryptsetup at /bin/cryptsetup or /sbin/cryptsetup"

Loading…
Cancel
Save