From: "Alex Kiernan" <alex.kiernan@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alex Kiernan <alex.kiernan@gmail.com>
Subject: [OE-Core][RFC PATCH v3 07/13] systemd: Remove X11 related files when disabled
Date: Fri, 27 Mar 2020 17:25:14 +0000 [thread overview]
Message-ID: <20200327172520.62888-8-alex.kiernan@gmail.com> (raw)
In-Reply-To: <20200327172520.62888-1-alex.kiernan@gmail.com>
When X11 isn't in DISTRO_FEATURES, remove X11 related files.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v3: None
Changes in v2: None
meta/recipes-core/systemd/systemd_244.3.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-core/systemd/systemd_244.3.bb b/meta/recipes-core/systemd/systemd_244.3.bb
index 65deede20042..a0d65237bc7d 100644
--- a/meta/recipes-core/systemd/systemd_244.3.bb
+++ b/meta/recipes-core/systemd/systemd_244.3.bb
@@ -275,6 +275,10 @@ do_install() {
sed -i -e "s%^L! /etc/resolv.conf.*$%L! /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf%g" ${D}${exec_prefix}/lib/tmpfiles.d/etc.conf
ln -s ../run/systemd/resolve/resolv.conf ${D}${sysconfdir}/resolv-conf.systemd
fi
+ if ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'false', 'true', d)}; then
+ rm ${D}${exec_prefix}/lib/tmpfiles.d/x11.conf
+ rm -r ${D}${sysconfdir}/X11
+ fi
# If polkit is setup fixup permissions and ownership
if ${@bb.utils.contains('PACKAGECONFIG', 'polkit', 'true', 'false', d)}; then
--
2.17.1
next prev parent reply other threads:[~2020-03-27 17:25 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-27 17:25 [OE-Core][RFC PATCH v3 00/13] Systemd 245 and related updates Alex Kiernan
2020-03-27 17:25 ` [OE-Core][RFC PATCH v3 01/13] systemd: Use PACKAGE_BEFORE_PN, not =+ Alex Kiernan
2020-03-27 17:25 ` [OE-Core][RFC PATCH v3 02/13] systemd: Package udev rules explicitly Alex Kiernan
2020-08-19 11:25 ` Stefan Agner
2020-03-27 17:25 ` [OE-Core][RFC PATCH v3 03/13] systemd: Replace nonarch_base_libdir with rootlibexecdir Alex Kiernan
2020-03-27 17:25 ` [OE-Core][RFC PATCH v3 04/13] systemd: Reinstate systemd-hwdb-update.service Alex Kiernan
2020-03-27 17:25 ` [OE-Core][RFC PATCH v3 05/13] systemd: Add sch-fq-codel to RRECOMMENDS Alex Kiernan
2020-03-27 17:25 ` [OE-Core][RFC PATCH v3 06/13] systemd: Add PACKAGECONFIG for sysvinit Alex Kiernan
2020-03-28 17:17 ` Otavio Salvador
2020-03-29 9:11 ` Alex Kiernan
2020-03-31 12:28 ` Alex Kiernan
[not found] ` <160163452C4DFA3B.16021@lists.openembedded.org>
2020-03-31 19:45 ` Alex Kiernan
2020-03-31 22:14 ` Otavio Salvador
2020-03-27 17:25 ` Alex Kiernan [this message]
2020-03-27 17:25 ` [OE-Core][RFC PATCH v3 08/13] systemd: Enable smack based on DISTRO_FEATURES Alex Kiernan
2020-03-27 17:25 ` [OE-Core][RFC PATCH v3 09/13] systemd: Enable audit " Alex Kiernan
2020-03-27 17:25 ` [OE-Core][RFC PATCH v3 10/13] systemd: Enable acl " Alex Kiernan
2020-03-27 17:25 ` [OE-Core][RFC PATCH v3 11/13] psplash: Set RemainAfterExit on systemd units Alex Kiernan
2020-03-27 17:25 ` [OE-Core][RFC PATCH v3 12/13] oeqa/runtime/cases: Disable and stop systemd-timesyncd Alex Kiernan
2020-03-27 17:25 ` [OE-Core][RFC PATCH v3 13/13] systemd: upgrade v244.3 -> v245.3 Alex Kiernan
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=20200327172520.62888-8-alex.kiernan@gmail.com \
--to=alex.kiernan@gmail.com \
--cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox