Skip to content

General cleanage of systemd unitdir vars

Pau Espin Pedrol openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest42 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/42rootfs-postcommands: Fix usage of systemd unitdir varsmeta/classes/rootfs-postcommands.bbclass+2 -20 replies
2/42acpid: Fix usage of systemd unitdir varsmeta/recipes-bsp/acpid/acpid.inc+3 -30 replies
3/42apmd: Fix usage of systemd unitdir varsmeta/recipes-bsp/apmd/apmd_3.2.2-15.bb+3 -30 replies
4/42avahi: Fix usage of systemd unitdir varsmeta/recipes-connectivity/avahi/avahi.inc+1 -10 replies
5/42bind: Fix usage of systemd unitdir varsmeta/recipes-connectivity/bind/bind_9.10.3-P3.bb+3 -30 replies
6/42connman: Fix usage of systemd unitdir varsmeta/recipes-connectivity/connman/connman.inc+3 -30 replies
7/42dhcp: Fix usage of systemd unitdir varsmeta/recipes-connectivity/dhcp/dhcp.inc+8 -80 replies
8/42neard: Fix usage of systemd unitdir varsmeta/recipes-connectivity/neard/neard_0.15.bb+1 -10 replies
9/42nfs-utils: Fix usage of systemd unitdir varsmeta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb+10 -100 replies
10/42openssh: Fix usage of systemd unitdir varsmeta/recipes-connectivity/openssh/openssh_7.1p2.bb+6 -60 replies
11/42portmap: Fix usage of systemd unitdir varsmeta/recipes-connectivity/portmap/portmap_6.0.bb+3 -30 replies
12/42ppp: Fix usage of systemd unitdir varsmeta/recipes-connectivity/ppp/ppp_2.4.7.bb+4 -40 replies
13/42wpa-supplicant: Fix usage of systemd unitdir varsmeta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.5.bb+2 -20 replies
14/42busybox: Fix usage of systemd unitdir varsmeta/recipes-core/busybox/busybox.inc+6 -60 replies
15/42dropbear: Fix usage of systemd unitdir varsmeta/recipes-core/dropbear/dropbear.inc+5 -50 replies
16/42glibc-package: Fix usage of systemd unitdir varsmeta/recipes-core/glibc/glibc-package.inc+3 -30 replies
17/42systemd-compat-units: Fix usage of systemd unitdir varsmeta/recipes-core/systemd/systemd-compat-units.bb+1 -10 replies
18/42systemd-serialgetty: Fix usage of systemd unitdir varsmeta/recipes-core/systemd/systemd-serialgetty.bb+8 -80 replies
19/42systemd: Fix usage of systemd unitdir varsmeta/recipes-core/systemd/systemd_229.bb+34 -340 replies
20/42util-linux: Fix usage of systemd unitdir varsmeta/recipes-core/util-linux/util-linux.inc+1 -10 replies
21/42volatile-binds: Fix usage of systemd unitdir varsmeta/recipes-core/volatile-binds/volatile-binds.bb+3 -30 replies
22/42distcc: Fix usage of systemd unitdir varsmeta/recipes-devtools/distcc/distcc_3.1.bb+4 -40 replies
23/42run-postints: Fix usage of systemd unitdir varsmeta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb+3 -30 replies
24/42tcf-agent: Fix usage of systemd unitdir varsmeta/recipes-devtools/tcf-agent/tcf-agent_git.bb+3 -30 replies
25/42at: Fix usage of systemd unitdir varsmeta/recipes-extended/at/at_3.1.18.bb+3 -30 replies
26/42cronie: Fix usage of systemd unitdir varsmeta/recipes-extended/cronie/cronie_1.5.0.bb+3 -30 replies
27/42lighttpd: Fix usage of systemd unitdir varsmeta/recipes-extended/lighttpd/lighttpd_1.4.39.bb+3 -30 replies
28/42rpcbind: Fix usage of systemd unitdir varsmeta/recipes-extended/rpcbind/rpcbind_0.2.3.bb+5 -50 replies
29/42sysstat: Fix usage of systemd unitdir varsmeta/recipes-extended/sysstat/sysstat.inc+3 -30 replies
30/42xinetd: Fix usage of systemd unitdir varsmeta/recipes-extended/xinetd/xinetd_2.3.15.bb+3 -30 replies
31/42xserver-nodm-init: Fix usage of systemd unitdir varsmeta/recipes-graphics/x11-common/xserver-nodm-init.bb+4 -40 replies
32/42oprofileui-server: Fix usage of systemd unitdir varsmeta/recipes-kernel/oprofile/oprofileui-server_git.bb+3 -30 replies
33/42consolekit: Fix usage of systemd unitdir varsmeta/recipes-support/consolekit/consolekit_0.4.6.bb+2 -20 replies
34/42alsa-utils: Fix usage of systemd unitdir varsmeta/recipes-multimedia/alsa/alsa-utils_1.1.0.bb+1 -10 replies
35/42ofono: Fix usage of systemd unitdir varsmeta/recipes-connectivity/ofono/ofono.inc+2 -20 replies
36/42bluez5: Fix usage of systemd unitdir varsmeta/recipes-connectivity/bluez5/bluez5.inc+2 -20 replies
37/42avahi-ui: Fix usage of systemd unitdir varsmeta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb+3 -50 replies
38/42opkg: Fix usage of systemd unitdir varsmeta/recipes-devtools/opkg/opkg_0.3.1.bb+4 -50 replies
39/42dpkg: Fix usage of systemd unitdir varsmeta/recipes-devtools/dpkg/dpkg.inc+3 -40 replies
40/42systemd.bbclass: Remove user services too if systemd is not enabledmeta/classes/systemd.bbclass+13 -60 replies
41/42systemd: Remove usage of systemd_unitdirmeta/recipes-core/systemd/systemd_229.bb+2 -20 replies
42/42bitbake.conf: Mark systemd_unitdir as deprecated to avoid future usemeta/conf/bitbake.conf+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/42] General cleanage of systemd unitdir vars

