From cda54cd13b9bc2999f0f35bf55742e4131ce66be Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Fri, 18 Oct 2013 12:14:53 +0200 Subject: [PATCH] 00-livecd.sh: de-hardcode /dev/mapper/root, use ${REAL_ROOT} --- defaults/initrd.d/00-livecd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/initrd.d/00-livecd.sh b/defaults/initrd.d/00-livecd.sh index 60e9cf9..f483071 100755 --- a/defaults/initrd.d/00-livecd.sh +++ b/defaults/initrd.d/00-livecd.sh @@ -378,7 +378,7 @@ livecd_mount() { MOUNTTYPE="${LOOPTYPE}" ;; esac - mount -t "${MOUNTTYPE}" -o ro /dev/mapper/root \ + mount -t "${MOUNTTYPE}" -o ro "${REAL_ROOT}" \ "${NEW_ROOT}/mnt/livecd" test_success "Mount filesystem" FS_LOCATION="mnt/livecd"