# 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
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"