* These series of patches aim at improving the usage of some systemd related variables in several recipes from oe-core. Main aim is to change those recipes to use 'systemd_system_unitdir' instead of the old 'systemd_unitdir/system' variable, which will be marked as deprecated instead of being removed as is may still be used in other oe layers. To mark it as deprecated, a comment is added in bitbake.conf, but better ideas regarding this are welcome.

* Few recipes have also been changed to use the 'systemd_user_unitdir' variable for their systemd user services.

The following changes since commit 4be0e15f74cff85edca9de55248939fb438f30ae:

oeqa/selftest/recipetool: Fix test_recipetool_create_simple (2016-03-13 18:15:41 +0000)

are available in the git repository at:

git://github.com/pespin/openembedded-core systemd-var-fixes
https://github.com/pespin/openembedded-core/tree/systemd-var-fixes

Pau Espin Pedrol (42):
rootfs-postcommands: Fix usage of systemd unitdir vars
acpid: Fix usage of systemd unitdir vars
apmd: Fix usage of systemd unitdir vars
avahi: Fix usage of systemd unitdir vars
bind: Fix usage of systemd unitdir vars
connman: Fix usage of systemd unitdir vars
dhcp: Fix usage of systemd unitdir vars
neard: Fix usage of systemd unitdir vars
nfs-utils: Fix usage of systemd unitdir vars
openssh: Fix usage of systemd unitdir vars
portmap: Fix usage of systemd unitdir vars
ppp: Fix usage of systemd unitdir vars
wpa-supplicant: Fix usage of systemd unitdir vars
busybox: Fix usage of systemd unitdir vars
dropbear: Fix usage of systemd unitdir vars
glibc-package: Fix usage of systemd unitdir vars
systemd-compat-units: Fix usage of systemd unitdir vars
systemd-serialgetty: Fix usage of systemd unitdir vars
systemd: Fix usage of systemd unitdir vars
util-linux: Fix usage of systemd unitdir vars
volatile-binds: Fix usage of systemd unitdir vars
distcc: Fix usage of systemd unitdir vars
run-postints: Fix usage of systemd unitdir vars
tcf-agent: Fix usage of systemd unitdir vars
at: Fix usage of systemd unitdir vars
cronie: Fix usage of systemd unitdir vars
lighttpd: Fix usage of systemd unitdir vars
rpcbind: Fix usage of systemd unitdir vars
sysstat: Fix usage of systemd unitdir vars
xinetd: Fix usage of systemd unitdir vars
xserver-nodm-init: Fix usage of systemd unitdir vars
oprofileui-server: Fix usage of systemd unitdir vars
consolekit: Fix usage of systemd unitdir vars
alsa-utils: Fix usage of systemd unitdir vars
ofono: Fix usage of systemd unitdir vars
bluez5: Fix usage of systemd unitdir vars
avahi-ui: Fix usage of systemd unitdir vars
opkg: Fix usage of systemd unitdir vars
dpkg: Fix usage of systemd unitdir vars
systemd.bbclass: Remove user services too if systemd is not enabled
systemd: Remove usage of systemd_unitdir
bitbake.conf: Mark systemd_unitdir as deprecated to avoid future use

 meta/classes/rootfs-postcommands.bbclass           |  4 +-
 meta/classes/systemd.bbclass                       | 19 ++++--
 meta/conf/bitbake.conf                             |  3 +
 meta/recipes-bsp/acpid/acpid.inc                   |  6 +-
 meta/recipes-bsp/apmd/apmd_3.2.2-15.bb             |  6 +-
 meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb |  8 +--
 meta/recipes-connectivity/avahi/avahi.inc          |  2 +-
 meta/recipes-connectivity/bind/bind_9.10.3-P3.bb   |  6 +-
 meta/recipes-connectivity/bluez5/bluez5.inc        |  4 +-
 meta/recipes-connectivity/connman/connman.inc      |  6 +-
 meta/recipes-connectivity/dhcp/dhcp.inc            | 16 ++---
 meta/recipes-connectivity/neard/neard_0.15.bb      |  2 +-
 .../nfs-utils/nfs-utils_1.3.3.bb                   | 20 +++---
 meta/recipes-connectivity/ofono/ofono.inc          |  4 +-
 meta/recipes-connectivity/openssh/openssh_7.1p2.bb | 12 ++--
 meta/recipes-connectivity/portmap/portmap_6.0.bb   |  6 +-
 meta/recipes-connectivity/ppp/ppp_2.4.7.bb         |  8 +--
 .../wpa-supplicant/wpa-supplicant_2.5.bb           |  4 +-
 meta/recipes-core/busybox/busybox.inc              | 12 ++--
 meta/recipes-core/dropbear/dropbear.inc            | 10 +--
 meta/recipes-core/glibc/glibc-package.inc          |  6 +-
 meta/recipes-core/systemd/systemd-compat-units.bb  |  2 +-
 meta/recipes-core/systemd/systemd-serialgetty.bb   | 16 ++---
 meta/recipes-core/systemd/systemd_229.bb           | 72 +++++++++++-----------
 meta/recipes-core/util-linux/util-linux.inc        |  2 +-
 meta/recipes-core/volatile-binds/volatile-binds.bb |  6 +-
 meta/recipes-devtools/distcc/distcc_3.1.bb         |  8 +--
 meta/recipes-devtools/dpkg/dpkg.inc                |  7 +--
 meta/recipes-devtools/opkg/opkg_0.3.1.bb           |  9 ++-
 .../run-postinsts/run-postinsts_1.0.bb             |  6 +-
 meta/recipes-devtools/tcf-agent/tcf-agent_git.bb   |  6 +-
 meta/recipes-extended/at/at_3.1.18.bb              |  6 +-
 meta/recipes-extended/cronie/cronie_1.5.0.bb       |  6 +-
 meta/recipes-extended/lighttpd/lighttpd_1.4.39.bb  |  6 +-
 meta/recipes-extended/rpcbind/rpcbind_0.2.3.bb     | 10 +--
 meta/recipes-extended/sysstat/sysstat.inc          |  6 +-
 meta/recipes-extended/xinetd/xinetd_2.3.15.bb      |  6 +-
 .../x11-common/xserver-nodm-init.bb                |  8 +--
 .../oprofile/oprofileui-server_git.bb              |  6 +-
 meta/recipes-multimedia/alsa/alsa-utils_1.1.0.bb   |  2 +-
 .../recipes-support/consolekit/consolekit_0.4.6.bb |  4 +-
 41 files changed, 182 insertions(+), 176 deletions(-)

--
2.7.1