Fixed device-mapper/man removal for bug #196087, fixed mdadm.conf copying, and fixed syntax error for bug #197582. This is genkernel-3.4.9_pre5.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@550 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 17 years ago
parent c239493fcd
commit 943ce2047b

@ -2,6 +2,11 @@
# Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2 # Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
01 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org> gen_compile.sh,
gen_initramfs.sh, genkernel:
Fixed device-mapper/man removal for bug #196087, fixed mdadm.conf copying,
and fixed syntax error for bug #197582. This is genkernel-3.4.9_pre5.
30 Oct 2007; Chris Gianelloni <wolf31o2@gentoo.org> 30 Oct 2007; Chris Gianelloni <wolf31o2@gentoo.org>
-pkg/suspend-0.5-Makefile.patch, -pkg/busybox-1.1.3+gentoo.tar.bz2, -pkg/suspend-0.5-Makefile.patch, -pkg/busybox-1.1.3+gentoo.tar.bz2,
-pkg/devfsd-1.3.25-dietlibc.patch, -pkg/devfsd-1.3.25-dietlibc.patch,

@ -608,7 +608,7 @@ compile_device_mapper() {
compile_generic 'install' utils compile_generic 'install' utils
print_info 1 ' >> Copying to cache...' print_info 1 ' >> Copying to cache...'
cd "${TEMP}" cd "${TEMP}"
rm -r "${TEMP}/device-mapper/man" || rm -rf "${TEMP}/device-mapper/man" ||
gen_die 'Could not remove manual pages!' gen_die 'Could not remove manual pages!'
strip "${TEMP}/device-mapper/sbin/dmsetup" || strip "${TEMP}/device-mapper/sbin/dmsetup" ||
gen_die 'Could not strip dmsetup binary!' gen_die 'Could not strip dmsetup binary!'

@ -235,8 +235,8 @@ append_mdadm(){
mkdir -p "${TEMP}/initramfs-mdadm-temp/etc/" mkdir -p "${TEMP}/initramfs-mdadm-temp/etc/"
if [ "${MDADM}" -eq '1' ] if [ "${MDADM}" -eq '1' ]
then then
cp -a /etc/mdadm.conf "${TEMP}/initramfs-udev-temp/etc" \ cp -a /etc/mdadm.conf "${TEMP}/initramfs-mdadm-temp/etc" \
|| gen_die "Could not copy mdadm.conf!"; } || gen_die "Could not copy mdadm.conf!"
fi fi
cd "${TEMP}/initramfs-mdadm-temp/" cd "${TEMP}/initramfs-mdadm-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
PATH="/bin:/usr/bin:/sbin:/usr/sbin" PATH="/bin:/usr/bin:/sbin:/usr/sbin"
GK_V='3.4.9_pre4' GK_V='3.4.9_pre5'
# Set the default for TMPDIR. May be modified by genkernel.conf or the # Set the default for TMPDIR. May be modified by genkernel.conf or the
# --tempdir command line option. # --tempdir command line option.
@ -27,9 +27,8 @@ parse_opt() {
case "$*" in case "$*" in
--config=*) --config=*)
CMD_GK_CONFIG=`parse_opt "$*"` CMD_GK_CONFIG=`parse_opt "$*"`
;; ;;
esac esac
}
source ${CMD_GK_CONFIG:-/etc/genkernel.conf} || small_die "Could not read /etc/genkernel.conf" source ${CMD_GK_CONFIG:-/etc/genkernel.conf} || small_die "Could not read /etc/genkernel.conf"

Loading…
Cancel
Save