#!/bin/sh
-export PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
+PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
+export PATH
echo "/root/lib" >> /etc/ld.so.conf
echo "/root/usr/lib" >> /etc/ld.so.conf
alt_mountpoint="/media"
LIVE_MEDIA_PATH="live"
-HOSTNAME="host"
+HOSTNAME="grml"
mkdir -p "${mountpoint}"
-tried="/tmp/tried"
+mkdir -p /var/lib/live/boot
# Create /etc/mtab for debug purpose and future syncs
-if [ ! -d /etc ]
-then
- mkdir /etc/
-fi
-
-if [ ! -f /etc/mtab ]
-then
- touch /etc/mtab
-fi
+mkdir -p /etc
+touch /etc/mtab
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'
+ PATH="${PATH}:/usr/lib/klibc/bin"
+ export PATH
fi
+old_root_overlay_label="live-rw"
+old_home_overlay_label="home-rw"
custom_overlay_label="persistence"
+old_custom_overlay_label="custom-ov"
persistence_list="persistence.conf"
-old_persistence_list="live-persistence.conf"
-
-if [ ! -f /live.vars ]
-then
- touch /live.vars
-fi