Adding upstream version 4.0~a14.
[live-boot-grml.git] / components / 9990-aaa-fixme.sh
diff --git a/components/9990-aaa-fixme.sh b/components/9990-aaa-fixme.sh
new file mode 100755 (executable)
index 0000000..3309c81
--- /dev/null
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+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
+
+mountpoint="/live/medium"
+alt_mountpoint="/media"
+LIVE_MEDIA_PATH="live"
+
+HOSTNAME="host"
+
+mkdir -p "${mountpoint}"
+mkdir -p /var/lib/live/boot
+
+# Create /etc/mtab for debug purpose and future syncs
+mkdir -p /etc
+touch /etc/mtab
+
+if [ ! -x "/bin/fstype" ]
+then
+       # klibc not in path -> not in initramfs
+       PATH="${PATH}:/usr/lib/klibc/bin"
+       export PATH
+fi
+
+custom_overlay_label="persistence"
+persistence_list="persistence.conf"