Simplifying code a bit after removal of no longer supported overlay alternatives.
[live-boot-grml.git] / components / 9990-aaa-fixme.sh
1 #!/bin/sh
2
3 PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
4 export PATH
5
6 echo "/root/lib" >> /etc/ld.so.conf
7 echo "/root/usr/lib" >> /etc/ld.so.conf
8
9 mountpoint="/live/medium"
10 alt_mountpoint="/media"
11 LIVE_MEDIA_PATH="live"
12
13 HOSTNAME="host"
14
15 mkdir -p "${mountpoint}"
16 mkdir -p /var/lib/live/boot
17
18 # Create /etc/mtab for debug purpose and future syncs
19 mkdir -p /etc
20 touch /etc/mtab
21
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
27 fi
28
29 custom_overlay_label="persistence"
30 persistence_list="persistence.conf"