From: Konstantin Lepikhov <lakostis@unsafe.ru> To: devel-distro@lists.altlinux.org Subject: [devel-distro] overlayfs support in mk-p Date: Mon, 23 May 2016 13:01:08 +0200 Message-ID: <20160523110108.GA14234@lks.home> (raw) [-- 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
reply other threads:[~2016-05-23 11:01 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20160523110108.GA14234@lks.home \ --to=lakostis@unsafe.ru \ --cc=devel-distro@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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