Add --unionfs commandline option to enable building of unionfs-fuse

Add nounionfs boot option
cleanup-cruft
Andrew Gaffney 16 years ago
parent bbbfa2b4de
commit d07862bb8e

@ -2,6 +2,11 @@
# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
# Distributed under the GPL v2
14 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/linuxrc,
gen_cmdline.sh, gen_determineargs.sh, genkernel:
Add --unionfs commandline option to enable building of unionfs-fuse Add
nounionfs boot option
14 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
Add good_msg for creating the union mount

@ -192,6 +192,9 @@ do
USE_UNIONFS_NORMAL=1
fi
;;
nounionfs)
USE_UNIONFS_NORMAL=0
;;
# unionfs\=*)
# if [ ! -x /sbin/unionfs ]
# then

@ -90,6 +90,7 @@ longusage() {
echo " --luks Include LUKS support"
echo " --> 'emerge cryptsetup-luks' with USE=-dynamic"
echo " --no-busybox Do not include busybox in the initramfs."
echo " --unionfs Include support for unionfs"
echo " Internals"
echo " --arch-override=<arch> Force to arch instead of autodetect"
echo " --cachedir=<dir> Override the default cache location"
@ -244,6 +245,10 @@ parse_cmdline() {
CMD_BUSYBOX=0
print_info 2 "CMD_BUSYBOX: ${CMD_BUSYBOX}"
;;
--unionfs)
CMD_UNIONFS=1
print_info 2 "CMD_UNIONFS: ${CMD_UNIONFS}"
;;
--slowusb)
CMD_SLOWUSB=1
print_info 2 "CMD_SLOWUSB: ${CMD_SLOWUSB}"

@ -94,6 +94,7 @@ determine_real_args() {
set_config_with_override 1 EVMS CMD_EVMS
set_config_with_override 1 DMRAID CMD_DMRAID
set_config_with_override 1 BUSYBOX CMD_BUSYBOX "yes"
set_config_with_override 1 UNIONFS CMD_UNIONFS
set_config_with_override 1 DISKLABEL CMD_DISKLABEL
set_config_with_override 1 LUKS CMD_LUKS
set_config_with_override 1 MDADM CMD_MDADM

@ -302,8 +302,11 @@ then
compile_busybox
fi
compile_unionfs_fuse
if isTrue "${UNIONFS}"
then
compile_unionfs_fuse
fi
# Compile initramfs
create_initramfs
else

Loading…
Cancel
Save