Commit 9f72780d authored by Konstantin A. Lepikhov's avatar Konstantin A. Lepikhov Committed by Michael Shigorin

Experimental overlayfs support

If aufs not available/broken we could try to use overlayfs. NB: changes below doesn't work without modified make-initrd-propagator!
parent 388f2d79
...@@ -34,6 +34,7 @@ atl2.ko ...@@ -34,6 +34,7 @@ atl2.ko
atp870u.ko atp870u.ko
atp.ko atp.ko
aufs.ko aufs.ko
overlay.ko
axnet_cs.ko axnet_cs.ko
b44.ko b44.ko
bnx2.ko bnx2.ko
......
...@@ -24,7 +24,8 @@ configured() ...@@ -24,7 +24,8 @@ configured()
ls $CONFIGS >&/dev/null || fatal "no stage1 kernel config found in /boot" ls $CONFIGS >&/dev/null || fatal "no stage1 kernel config found in /boot"
# test for installer-required filesystems support # test for installer-required filesystems support
for opt in SQUASHFS AUFS_FS $GLOBAL_STAGE1_KCONFIG; do for opt in SQUASHFS AUFS_FS OVERLAY_FS $GLOBAL_STAGE1_KCONFIG; do
[ "$opt" = AUFS_FS ] && [ $(configured "OVERLAY_FS=[my]") -a $(configured "AUFS_FS=n") ] && continue
configured "$opt=[my]" || fatal "stage1 kernel must have $opt support" configured "$opt=[my]" || fatal "stage1 kernel must have $opt support"
done done
......
...@@ -4,6 +4,7 @@ kernel/drivers/rtc ...@@ -4,6 +4,7 @@ kernel/drivers/rtc
af_packet.ko af_packet.ko
arc4.ko arc4.ko
aufs.ko aufs.ko
overlay.ko
cdrom.ko cdrom.ko
evdev.ko evdev.ko
ext4.ko ext4.ko
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment