From e982919a9d574ec0506ad0071231f37d49f4ef11 Mon Sep 17 00:00:00 2001 From: Andreas Loibl Date: Thu, 24 Mar 2011 23:15:34 +0100 Subject: gfxoverlay changes * changed default searchpath for gfxoverlay to subdirectory * write active gfxoverlay into chroot at /live/gfxoverlay.active --- .../usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay | 5 +++-- 1 file 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 -- cgit v1.0