Use PERSISTENCE_PATH with a trailing "/".
[debian-live-boot.git] / components / 9990-aaa-fixme.sh
blob3309c8139a236b4fcc4c34ab3b89bcc893ae3de2
1 #!/bin/sh
3 PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
4 export PATH
6 echo "/root/lib" >> /etc/ld.so.conf
7 echo "/root/usr/lib" >> /etc/ld.so.conf
9 mountpoint="/live/medium"
10 alt_mountpoint="/media"
11 LIVE_MEDIA_PATH="live"
13 HOSTNAME="host"
15 mkdir -p "${mountpoint}"
16 mkdir -p /var/lib/live/boot
18 # Create /etc/mtab for debug purpose and future syncs
19 mkdir -p /etc
20 touch /etc/mtab
22 if [ ! -x "/bin/fstype" ]
23 then
24 # klibc not in path -> not in initramfs
25 PATH="${PATH}:/usr/lib/klibc/bin"
26 export PATH
29 custom_overlay_label="persistence"
30 persistence_list="persistence.conf"