From patchwork Wed Nov 6 23:12:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 289061 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id BD43B2C00A9 for ; Thu, 7 Nov 2013 10:14:39 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 991C38D648; Wed, 6 Nov 2013 23:14:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SBkSDOA6RnWJ; Wed, 6 Nov 2013 23:14:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 27AC78D659; Wed, 6 Nov 2013 23:14:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id D6D7B1BF976 for ; Wed, 6 Nov 2013 23:14:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D13538D63F for ; Wed, 6 Nov 2013 23:14:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mm6+RwWOCog5 for ; Wed, 6 Nov 2013 23:14:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from viper.mind.be (132.79-246-81.adsl-static.isp.belgacom.be [81.246.79.132]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4281D8D5B0 for ; Wed, 6 Nov 2013 23:14:34 +0000 (UTC) Received: from [172.16.2.6] (helo=vandecaa-laptop) by viper.mind.be with esmtp (Exim 4.69) (envelope-from ) id 1VeCIQ-0001SP-S7; Thu, 07 Nov 2013 00:13:59 +0100 Received: from arnout by vandecaa-laptop with local (Exim 4.80) (envelope-from ) id 1VeCIx-0004Ln-Di; Thu, 07 Nov 2013 00:14:31 +0100 From: "Arnout Vandecappelle (Essensium/Mind)" To: buildroot@busybox.net Date: Thu, 7 Nov 2013 00:12:33 +0100 Message-Id: <1383779555-9222-6-git-send-email-arnout@mind.be> X-Mailer: git-send-email 1.8.4.rc3 In-Reply-To: <1383779555-9222-1-git-send-email-arnout@mind.be> References: <1383779555-9222-1-git-send-email-arnout@mind.be> Subject: [Buildroot] [PATCH 5/7] rootfs-ext2: symlink with the compressed rootfs X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Previously, a symlink was created to the uncompressed filesystem, which made it a bit useless in case compression was chosen. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- v2: - Initial revision. This patch was introduced to enable the U-Boot image of the cpio rootfs. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- fs/ext2/ext2.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext2/ext2.mk b/fs/ext2/ext2.mk index b4280aa..0af955f 100644 --- a/fs/ext2/ext2.mk +++ b/fs/ext2/ext2.mk @@ -28,7 +28,7 @@ define ROOTFS_EXT2_CMD endef rootfs-ext2-symlink: - ln -sf rootfs.ext2 $(BINARIES_DIR)/rootfs.ext$(BR2_TARGET_ROOTFS_EXT2_GEN) + ln -sf rootfs.ext2$(ROOTFS_EXT2_COMPRESS_EXT) $(BINARIES_DIR)/rootfs.ext$(BR2_TARGET_ROOTFS_EXT2_GEN)$(ROOTFS_EXT2_COMPRESS_EXT) ifneq ($(BR2_TARGET_ROOTFS_EXT2_GEN),2) ROOTFS_EXT2_POST_TARGETS += rootfs-ext2-symlink