소스 검색

mklive.sh: Use overlayfs for live image writable overlay.

mobinmob 6 년 전
부모
커밋
f5ee7f420e
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      mklive.sh.in

+ 2 - 1
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)