* [devel-distro] overlayfs support in mk-p
@ 2016-05-23 11:01 Konstantin Lepikhov
0 siblings, 0 replies; only message in thread
From: Konstantin Lepikhov @ 2016-05-23 11:01 UTC (permalink / raw)
To: devel-distro
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
Привет!
По просьбе mike@ пересылаю этот патч еще раз. Для работы еще требуется
патченный make-initrd-propagator отсюда
http://git.altlinux.org/people/lakostis/packages/?p=make-initrd-propagator.git;a=shortlog;h=refs/heads/overlayfs
--
WBR et al.
[-- Attachment #2: 0001-Experimental-overlayfs-support.patch --]
[-- Type: text/x-patch, Size: 1904 bytes --]
>From 718363fc110dcd2758ddfbe92912ba6c03896a25 Mon Sep 17 00:00:00 2001
From: "Konstantin A. Lepikhov" <lakostis@altlinux.ru>
Date: Fri, 11 Sep 2015 14:48:39 +0100
Subject: [PATCH] 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!
---
features.in/stage2/stage1/modules.d/10-stage2 | 1 +
features.in/stage2/stage1/scripts.d/03-test-kernel | 3 ++-
sub.in/stage1/modules | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/features.in/stage2/stage1/modules.d/10-stage2 b/features.in/stage2/stage1/modules.d/10-stage2
index 846482a..29ebd8b 100644
--- a/features.in/stage2/stage1/modules.d/10-stage2
+++ b/features.in/stage2/stage1/modules.d/10-stage2
@@ -34,6 +34,7 @@ atl2.ko
atp870u.ko
atp.ko
aufs.ko
+overlay.ko
axnet_cs.ko
b44.ko
bnx2.ko
diff --git a/features.in/stage2/stage1/scripts.d/03-test-kernel b/features.in/stage2/stage1/scripts.d/03-test-kernel
index e846dbb..9b21fbb 100755
--- a/features.in/stage2/stage1/scripts.d/03-test-kernel
+++ b/features.in/stage2/stage1/scripts.d/03-test-kernel
@@ -24,7 +24,8 @@ configured()
ls $CONFIGS >&/dev/null || fatal "no stage1 kernel config found in /boot"
# 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"
done
diff --git a/sub.in/stage1/modules b/sub.in/stage1/modules
index 629681a..f6f9e76 100644
--- a/sub.in/stage1/modules
+++ b/sub.in/stage1/modules
@@ -4,6 +4,7 @@ kernel/drivers/rtc
af_packet.ko
arc4.ko
aufs.ko
+overlay.ko
cdrom.ko
evdev.ko
ext4.ko
--
2.7.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-23 11:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-23 11:01 [devel-distro] overlayfs support in mk-p Konstantin Lepikhov
ALT Linux Distributions development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-distro devel-distro/ http://lore.altlinux.org/devel-distro \
devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
public-inbox-index devel-distro
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-distro
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git