diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2011-03-24 23:15:34 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2011-03-24 23:15:34 +0100 |
commit | e982919a9d574ec0506ad0071231f37d49f4ef11 (patch) | |
tree | 7932b8c475662c4e006e72bc1a5fdef5ce417c92 /config/chroot_local-includes/usr | |
parent | 268afb8a94864b2872da217624b9f59f0d8a353b (diff) | |
download | kanotix-e982919a9d574ec0506ad0071231f37d49f4ef11.zip kanotix-e982919a9d574ec0506ad0071231f37d49f4ef11.tar.gz |
gfxoverlay changes
* changed default searchpath for gfxoverlay to subdirectory
* write active gfxoverlay into chroot at /live/gfxoverlay.active
Diffstat (limited to 'config/chroot_local-includes/usr')
-rwxr-xr-x | config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay b/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay index 9e4d913..e78ede8 100755 --- a/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay +++ b/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay @@ -7,7 +7,7 @@ bit=32 [ "$(uname -m)" = "x86_64" ] && bit=64 mkdir -p /live/gfxoverlay /root/live/gfxoverlay -for overlay in /root/live/image/gfxoverlay.* /root/live/image/gfxoverlay/$gfx.* +for overlay in /root/live/image/gfxoverlay/overlay.* /root/live/image/gfxoverlay/$gfx.* /root/live/image/gfxoverlay.* do [ ! -e "$overlay" ] && continue mount -o loop "$overlay" /live/gfxoverlay @@ -16,7 +16,8 @@ do if [ -d $dir/lib ]; then mount -o remount,add:1:$dir /root mount -n -o move /live/gfxoverlay /root/live/gfxoverlay - exit 0 + echo "$gfx" > /root/live/gfxoverlay.active + exit 0 fi done umount /live/gfxoverlay |