Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Norbert Lange <nolange79@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package/dbus: remove /usr/lib/dbus-1.0 if empty
Date: Sat,  6 Jun 2020 00:52:46 +0200	[thread overview]
Message-ID: <20200605225247.13350-2-nolange79@gmail.com> (raw)
In-Reply-To: <20200605225247.13350-1-nolange79@gmail.com>

---
 package/dbus/dbus.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index bb9f17a5e0..7a7762f537 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -80,7 +80,8 @@ endef
 DBUS_PRE_INSTALL_TARGET_HOOKS += DBUS_REMOVE_VAR_LIB_DBUS
 
 define DBUS_REMOVE_DEVFILES
-	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
+	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0/include
+	-rmdir $(TARGET_DIR)/usr/lib/dbus-1.0 2>/dev/null
 endef
 
 DBUS_POST_INSTALL_TARGET_HOOKS += DBUS_REMOVE_DEVFILES
-- 
2.26.2

  reply	other threads:[~2020-06-05 22:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-05 22:52 [Buildroot] [PATCH 1/2] package/dbus: fix group and mode for the launcher Norbert Lange
2020-06-05 22:52 ` Norbert Lange [this message]
2020-06-06 20:38   ` [Buildroot] [PATCH 2/2] package/dbus: remove /usr/lib/dbus-1.0 if empty Thomas Petazzoni
2020-06-06 22:36     ` Norbert Lange
2020-06-07  8:45       ` Thomas Petazzoni
2020-06-07 20:57         ` Norbert Lange
2020-06-06 20:35 ` [Buildroot] [PATCH 1/2] package/dbus: fix group and mode for the launcher Thomas Petazzoni
2020-07-12 20:22 ` Peter Korsgaard

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=20200605225247.13350-2-nolange79@gmail.com \
    --to=nolange79@gmail.com \
    --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