Renaming /lib/live/mount/image to /lib/live/mount/medium.
authorDaniel Baumann <daniel@debian.org>
Wed, 3 Oct 2012 11:57:49 +0000 (13:57 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 3 Oct 2012 12:05:38 +0000 (14:05 +0200)
See http://lists.debian.org/debian-live/2012/10/msg00023.html
for more information.

scripts/boot/9990-aaa-fixme.sh
scripts/boot/9990-main.sh
scripts/boot/9990-misc-helpers.sh

index 822a604..b213bba 100755 (executable)
@@ -5,7 +5,7 @@ export PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbi
 echo "/root/lib" >> /etc/ld.so.conf
 echo "/root/usr/lib" >> /etc/ld.so.conf
 
-mountpoint="/live/image"
+mountpoint="/live/medium"
 alt_mountpoint="/media"
 LIVE_MEDIA_PATH="live"
 
index 171d0ea..983a1cb 100755 (executable)
@@ -146,8 +146,8 @@ Main ()
        esac
 
        # Move to the new root filesystem so that programs there can get at it.
-       mkdir -p /root/lib/live/mount/image
-       mount --move /live/image /root/lib/live/mount/image
+       mkdir -p /root/lib/live/mount/medium
+       mount --move /live/medium /root/lib/live/mount/medium
 
        # aufs2 in kernel versions around 2.6.33 has a regression:
        # directories can't be accessed when read for the first the time,
index 3455045..06fef87 100755 (executable)
@@ -940,7 +940,7 @@ find_persistence_media ()
        local white_listed_devices="${2}"
        local ret=""
 
-       local black_listed_devices="$(what_is_mounted_on /live/image)"
+       local black_listed_devices="$(what_is_mounted_on /live/medium)"
 
        for dev in $(storage_devices "${black_listed_devices}" "${white_listed_devices}")
        do