From f5ee7f420e6ab0e1eee17e7ac2e59eb8c00545b4 Mon Sep 17 00:00:00 2001 From: mobinmob <39646700+mobinmob@users.noreply.github.com> Date: Fri, 17 Aug 2018 03:15:01 +0300 Subject: [PATCH] mklive.sh: Use overlayfs for live image writable overlay. --- mklive.sh.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mklive.sh.in b/mklive.sh.in index 5549dd6..8f2ec16 100644 --- a/mklive.sh.in +++ b/mklive.sh.in @@ -319,8 +319,9 @@ while getopts "a:b:r:c:C:T:Kk:l:i:I:s:S:o:p:h" opt; do esac done shift $((OPTIND - 1)) - XBPS_REPOSITORY="$XBPS_REPOSITORY --repository=http://alpha.de.repo.voidlinux.org/current --repository=http://alpha.de.repo.voidlinux.org/current/musl" +# Configure dracut to use overlayfs for the writable overlay. +BOOT_CMDLINE="$BOOT_CMDLINE rd.live.overlay.overlayfs=1 " ARCH=$(xbps-uhelper arch)