diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2021-08-26 05:42:06 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-07 21:54:11 +0100 |
commit | abeb2e95c6e5b286283dfe7198d5a222f7139458 (patch) | |
tree | 1a1f5526ee2b663abf27252c02bb33573f6205dc /meta/recipes-extended | |
parent | 3a702623573a973ff9b4d3d5f934ef55497de167 (diff) | |
download | poky-abeb2e95c6e5b286283dfe7198d5a222f7139458.tar.gz |
systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}'
Repo-wide replacement to use newer variable to represent systemd
system unitdir directory.
(From OE-Core rev: 5ace3ada5c54500c71becc8e0c6eddeb8bc053e3)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/at/at_3.2.2.bb | 6 | ||||
-rw-r--r-- | meta/recipes-extended/cronie/cronie_1.5.7.bb | 6 | ||||
-rw-r--r-- | meta/recipes-extended/iputils/iputils_20210722.bb | 4 | ||||
-rw-r--r-- | meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb | 6 | ||||
-rw-r--r-- | meta/recipes-extended/man-db/man-db_2.9.4.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/mdadm/mdadm_4.1.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/sysstat/sysstat.inc | 6 | ||||
-rw-r--r-- | meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb | 6 |
9 files changed, 20 insertions, 20 deletions
diff --git a/meta/recipes-extended/at/at_3.2.2.bb b/meta/recipes-extended/at/at_3.2.2.bb index efe569479b..14b9dace2a 100644 --- a/meta/recipes-extended/at/at_3.2.2.bb +++ b/meta/recipes-extended/at/at_3.2.2.bb | |||
@@ -65,9 +65,9 @@ do_install () { | |||
65 | install -m 0755 ${WORKDIR}/atd.init ${D}${sysconfdir}/init.d/atd | 65 | install -m 0755 ${WORKDIR}/atd.init ${D}${sysconfdir}/init.d/atd |
66 | 66 | ||
67 | # install systemd unit files | 67 | # install systemd unit files |
68 | install -d ${D}${systemd_unitdir}/system | 68 | install -d ${D}${systemd_system_unitdir} |
69 | install -m 0644 ${WORKDIR}/atd.service ${D}${systemd_unitdir}/system | 69 | install -m 0644 ${WORKDIR}/atd.service ${D}${systemd_system_unitdir} |
70 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/atd.service | 70 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/atd.service |
71 | 71 | ||
72 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then | 72 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then |
73 | install -D -m 0644 ${WORKDIR}/${BP}/pam.conf ${D}${sysconfdir}/pam.d/atd | 73 | install -D -m 0644 ${WORKDIR}/${BP}/pam.conf ${D}${sysconfdir}/pam.d/atd |
diff --git a/meta/recipes-extended/cronie/cronie_1.5.7.bb b/meta/recipes-extended/cronie/cronie_1.5.7.bb index 2cbae591b0..72a45089fd 100644 --- a/meta/recipes-extended/cronie/cronie_1.5.7.bb +++ b/meta/recipes-extended/cronie/cronie_1.5.7.bb | |||
@@ -50,11 +50,11 @@ do_install:append () { | |||
50 | install -m 0755 ${WORKDIR}/crond.init ${D}${sysconfdir}/init.d/crond | 50 | install -m 0755 ${WORKDIR}/crond.init ${D}${sysconfdir}/init.d/crond |
51 | 51 | ||
52 | # install systemd unit files | 52 | # install systemd unit files |
53 | install -d ${D}${systemd_unitdir}/system | 53 | install -d ${D}${systemd_system_unitdir} |
54 | install -m 0644 ${WORKDIR}/crond.service ${D}${systemd_unitdir}/system | 54 | install -m 0644 ${WORKDIR}/crond.service ${D}${systemd_system_unitdir} |
55 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ | 55 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ |
56 | -e 's,@SBINDIR@,${sbindir},g' \ | 56 | -e 's,@SBINDIR@,${sbindir},g' \ |
57 | ${D}${systemd_unitdir}/system/crond.service | 57 | ${D}${systemd_system_unitdir}/crond.service |
58 | 58 | ||
59 | # below are necessary for a complete cron environment | 59 | # below are necessary for a complete cron environment |
60 | install -d ${D}${localstatedir}/spool/cron | 60 | install -d ${D}${localstatedir}/spool/cron |
diff --git a/meta/recipes-extended/iputils/iputils_20210722.bb b/meta/recipes-extended/iputils/iputils_20210722.bb index cafb0f634e..a9821e556f 100644 --- a/meta/recipes-extended/iputils/iputils_20210722.bb +++ b/meta/recipes-extended/iputils/iputils_20210722.bb | |||
@@ -32,7 +32,7 @@ PACKAGECONFIG[libidn] = "-DUSE_IDN=true, -DUSE_IDN=false, libidn2" | |||
32 | PACKAGECONFIG[gettext] = "-DUSE_GETTEXT=true, -DUSE_GETTEXT=false, gettext" | 32 | PACKAGECONFIG[gettext] = "-DUSE_GETTEXT=true, -DUSE_GETTEXT=false, gettext" |
33 | PACKAGECONFIG[ninfod] = "-DBUILD_NINFOD=true,-DBUILD_NINFOD=false," | 33 | PACKAGECONFIG[ninfod] = "-DBUILD_NINFOD=true,-DBUILD_NINFOD=false," |
34 | PACKAGECONFIG[rarpd] = "-DBUILD_RARPD=true,-DBUILD_RARPD=false," | 34 | PACKAGECONFIG[rarpd] = "-DBUILD_RARPD=true,-DBUILD_RARPD=false," |
35 | PACKAGECONFIG[systemd] = "-Dsystemdunitdir=${systemd_unitdir}/system,,systemd" | 35 | PACKAGECONFIG[systemd] = "-Dsystemdunitdir=${systemd_system_unitdir},,systemd" |
36 | PACKAGECONFIG[tftpd] = "-DBUILD_TFTPD=true, -DBUILD_TFTPD=false," | 36 | PACKAGECONFIG[tftpd] = "-DBUILD_TFTPD=true, -DBUILD_TFTPD=false," |
37 | PACKAGECONFIG[traceroute6] = "-DBUILD_TRACEROUTE6=true,-DBUILD_TRACEROUTE6=false," | 37 | PACKAGECONFIG[traceroute6] = "-DBUILD_TRACEROUTE6=true,-DBUILD_TRACEROUTE6=false," |
38 | PACKAGECONFIG[docs] = "-DBUILD_HTML_MANS=true -DBUILD_MANS=true,-DBUILD_HTML_MANS=false -DBUILD_MANS=false, libxslt" | 38 | PACKAGECONFIG[docs] = "-DBUILD_HTML_MANS=true -DBUILD_MANS=true,-DBUILD_HTML_MANS=false -DBUILD_MANS=false, libxslt" |
@@ -62,7 +62,7 @@ FILES:${PN}-tracepath = "${base_bindir}/tracepath" | |||
62 | FILES:${PN}-traceroute6 = "${base_bindir}/traceroute6" | 62 | FILES:${PN}-traceroute6 = "${base_bindir}/traceroute6" |
63 | FILES:${PN}-clockdiff = "${base_bindir}/clockdiff" | 63 | FILES:${PN}-clockdiff = "${base_bindir}/clockdiff" |
64 | FILES:${PN}-tftpd = "${base_bindir}/tftpd ${sysconfdir}/xinetd.d/tftp" | 64 | FILES:${PN}-tftpd = "${base_bindir}/tftpd ${sysconfdir}/xinetd.d/tftp" |
65 | FILES:${PN}-rarpd = "${base_sbindir}/rarpd ${systemd_unitdir}/system/rarpd@.service" | 65 | FILES:${PN}-rarpd = "${base_sbindir}/rarpd ${systemd_system_unitdir}/rarpd@.service" |
66 | FILES:${PN}-rdisc = "${base_sbindir}/rdisc" | 66 | FILES:${PN}-rdisc = "${base_sbindir}/rdisc" |
67 | FILES:${PN}-ninfod = "${base_sbindir}/ninfod ${sysconfdir}/init.d/ninfod.sh" | 67 | FILES:${PN}-ninfod = "${base_sbindir}/ninfod ${sysconfdir}/init.d/ninfod.sh" |
68 | 68 | ||
diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb index f74016f834..8cb3a9a18c 100644 --- a/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb +++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb | |||
@@ -58,12 +58,12 @@ do_install:append() { | |||
58 | install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}/lighttpd | 58 | install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}/lighttpd |
59 | install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html | 59 | install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html |
60 | 60 | ||
61 | install -d ${D}${systemd_unitdir}/system | 61 | install -d ${D}${systemd_system_unitdir} |
62 | install -m 0644 ${S}/doc/systemd/lighttpd.service ${D}${systemd_unitdir}/system | 62 | install -m 0644 ${S}/doc/systemd/lighttpd.service ${D}${systemd_system_unitdir} |
63 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ | 63 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ |
64 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ | 64 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ |
65 | -e 's,@BASE_BINDIR@,${base_bindir},g' \ | 65 | -e 's,@BASE_BINDIR@,${base_bindir},g' \ |
66 | ${D}${systemd_unitdir}/system/lighttpd.service | 66 | ${D}${systemd_system_unitdir}/lighttpd.service |
67 | #For FHS compliance, create symbolic links to /var/log and /var/tmp for logs and temporary data | 67 | #For FHS compliance, create symbolic links to /var/log and /var/tmp for logs and temporary data |
68 | ln -sf ${localstatedir}/log ${D}/www/logs | 68 | ln -sf ${localstatedir}/log ${D}/www/logs |
69 | ln -sf ${localstatedir}/tmp ${D}/www/var | 69 | ln -sf ${localstatedir}/tmp ${D}/www/var |
diff --git a/meta/recipes-extended/man-db/man-db_2.9.4.bb b/meta/recipes-extended/man-db/man-db_2.9.4.bb index b068af95d8..f97974abb8 100644 --- a/meta/recipes-extended/man-db/man-db_2.9.4.bb +++ b/meta/recipes-extended/man-db/man-db_2.9.4.bb | |||
@@ -23,7 +23,7 @@ USE_NLS:libc-musl = "no" | |||
23 | 23 | ||
24 | inherit gettext pkgconfig autotools systemd | 24 | inherit gettext pkgconfig autotools systemd |
25 | 25 | ||
26 | EXTRA_OECONF = "--with-pager=less --with-systemdsystemunitdir=${systemd_unitdir}/system" | 26 | EXTRA_OECONF = "--with-pager=less --with-systemdsystemunitdir=${systemd_system_unitdir}" |
27 | EXTRA_AUTORECONF += "-I ${S}/gl/m4" | 27 | EXTRA_AUTORECONF += "-I ${S}/gl/m4" |
28 | 28 | ||
29 | PACKAGECONFIG[bzip2] = "--with-bzip2=bzip2,ac_cv_prog_have_bzip2='',bzip2" | 29 | PACKAGECONFIG[bzip2] = "--with-bzip2=bzip2,ac_cv_prog_have_bzip2='',bzip2" |
diff --git a/meta/recipes-extended/mdadm/mdadm_4.1.bb b/meta/recipes-extended/mdadm/mdadm_4.1.bb index 062797afe6..35535aef86 100644 --- a/meta/recipes-extended/mdadm/mdadm_4.1.bb +++ b/meta/recipes-extended/mdadm/mdadm_4.1.bb | |||
@@ -44,7 +44,7 @@ CFLAGS:append:powerpc64 = ' -D__SANE_USERSPACE_TYPES__' | |||
44 | CFLAGS:append:mipsarchn64 = ' -D__SANE_USERSPACE_TYPES__' | 44 | CFLAGS:append:mipsarchn64 = ' -D__SANE_USERSPACE_TYPES__' |
45 | CFLAGS:append:mipsarchn32 = ' -D__SANE_USERSPACE_TYPES__' | 45 | CFLAGS:append:mipsarchn32 = ' -D__SANE_USERSPACE_TYPES__' |
46 | 46 | ||
47 | EXTRA_OEMAKE = 'CHECK_RUN_DIR=0 CXFLAGS="${CFLAGS}" SYSTEMD_DIR=${systemd_unitdir}/system \ | 47 | EXTRA_OEMAKE = 'CHECK_RUN_DIR=0 CXFLAGS="${CFLAGS}" SYSTEMD_DIR=${systemd_system_unitdir} \ |
48 | BINDIR="${base_sbindir}" UDEVDIR="${nonarch_base_libdir}/udev"' | 48 | BINDIR="${base_sbindir}" UDEVDIR="${nonarch_base_libdir}/udev"' |
49 | 49 | ||
50 | DEBUG_OPTIMIZATION:append = " -Wno-error" | 50 | DEBUG_OPTIMIZATION:append = " -Wno-error" |
diff --git a/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb b/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb index e58214d55a..344faa37a4 100644 --- a/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb +++ b/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb | |||
@@ -35,7 +35,7 @@ USERADD_PARAM:${PN} = "--system --no-create-home --home-dir / \ | |||
35 | --shell /bin/false --user-group rpc" | 35 | --shell /bin/false --user-group rpc" |
36 | 36 | ||
37 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | 37 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
38 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/, \ | 38 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir}/, \ |
39 | --without-systemdsystemunitdir, \ | 39 | --without-systemdsystemunitdir, \ |
40 | systemd \ | 40 | systemd \ |
41 | " | 41 | " |
diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc index 14c6f07784..8345c1e3d1 100644 --- a/meta/recipes-extended/sysstat/sysstat.inc +++ b/meta/recipes-extended/sysstat/sysstat.inc | |||
@@ -51,9 +51,9 @@ do_install() { | |||
51 | # Unless both cron and systemd are enabled, install our own | 51 | # Unless both cron and systemd are enabled, install our own |
52 | # systemd unit file. Otherwise the package will install one. | 52 | # systemd unit file. Otherwise the package will install one. |
53 | if ${@bb.utils.contains('PACKAGECONFIG', 'cron systemd', 'false', 'true', d)}; then | 53 | if ${@bb.utils.contains('PACKAGECONFIG', 'cron systemd', 'false', 'true', d)}; then |
54 | install -d ${D}${systemd_unitdir}/system | 54 | install -d ${D}${systemd_system_unitdir} |
55 | install -m 0644 ${WORKDIR}/sysstat.service ${D}${systemd_unitdir}/system | 55 | install -m 0644 ${WORKDIR}/sysstat.service ${D}${systemd_system_unitdir} |
56 | sed -i -e 's#@LIBEXECDIR@#${libexecdir}#g' ${D}${systemd_unitdir}/system/sysstat.service | 56 | sed -i -e 's#@LIBEXECDIR@#${libexecdir}#g' ${D}${systemd_system_unitdir}/sysstat.service |
57 | fi | 57 | fi |
58 | fi | 58 | fi |
59 | } | 59 | } |
diff --git a/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb b/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb index ec90de830d..da051c119f 100644 --- a/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb +++ b/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb | |||
@@ -39,11 +39,11 @@ do_install:append() { | |||
39 | install -m 644 "${WORKDIR}/xinetd.default" "${D}${sysconfdir}/default/xinetd" | 39 | install -m 644 "${WORKDIR}/xinetd.default" "${D}${sysconfdir}/default/xinetd" |
40 | 40 | ||
41 | # Install systemd unit files | 41 | # Install systemd unit files |
42 | install -d ${D}${systemd_unitdir}/system | 42 | install -d ${D}${systemd_system_unitdir} |
43 | install -m 0644 ${WORKDIR}/xinetd.service ${D}${systemd_unitdir}/system | 43 | install -m 0644 ${WORKDIR}/xinetd.service ${D}${systemd_system_unitdir} |
44 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ | 44 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ |
45 | -e 's,@SBINDIR@,${sbindir},g' \ | 45 | -e 's,@SBINDIR@,${sbindir},g' \ |
46 | ${D}${systemd_unitdir}/system/xinetd.service | 46 | ${D}${systemd_system_unitdir}/xinetd.service |
47 | } | 47 | } |
48 | 48 | ||
49 | RDEPENDS:${PN} += "perl" | 49 | RDEPENDS:${PN} += "perl" |