diff options
author | Jybz <j.biernacki@free.fr> | 2024-04-20 21:52:40 +0200 |
---|---|---|
committer | Jybz <j.biernacki@free.fr> | 2024-04-20 21:52:40 +0200 |
commit | b0c359beed79a405fd7a33b05334097247199a50 (patch) | |
tree | 377bdfe8d9a268caa8c686ae8568eed390051f25 /modules.d/90mgalive/mgalive-root.sh | |
parent | e60aeb60f161acf73a01bc1c21fcebcf04408b06 (diff) | |
download | mageia-dracut-conf-b0c359beed79a405fd7a33b05334097247199a50.tar mageia-dracut-conf-b0c359beed79a405fd7a33b05334097247199a50.tar.gz mageia-dracut-conf-b0c359beed79a405fd7a33b05334097247199a50.tar.bz2 mageia-dracut-conf-b0c359beed79a405fd7a33b05334097247199a50.tar.xz mageia-dracut-conf-b0c359beed79a405fd7a33b05334097247199a50.zip |
mgalive: set flag for draklive-install when persistence is enabled
- origin:
https://svnweb.mageia.org/packages/cauldron/dracut/current/SOURCES/0511-mgalive-A-module-to-mount-Mageia-Live-media.patch?r1=1329441&r2=1349671
Diffstat (limited to 'modules.d/90mgalive/mgalive-root.sh')
-rwxr-xr-x | modules.d/90mgalive/mgalive-root.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules.d/90mgalive/mgalive-root.sh b/modules.d/90mgalive/mgalive-root.sh index e0fd882..2150aec 100755 --- a/modules.d/90mgalive/mgalive-root.sh +++ b/modules.d/90mgalive/mgalive-root.sh @@ -92,6 +92,7 @@ if [ -z "$overlay" ] ; then mount -n -t tmpfs -o mode=755 none /live/overlay else mount -n -o noatime $overlay /live/overlay + echo 1 > /run/mgalive/persistent fi # work and memory must be on same root mkdir -m 0755 -p /live/overlay/work |