# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
# Distributed under the GPL v2
+ 13 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/linuxrc,
+ gen_initramfs.sh:
+ Make sure that /sbin/unionfs is +x
+
13 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> gen_compile.sh,
gen_initramfs.sh:
Correct unionfs-fuse bincache path and clean up debugging code
if [ ! -x /sbin/unionfs ]
then
USE_UNIONFS_NORMAL=0
- bad_msg 'Unionctl not found: aborting use of unionfs!'
+ bad_msg 'unionfs binary not found: aborting use of unionfs!'
else
USE_UNIONFS_NORMAL=1
fi
mkdir -p "${TEMP}/initramfs-unionfs-fuse-temp/sbin/"
bzip2 -dc "${UNIONFS_FUSE_BINCACHE}" > "${TEMP}/initramfs-unionfs-fuse-temp/sbin/unionfs" ||
gen_die 'Could not extract unionfs-fuse binary cache!'
+ chmod a+x "${TEMP}/initramfs-unionfs-fuse-temp/sbin/unionfs"
cd "${TEMP}/initramfs-unionfs-fuse-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
rm -rf "${TEMP}/initramfs-unionfs-fuse-temp" > /dev/null