diff options
author | Jybz <j.biernacki@free.fr> | 2024-04-20 22:40:04 +0200 |
---|---|---|
committer | Jybz <j.biernacki@free.fr> | 2024-04-20 22:40:04 +0200 |
commit | ecca6a561826c8242c09dd4dfc71e54e769fe6e2 (patch) | |
tree | 41e0d9e943ba7ecd64c47fd1c421c104fe1fabd3 /modules.d | |
parent | 39c4645c4ba9c0b98dd3c5e4eedd9445b38414b6 (diff) | |
download | mageia-dracut-conf-ecca6a561826c8242c09dd4dfc71e54e769fe6e2.tar mageia-dracut-conf-ecca6a561826c8242c09dd4dfc71e54e769fe6e2.tar.gz mageia-dracut-conf-ecca6a561826c8242c09dd4dfc71e54e769fe6e2.tar.bz2 mageia-dracut-conf-ecca6a561826c8242c09dd4dfc71e54e769fe6e2.tar.xz mageia-dracut-conf-ecca6a561826c8242c09dd4dfc71e54e769fe6e2.zip |
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).
Diffstat (limited to 'modules.d')
-rwxr-xr-x | modules.d/90mgalive/mgalive-root.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |