From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Date: Mon, 23 May 2016 13:01:08 +0200 From: Konstantin Lepikhov To: devel-distro@lists.altlinux.org Message-ID: <20160523110108.GA14234@lks.home> Mail-Followup-To: devel-distro@lists.altlinux.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operation-System: ALT Linux starter kit (Trientalis) 4.6.0-lks-wks-alt0.1 User-Agent: Mutt/1.6 (2015-08-30) Subject: [devel-distro] overlayfs support in mk-p X-BeenThere: devel-distro@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Distributions development List-Id: Distributions development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2016 11:01:13 -0000 Archived-At: List-Archive: --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Привет! По просьбе 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. --x+6KMIRAuhnl3hBn Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="0001-Experimental-overlayfs-support.patch" >>From 718363fc110dcd2758ddfbe92912ba6c03896a25 Mon Sep 17 00:00:00 2001 From: "Konstantin A. Lepikhov" 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 --x+6KMIRAuhnl3hBn--