From: Jonathan Liu <net147@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH v2] samba: remove /var/lock and /var/run from package
Date: Mon, 8 Jul 2013 15:37:30 +1000 [thread overview]
Message-ID: <1373261850-3744-1-git-send-email-net147@gmail.com> (raw)
The /var/lock and /var/run directories are already created by
base-files.
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
meta-oe/recipes-connectivity/samba/samba_3.6.8.bb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
index a27a28c..255c0b4 100644
--- a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
+++ b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
@@ -57,3 +57,9 @@ do_configure() {
do_compile () {
base_do_compile
}
+
+do_install_append() {
+ rmdir "${D}${localstatedir}/lock"
+ rmdir "${D}${localstatedir}/run"
+ rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
+}
--
1.8.3.2
next reply other threads:[~2013-07-08 5:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-08 5:37 Jonathan Liu [this message]
2013-07-08 5:53 ` [meta-oe][PATCH v2] samba: remove /var/lock and /var/run from package Khem Raj
2013-07-08 7:48 ` Jonathan Liu
2013-07-08 13:52 ` Khem Raj
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=1373261850-3744-1-git-send-email-net147@gmail.com \
--to=net147@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/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.