summaryrefslogtreecommitdiff
path: root/scripts/boot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/boot.sh')
-rwxr-xr-xscripts/boot.sh23
1 files changed, 22 insertions, 1 deletions
diff --git a/scripts/boot.sh b/scripts/boot.sh
index 5d4a20d..0b18a9c 100755
--- a/scripts/boot.sh
+++ b/scripts/boot.sh
@@ -35,7 +35,28 @@ then
touch /etc/mtab
fi
-. /scripts/live-helpers
+if [ ! -x "/bin/fstype" ]
+then
+ # klibc not in path -> not in initramfs
+ export PATH="${PATH}:/usr/lib/klibc/bin"
+fi
+
+# handle upgrade path from old udev (using udevinfo) to
+# recent versions of udev (using udevadm info)
+if [ -x /sbin/udevadm ]
+then
+ udevinfo='/sbin/udevadm info'
+else
+ udevinfo='udevinfo'
+fi
+
+old_root_overlay_label="live-rw"
+old_home_overlay_label="home-rw"
+custom_overlay_label="custom-ov"
+root_snapshot_label="live-sn"
+old_root_snapshot_label="live-sn"
+home_snapshot_label="home-sn"
+persistence_list="live-persistence.conf"
if [ ! -f /live.vars ]
then