diff options
Diffstat (limited to 'scripts/boot')
| -rwxr-xr-x | scripts/boot/9990-cmdline-old | 5 | ||||
| -rwxr-xr-x | scripts/boot/9990-main.sh | 6 | ||||
| -rwxr-xr-x | scripts/boot/9990-overlay.sh | 3 | 
3 files changed, 13 insertions, 1 deletions
diff --git a/scripts/boot/9990-cmdline-old b/scripts/boot/9990-cmdline-old index 85f1b62..94c5163 100755 --- a/scripts/boot/9990-cmdline-old +++ b/scripts/boot/9990-cmdline-old @@ -30,6 +30,11 @@ Cmdline_old ()  				export DHCP  				;; +			klibc-mount=*) +				KLIBC_MOUNT="${_PARAMETER#klibc-mount=}" +				export KLIBC_MOUNT +				;; +  			ethdevice=*)  				DEVICE="${_PARAMETER#ethdevice=}"  				ETHDEVICE="${DEVICE}" diff --git a/scripts/boot/9990-main.sh b/scripts/boot/9990-main.sh index 983a1cb..0924581 100755 --- a/scripts/boot/9990-main.sh +++ b/scripts/boot/9990-main.sh @@ -32,6 +32,12 @@ Main ()  		. /conf/param.conf  	fi +	if [ -x /bin/mount.util-linux ] && [ -z "${KLIBC_MOUNT}" ] +	then +		# fuse does not work with klibc mount +		ln -f /bin/mount.util-linux /bin/mount +	fi +  	# Needed here too because some things (*cough* udev *cough*)  	# changes the timeout diff --git a/scripts/boot/9990-overlay.sh b/scripts/boot/9990-overlay.sh index 80b5726..dba042b 100755 --- a/scripts/boot/9990-overlay.sh +++ b/scripts/boot/9990-overlay.sh @@ -335,7 +335,8 @@ setup_unionfs ()  		then  			# FIXME: handle PERSISTENCE_READONLY  			unionmountopts="-t ${cow_fstype} -o noatime,union,${cow_mountopt} ${cowdevice}" -			mount_full $unionmountopts "${unionmountpoint}" +			# unionmount only works with util-linux mount +			mount.util-linux $unionmountopts "${unionmountpoint}"  		else  			cow_dir="/live/overlay${dir}"  			rootfs_dir="${rootfs}${dir}"  | 
