All of lore.kernel.org
 help / color / mirror / Atom feed
From: sjhill at uclibc.org <sjhill@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/target: cloop ext2
Date: Sat, 16 Jun 2007 10:55:32 -0700 (PDT)	[thread overview]
Message-ID: <20070616175532.AC94A485EB@busybox.net> (raw)

Author: sjhill
Date: 2007-06-16 10:55:32 -0700 (Sat, 16 Jun 2007)
New Revision: 18834

Log:
Get rid of extra directory entries.


Modified:
   trunk/buildroot/target/cloop/cloop.mk
   trunk/buildroot/target/ext2/ext2root.mk


Changeset:
Modified: trunk/buildroot/target/cloop/cloop.mk
===================================================================
--- trunk/buildroot/target/cloop/cloop.mk	2007-06-16 17:55:05 UTC (rev 18833)
+++ trunk/buildroot/target/cloop/cloop.mk	2007-06-16 17:55:32 UTC (rev 18834)
@@ -77,6 +77,7 @@
 	@rm -rf $(TARGET_DIR)/usr/man
 	@rm -rf $(TARGET_DIR)/usr/share/man
 	@rm -rf $(TARGET_DIR)/usr/info
+	@rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
 	### $(CLOOP_DIR)/create_compressed_fs -q -D target/default/device_table.txt $(TARGET_DIR) $(IMAGE).cloop
 	## mkisofs -r $(TARGET_DIR) | $(CLOOP_DIR)/create_compressed_fs - 65536 > $(IMAGE).cloop
 	sudo /sbin/losetup -d /dev/loop1

Modified: trunk/buildroot/target/ext2/ext2root.mk
===================================================================
--- trunk/buildroot/target/ext2/ext2root.mk	2007-06-16 17:55:05 UTC (rev 18833)
+++ trunk/buildroot/target/ext2/ext2root.mk	2007-06-16 17:55:32 UTC (rev 18834)
@@ -91,6 +91,7 @@
 	@rm -rf $(TARGET_DIR)/usr/man
 	@rm -rf $(TARGET_DIR)/usr/share/man
 	@rm -rf $(TARGET_DIR)/usr/info
+	@rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
 	-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
 	# Use fakeroot to pretend all target binaries are owned by root
 	rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))

             reply	other threads:[~2007-06-16 17:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-16 17:55 sjhill at uclibc.org [this message]
2007-06-17  5:11 ` [Buildroot] svn commit: trunk/buildroot/target: cloop ext2 Heikki Lindholm

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=20070616175532.AC94A485EB@busybox.net \
    --to=sjhill@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.