From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/e2fsprogs
Date: Tue, 15 May 2007 05:50:05 -0700 (PDT) [thread overview]
Message-ID: <20070515125005.8AECA4808C@busybox.net> (raw)
Author: aldot
Date: 2007-05-15 05:50:04 -0700 (Tue, 15 May 2007)
New Revision: 18629
Log:
- repvik writes: e2fsprogs install several duplicate binaries that act slightly differently depending on what name they're called as. They can safely be removed and replaced with symlinks. This saves 480kb space.
Closes #1341
Modified:
trunk/buildroot/package/e2fsprogs/e2fsprogs.mk
Changeset:
Modified: trunk/buildroot/package/e2fsprogs/e2fsprogs.mk
===================================================================
--- trunk/buildroot/package/e2fsprogs/e2fsprogs.mk 2007-05-15 12:05:06 UTC (rev 18628)
+++ trunk/buildroot/package/e2fsprogs/e2fsprogs.mk 2007-05-15 12:50:04 UTC (rev 18629)
@@ -24,7 +24,7 @@
$(E2FSPROGS_CAT) $(DL_DIR)/$(E2FSPROGS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(E2FSPROGS_DIR) package/e2fsprogs/ e2fsprogs\*.patch
$(CONFIG_UPDATE) $(E2FSPROGS_DIR)/config
- touch $(E2FSPROGS_DIR)/.unpacked
+ touch $@
$(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked
(cd $(E2FSPROGS_DIR); rm -rf config.cache; \
@@ -55,7 +55,7 @@
--without-catgets $(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
);
- touch $(E2FSPROGS_DIR)/.configured
+ touch $@
$(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY): $(E2FSPROGS_DIR)/.configured
$(MAKE1) PATH=$(TARGET_PATH) -C $(E2FSPROGS_DIR)
@@ -68,6 +68,14 @@
$(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY): $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(TARGET_DIR) -C $(E2FSPROGS_DIR) install
+ rm -rf ${TARGET_DIR}/sbin/mkfs.ext[23] ${TARGET_DIR}/sbin/fsck.ext[23] \
+ ${TARGET_DIR}/sbin/findfs ${TARGET_DIR}/sbin/tune2fs
+ ln -sf mke2fs ${TARGET_DIR}/sbin/mkfs.ext2
+ ln -sf mke2fs ${TARGET_DIR}/sbin/mkfs.ext3
+ ln -sf e2fsck ${TARGET_DIR}/sbin/fsck.ext2
+ ln -sf e2fsck ${TARGET_DIR}/sbin/fsck.ext3
+ ln -sf e2label ${TARGET_DIR}/sbin/tune2fs
+ ln -sf e2label ${TARGET_DIR}/sbin/findfs
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
touch -c $(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY)
next reply other threads:[~2007-05-15 12:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-15 12:50 aldot at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-01 17:50 [Buildroot] svn commit: trunk/buildroot/package/e2fsprogs nkukard at uclibc.org
2008-02-24 23:02 hamish at uclibc.org
2008-02-25 8:33 ` Thomas Lundquist
2008-02-25 12:43 ` Hamish Moffatt
2007-12-13 12:38 vanokuten at uclibc.org
2007-08-22 15:18 aldot at uclibc.org
2006-11-22 19:18 aldot at uclibc.org
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=20070515125005.8AECA4808C@busybox.net \
--to=aldot@uclibc.org \
--cc=buildroot@busybox.net \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox