The components 9990-fstab.sh and 9990-netbase.sh source
/scripts/functions. This overrides the mount_* functions (to no-ops)
which will break supporting live-{top,premount,bottom} hooks. Therefore
remove those problematic includes which do not seem to be necessary
nowadays. See Debian bug #884355 for the discussion.
Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
Fstab ()
{
- # FIXME: stop hardcoding overloading of initramfs-tools functions
- . /scripts/functions
- . /lib/live/boot/9990-initramfs-tools.sh
-
if [ -n "${NOFSTAB}" ]
then
return
return
fi
- # FIXME: stop hardcoding overloading of initramfs-tools functions
- . /scripts/functions
- . /lib/live/boot/9990-initramfs-tools.sh
-
log_begin_msg "Preconfiguring networking"
IFFILE="/root/etc/network/interfaces"