Make sure that /sbin/unionfs is +x

cleanup-cruft
agaffney 16 years ago
parent 4123ac396c
commit b116df3c98

@ -2,6 +2,10 @@
# 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

@ -187,7 +187,7 @@ do
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

@ -94,6 +94,7 @@ append_unionfs_fuse() {
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

Loading…
Cancel
Save