From 137ad9c2523853e4ecf153580bc6f6ee21c9a992 Mon Sep 17 00:00:00 2001 From: Joerg Schirottke Date: Sun, 3 Mar 2013 13:48:06 +0100 Subject: hotfix for live-boot 3.0 --- backend/modules/init | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/modules/init b/backend/modules/init index 5e3f28e..15e05b4 100644 --- a/backend/modules/init +++ b/backend/modules/init @@ -6,6 +6,7 @@ function init_installer() export FLL_DISTRO_MODE FLL_DISTRO_NAME FLL_LIVE_USER mkdir -p /live/filesystem LOOPDEV="$(losetup --all | awk -F: '/\/live\/image\//&&/filesystem/{print $1}')" + [ -z "$LOOPDEV" ] && LOOPDEV=$(losetup --all | awk -F: '/\/live\/medium\//&&/filesystem/{print $1}') if [ -e /live/gfxoverlay.active ]; then mkdir -p /live/filesystem.main gfx="$(cat /live/gfxoverlay.active)" -- cgit v1.0