Put blkid of e2fsprogs into /sbin, not /bin (bug #352746)

cleanup-cruft
Sebastian Pipping 14 years ago
parent 15b4869f50
commit 81e41d541d

@ -5,6 +5,10 @@
# Distributed under the GPL v2
# $Id$
30 Jan 2011; Sebastian Pipping <sping@gentoo.org> gen_initramfs.sh:
Give blkid of e2fsprogs precedence over busybox re-write by putting it into
/sbin, not /bin (bug #352746)
30 Jan 2011; Sebastian Pipping <sping@gentoo.org> genkernel:
Bump version to 3.4.12.4

@ -75,10 +75,10 @@ append_blkid(){
rm -r "${TEMP}/initramfs-blkid-temp/"
fi
cd ${TEMP}
mkdir -p "${TEMP}/initramfs-blkid-temp/bin/"
[ "${DISKLABEL}" = '1' ] && { /bin/bzip2 -dc "${BLKID_BINCACHE}" > "${TEMP}/initramfs-blkid-temp/bin/blkid" ||
mkdir -p "${TEMP}/initramfs-blkid-temp/sbin/"
[ "${DISKLABEL}" = '1' ] && { /bin/bzip2 -dc "${BLKID_BINCACHE}" > "${TEMP}/initramfs-blkid-temp/sbin/blkid" ||
gen_die "Could not extract blkid binary cache!"; }
chmod a+x "${TEMP}/initramfs-blkid-temp/bin/blkid"
chmod a+x "${TEMP}/initramfs-blkid-temp/sbin/blkid"
cd "${TEMP}/initramfs-blkid-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
|| gen_die "compressing blkid cpio"

Loading…
Cancel
Save