9990-misc-helpers.sh was still looping over /live/rootfs/* rather
than /run/live/rootfs/*, breaking custom mount points.
Also /live/persistence was used to store debug file instead of
/run/live/persistence in the same function.
Update them to follow changes from
0d878d3a6798 (see #886328).
# in one union together.
#
black_listed_devices=""
# in one union together.
#
black_listed_devices=""
- for d in /live/rootfs/* /live/findiso /live/fromiso
+ for d in /run/live/rootfs/* /live/findiso /live/fromiso
do
black_listed_devices="${black_listed_devices} $(what_is_mounted_on d)"
done
do
black_listed_devices="${black_listed_devices} $(what_is_mounted_on d)"
done
- # Side-effect: leaves $devices with persistence.conf mounted in /live/persistence
+ # Side-effect: leaves $devices with persistence.conf mounted in /run/live/persistence
# Side-effect: prints info to file $custom_mounts
local custom_mounts devices bindings links
# Side-effect: prints info to file $custom_mounts
local custom_mounts devices bindings links
if [ -n "${LIVE_BOOT_DEBUG}" ] && [ -e "${include_list}" ]
then
if [ -n "${LIVE_BOOT_DEBUG}" ] && [ -e "${include_list}" ]
then
- cp ${include_list} /live/persistence/${persistence_list}.${device_name}
+ cp ${include_list} /run/live/persistence/${persistence_list}.${device_name}
fi
while read dir options # < ${include_list}
fi
while read dir options # < ${include_list}
rootfs_dest_backing=""
if [ -n "${opt_link}" ] || [ -n "${opt_union}" ]
then
rootfs_dest_backing=""
if [ -n "${opt_link}" ] || [ -n "${opt_union}" ]
then
- for d in /live/rootfs/*
+ for d in /run/live/rootfs/*
do
if [ -n "${rootmnt}" ]
then
do
if [ -n "${rootmnt}" ]
then