summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2021-08-26 05:42:06 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-07 21:54:11 +0100
commitabeb2e95c6e5b286283dfe7198d5a222f7139458 (patch)
tree1a1f5526ee2b663abf27252c02bb33573f6205dc /meta/recipes-extended
parent3a702623573a973ff9b4d3d5f934ef55497de167 (diff)
downloadpoky-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.bb6
-rw-r--r--meta/recipes-extended/cronie/cronie_1.5.7.bb6
-rw-r--r--meta/recipes-extended/iputils/iputils_20210722.bb4
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb6
-rw-r--r--meta/recipes-extended/man-db/man-db_2.9.4.bb2
-rw-r--r--meta/recipes-extended/mdadm/mdadm_4.1.bb2
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb2
-rw-r--r--meta/recipes-extended/sysstat/sysstat.inc6
-rw-r--r--meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb6
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"
32PACKAGECONFIG[gettext] = "-DUSE_GETTEXT=true, -DUSE_GETTEXT=false, gettext" 32PACKAGECONFIG[gettext] = "-DUSE_GETTEXT=true, -DUSE_GETTEXT=false, gettext"
33PACKAGECONFIG[ninfod] = "-DBUILD_NINFOD=true,-DBUILD_NINFOD=false," 33PACKAGECONFIG[ninfod] = "-DBUILD_NINFOD=true,-DBUILD_NINFOD=false,"
34PACKAGECONFIG[rarpd] = "-DBUILD_RARPD=true,-DBUILD_RARPD=false," 34PACKAGECONFIG[rarpd] = "-DBUILD_RARPD=true,-DBUILD_RARPD=false,"
35PACKAGECONFIG[systemd] = "-Dsystemdunitdir=${systemd_unitdir}/system,,systemd" 35PACKAGECONFIG[systemd] = "-Dsystemdunitdir=${systemd_system_unitdir},,systemd"
36PACKAGECONFIG[tftpd] = "-DBUILD_TFTPD=true, -DBUILD_TFTPD=false," 36PACKAGECONFIG[tftpd] = "-DBUILD_TFTPD=true, -DBUILD_TFTPD=false,"
37PACKAGECONFIG[traceroute6] = "-DBUILD_TRACEROUTE6=true,-DBUILD_TRACEROUTE6=false," 37PACKAGECONFIG[traceroute6] = "-DBUILD_TRACEROUTE6=true,-DBUILD_TRACEROUTE6=false,"
38PACKAGECONFIG[docs] = "-DBUILD_HTML_MANS=true -DBUILD_MANS=true,-DBUILD_HTML_MANS=false -DBUILD_MANS=false, libxslt" 38PACKAGECONFIG[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"
62FILES:${PN}-traceroute6 = "${base_bindir}/traceroute6" 62FILES:${PN}-traceroute6 = "${base_bindir}/traceroute6"
63FILES:${PN}-clockdiff = "${base_bindir}/clockdiff" 63FILES:${PN}-clockdiff = "${base_bindir}/clockdiff"
64FILES:${PN}-tftpd = "${base_bindir}/tftpd ${sysconfdir}/xinetd.d/tftp" 64FILES:${PN}-tftpd = "${base_bindir}/tftpd ${sysconfdir}/xinetd.d/tftp"
65FILES:${PN}-rarpd = "${base_sbindir}/rarpd ${systemd_unitdir}/system/rarpd@.service" 65FILES:${PN}-rarpd = "${base_sbindir}/rarpd ${systemd_system_unitdir}/rarpd@.service"
66FILES:${PN}-rdisc = "${base_sbindir}/rdisc" 66FILES:${PN}-rdisc = "${base_sbindir}/rdisc"
67FILES:${PN}-ninfod = "${base_sbindir}/ninfod ${sysconfdir}/init.d/ninfod.sh" 67FILES:${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
24inherit gettext pkgconfig autotools systemd 24inherit gettext pkgconfig autotools systemd
25 25
26EXTRA_OECONF = "--with-pager=less --with-systemdsystemunitdir=${systemd_unitdir}/system" 26EXTRA_OECONF = "--with-pager=less --with-systemdsystemunitdir=${systemd_system_unitdir}"
27EXTRA_AUTORECONF += "-I ${S}/gl/m4" 27EXTRA_AUTORECONF += "-I ${S}/gl/m4"
28 28
29PACKAGECONFIG[bzip2] = "--with-bzip2=bzip2,ac_cv_prog_have_bzip2='',bzip2" 29PACKAGECONFIG[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__'
44CFLAGS:append:mipsarchn64 = ' -D__SANE_USERSPACE_TYPES__' 44CFLAGS:append:mipsarchn64 = ' -D__SANE_USERSPACE_TYPES__'
45CFLAGS:append:mipsarchn32 = ' -D__SANE_USERSPACE_TYPES__' 45CFLAGS:append:mipsarchn32 = ' -D__SANE_USERSPACE_TYPES__'
46 46
47EXTRA_OEMAKE = 'CHECK_RUN_DIR=0 CXFLAGS="${CFLAGS}" SYSTEMD_DIR=${systemd_unitdir}/system \ 47EXTRA_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
50DEBUG_OPTIMIZATION:append = " -Wno-error" 50DEBUG_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
37PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 37PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
38PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/, \ 38PACKAGECONFIG[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
49RDEPENDS:${PN} += "perl" 49RDEPENDS:${PN} += "perl"