5 if [ -e /scripts/functions ]
7 # initramfs-tools specific (FIXME)
11 for _SCRIPT in /lib/live/boot/*
13 if [ -e "${_SCRIPT}" ]
19 export PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
21 echo "/root/lib" >> /etc/ld.so.conf
22 echo "/root/usr/lib" >> /etc/ld.so.conf
24 mountpoint="/live/image"
25 alt_mountpoint="/media"
26 LIVE_MEDIA_PATH="live"
30 mkdir -p "${mountpoint}"
33 # Create /etc/mtab for debug purpose and future syncs
44 if [ ! -x "/bin/fstype" ]
46 # klibc not in path -> not in initramfs
47 export PATH="${PATH}:/usr/lib/klibc/bin"
50 # handle upgrade path from old udev (using udevinfo) to
51 # recent versions of udev (using udevadm info)
52 if [ -x /sbin/udevadm ]
54 udevinfo='/sbin/udevadm info'
59 old_root_overlay_label="live-rw"
60 old_home_overlay_label="home-rw"
61 custom_overlay_label="custom-ov"
62 root_snapshot_label="live-sn"
63 old_root_snapshot_label="live-sn"
64 home_snapshot_label="home-sn"
65 persistence_list="live-persistence.conf"
67 if [ ! -f /live.vars ]