From ecca6a561826c8242c09dd4dfc71e54e769fe6e2 Mon Sep 17 00:00:00 2001 From: Jybz Date: Sat, 20 Apr 2024 22:40:04 +0200 Subject: Updated to add boot option to temporarily disable persistence (mga#27674). - origin: https://svnweb.mageia.org/packages/cauldron/dracut/current/SOURCES/0511-mgalive-A-module-to-mount-Mageia-Live-media.patch?r1=1649586&r2=1649975 - mgalive: add boot option to temporarily disable persistence (mga#27674). --- modules.d/90mgalive/mgalive-root.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules.d') diff --git a/modules.d/90mgalive/mgalive-root.sh b/modules.d/90mgalive/mgalive-root.sh index e5dd177..dd09be7 100755 --- a/modules.d/90mgalive/mgalive-root.sh +++ b/modules.d/90mgalive/mgalive-root.sh @@ -50,6 +50,8 @@ basedir=$(getarg mgalive.basedir) overlay=$(getarg mgalive.overlay) if [ -z "$overlay" ] ; then overlay=$(blkid -t LABEL=mgalive-persist -o device | grep $basedev'\|'/dev/mapper) +elif [ "$overlay" = "ram" ] ; then + overlay= else overlay=$livedev$overlay fi -- cgit v1.2.1