00-livecd.sh: complete overlayfs support

master v63
Fabio Erculiani 10 years ago
parent d18ac2c7c5
commit 386a0ad5ab

@ -16,6 +16,13 @@ _is_overlayfs() {
return 1
}
_is_fallback_to_copy_required() {
if _is_aufs || _is_overlayfs; then
return 1
fi
return 0
}
_find_loop() {
local l=
for loop in ${LOOPS}; do
@ -436,8 +443,8 @@ livecd_mount() {
is_nfs && _livecd_mount_unpack_nfs
# Manually copy livecd content to tmpfs if aufs is disabled
_is_aufs || _livecd_mount_copy_content
# Manually copy livecd content to tmpfs if needed
_is_fallback_to_copy_required && _livecd_mount_copy_content
}
cd_update() {

@ -568,6 +568,9 @@ which the ramdisk scripts would recognize.
*aufs*::
Enables support for AUFS2 (if available in the kernel).
*overlayfs*::
Enables support for Overlay FS (if available in the kernel).
*rootflags*=<...>::
Additional flags to mount the real root system with.
For example *rootflags*=noatime would make "-o ro,noatime".

Loading…
Cancel
Save