Patch by Steven Shiau <steven@nchc.org.tw>. The only changes so far are:
[live-boot-grml.git] / components / 9990-aaa-fixme.sh
index 6fc12f9..3309c81 100755 (executable)
@@ -13,15 +13,11 @@ LIVE_MEDIA_PATH="live"
 HOSTNAME="host"
 
 mkdir -p "${mountpoint}"
-tried="/tmp/tried"
+mkdir -p /var/lib/live/boot
 
 # Create /etc/mtab for debug purpose and future syncs
 mkdir -p /etc
-
-if [ ! -f /etc/mtab ]
-then
-       touch /etc/mtab
-fi
+touch /etc/mtab
 
 if [ ! -x "/bin/fstype" ]
 then
@@ -30,20 +26,5 @@ then
        export PATH
 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
-
 custom_overlay_label="persistence"
 persistence_list="persistence.conf"
-old_persistence_list="live-persistence.conf"
-
-if [ ! -f /live.vars ]
-then
-       touch /live.vars
-fi