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-connectivity | |
| 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-connectivity')
| -rw-r--r-- | meta/recipes-connectivity/avahi/avahi_0.8.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-connectivity/bind/bind_9.16.20.bb | 6 | ||||
| -rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 6 | ||||
| -rw-r--r-- | meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.0.bb | 4 | ||||
| -rw-r--r-- | meta/recipes-connectivity/neard/neard_0.16.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.4.bb | 18 | ||||
| -rw-r--r-- | meta/recipes-connectivity/ofono/ofono_1.32.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-connectivity/openssh/openssh_8.7p1.bb | 12 | ||||
| -rw-r--r-- | meta/recipes-connectivity/ppp/ppp_2.4.9.bb | 8 | ||||
| -rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb | 4 |
10 files changed, 32 insertions, 32 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi_0.8.bb b/meta/recipes-connectivity/avahi/avahi_0.8.bb index 934044d5da..cd0489e846 100644 --- a/meta/recipes-connectivity/avahi/avahi_0.8.bb +++ b/meta/recipes-connectivity/avahi/avahi_0.8.bb | |||
| @@ -67,7 +67,7 @@ EXTRA_OECONF = "--with-avahi-priv-access-group=adm \ | |||
| 67 | 67 | ||
| 68 | # The distro choice determines what init scripts are installed | 68 | # The distro choice determines what init scripts are installed |
| 69 | EXTRA_OECONF_SYSVINIT = "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','--with-distro=debian','--with-distro=none',d)}" | 69 | EXTRA_OECONF_SYSVINIT = "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','--with-distro=debian','--with-distro=none',d)}" |
| 70 | EXTRA_OECONF_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES','systemd','--with-systemdsystemunitdir=${systemd_unitdir}/system/','--without-systemdsystemunitdir',d)}" | 70 | EXTRA_OECONF_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES','systemd','--with-systemdsystemunitdir=${systemd_system_unitdir}/','--without-systemdsystemunitdir',d)}" |
| 71 | 71 | ||
| 72 | do_configure:prepend() { | 72 | do_configure:prepend() { |
| 73 | # This m4 file will get in the way of our introspection.m4 with special cross-compilation fixes | 73 | # This m4 file will get in the way of our introspection.m4 with special cross-compilation fixes |
diff --git a/meta/recipes-connectivity/bind/bind_9.16.20.bb b/meta/recipes-connectivity/bind/bind_9.16.20.bb index f7d0416858..ddf323fb9c 100644 --- a/meta/recipes-connectivity/bind/bind_9.16.20.bb +++ b/meta/recipes-connectivity/bind/bind_9.16.20.bb | |||
| @@ -77,11 +77,11 @@ do_install:append() { | |||
| 77 | # Install systemd related files | 77 | # Install systemd related files |
| 78 | install -d ${D}${sbindir} | 78 | install -d ${D}${sbindir} |
| 79 | install -m 755 ${WORKDIR}/generate-rndc-key.sh ${D}${sbindir} | 79 | install -m 755 ${WORKDIR}/generate-rndc-key.sh ${D}${sbindir} |
| 80 | install -d ${D}${systemd_unitdir}/system | 80 | install -d ${D}${systemd_system_unitdir} |
| 81 | install -m 0644 ${WORKDIR}/named.service ${D}${systemd_unitdir}/system | 81 | install -m 0644 ${WORKDIR}/named.service ${D}${systemd_system_unitdir} |
| 82 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ | 82 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ |
| 83 | -e 's,@SBINDIR@,${sbindir},g' \ | 83 | -e 's,@SBINDIR@,${sbindir},g' \ |
| 84 | ${D}${systemd_unitdir}/system/named.service | 84 | ${D}${systemd_system_unitdir}/named.service |
| 85 | 85 | ||
| 86 | install -d ${D}${sysconfdir}/default | 86 | install -d ${D}${sysconfdir}/default |
| 87 | install -m 0644 ${WORKDIR}/bind9 ${D}${sysconfdir}/default | 87 | install -m 0644 ${WORKDIR}/bind9 ${D}${sysconfdir}/default |
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index 856bb9ee17..342a512f45 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc | |||
| @@ -36,7 +36,7 @@ PACKAGECONFIG ??= "wispr iptables client\ | |||
| 36 | # local.conf or distro config | 36 | # local.conf or distro config |
| 37 | # PACKAGECONFIG:append:pn-connman = " openvpn vpnc l2tp pptp" | 37 | # PACKAGECONFIG:append:pn-connman = " openvpn vpnc l2tp pptp" |
| 38 | 38 | ||
| 39 | PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/ --with-tmpfilesdir=${sysconfdir}/tmpfiles.d/,--with-systemdunitdir='' --with-tmpfilesdir=''" | 39 | PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_system_unitdir}/ --with-tmpfilesdir=${sysconfdir}/tmpfiles.d/,--with-systemdunitdir='' --with-tmpfilesdir=''" |
| 40 | PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi, wpa-supplicant, wpa-supplicant" | 40 | PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi, wpa-supplicant, wpa-supplicant" |
| 41 | PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, bluez5, bluez5" | 41 | PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, bluez5, bluez5" |
| 42 | PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono, ofono" | 42 | PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono, ofono" |
| @@ -173,13 +173,13 @@ VPN technogies are implemented using plug-ins." | |||
| 173 | FILES:${PN}-vpn += "${sbindir}/connman-vpnd \ | 173 | FILES:${PN}-vpn += "${sbindir}/connman-vpnd \ |
| 174 | ${sysconfdir}/dbus-1/system.d/connman-vpn-dbus.conf \ | 174 | ${sysconfdir}/dbus-1/system.d/connman-vpn-dbus.conf \ |
| 175 | ${datadir}/dbus-1/system-services/net.connman.vpn.service \ | 175 | ${datadir}/dbus-1/system-services/net.connman.vpn.service \ |
| 176 | ${systemd_unitdir}/system/connman-vpn.service" | 176 | ${systemd_system_unitdir}/connman-vpn.service" |
| 177 | 177 | ||
| 178 | SUMMARY:${PN}-wait-online = "A program that will return once ConnMan has connected to a network" | 178 | SUMMARY:${PN}-wait-online = "A program that will return once ConnMan has connected to a network" |
| 179 | DESCRIPTION:${PN}-wait-online = "A service that can be enabled so that \ | 179 | DESCRIPTION:${PN}-wait-online = "A service that can be enabled so that \ |
| 180 | the system waits until a network connection is established." | 180 | the system waits until a network connection is established." |
| 181 | FILES:${PN}-wait-online += "${sbindir}/connmand-wait-online \ | 181 | FILES:${PN}-wait-online += "${sbindir}/connmand-wait-online \ |
| 182 | ${systemd_unitdir}/system/connman-wait-online.service" | 182 | ${systemd_system_unitdir}/connman-wait-online.service" |
| 183 | 183 | ||
| 184 | SUMMARY:${PN}-plugin-vpn-openvpn = "An OpenVPN plugin for ConnMan VPN" | 184 | SUMMARY:${PN}-plugin-vpn-openvpn = "An OpenVPN plugin for ConnMan VPN" |
| 185 | DESCRIPTION:${PN}-plugin-vpn-openvpn = "The ConnMan OpenVPN plugin uses openvpn client \ | 185 | DESCRIPTION:${PN}-plugin-vpn-openvpn = "The ConnMan OpenVPN plugin uses openvpn client \ |
diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.0.bb b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.0.bb index 4e9a367d96..dbad8c8728 100644 --- a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.0.bb +++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.0.bb | |||
| @@ -48,8 +48,8 @@ USERADD_PARAM:${PN} = "--system -d ${localstatedir}/lib/${BPN} -M -s /bin/false | |||
| 48 | 48 | ||
| 49 | do_install:append () { | 49 | do_install:append () { |
| 50 | # install systemd unit files | 50 | # install systemd unit files |
| 51 | install -d ${D}${systemd_unitdir}/system | 51 | install -d ${D}${systemd_system_unitdir} |
| 52 | install -m 0644 ${WORKDIR}/dhcpcd*.service ${D}${systemd_unitdir}/system | 52 | install -m 0644 ${WORKDIR}/dhcpcd*.service ${D}${systemd_system_unitdir} |
| 53 | 53 | ||
| 54 | chmod 700 ${D}${localstatedir}/lib/${BPN} | 54 | chmod 700 ${D}${localstatedir}/lib/${BPN} |
| 55 | chown dhcpcd:dhcpcd ${D}${localstatedir}/lib/${BPN} | 55 | chown dhcpcd:dhcpcd ${D}${localstatedir}/lib/${BPN} |
diff --git a/meta/recipes-connectivity/neard/neard_0.16.bb b/meta/recipes-connectivity/neard/neard_0.16.bb index d55cf6a377..b6cc1d6ced 100644 --- a/meta/recipes-connectivity/neard/neard_0.16.bb +++ b/meta/recipes-connectivity/neard/neard_0.16.bb | |||
| @@ -22,7 +22,7 @@ inherit autotools pkgconfig systemd update-rc.d | |||
| 22 | 22 | ||
| 23 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | 23 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
| 24 | 24 | ||
| 25 | PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd_unitdir}/system/ --with-systemduserunitdir=${systemd_unitdir}/user/,--disable-systemd" | 25 | PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd_system_unitdir}/ --with-systemduserunitdir=${systemd_unitdir}/user/,--disable-systemd" |
| 26 | 26 | ||
| 27 | EXTRA_OECONF += "--enable-tools" | 27 | EXTRA_OECONF += "--enable-tools" |
| 28 | 28 | ||
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.4.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.4.bb index a655de2aca..459f68f05e 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.4.bb +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.4.bb | |||
| @@ -85,7 +85,7 @@ FILES:${PN}-client = "${sbindir}/*statd \ | |||
| 85 | ${sysconfdir}/nfs-utils.conf \ | 85 | ${sysconfdir}/nfs-utils.conf \ |
| 86 | ${sysconfdir}/nfsmount.conf \ | 86 | ${sysconfdir}/nfsmount.conf \ |
| 87 | ${sysconfdir}/init.d/nfscommon \ | 87 | ${sysconfdir}/init.d/nfscommon \ |
| 88 | ${systemd_unitdir}/system/nfs-statd.service" | 88 | ${systemd_system_unitdir}/nfs-statd.service" |
| 89 | RDEPENDS:${PN}-client = "${PN}-mount rpcbind" | 89 | RDEPENDS:${PN}-client = "${PN}-mount rpcbind" |
| 90 | 90 | ||
| 91 | FILES:${PN}-mount = "${base_sbindir}/*mount.nfs*" | 91 | FILES:${PN}-mount = "${base_sbindir}/*mount.nfs*" |
| @@ -119,18 +119,18 @@ do_install:append () { | |||
| 119 | install -m 0755 ${WORKDIR}/nfs-utils.conf ${D}${sysconfdir} | 119 | install -m 0755 ${WORKDIR}/nfs-utils.conf ${D}${sysconfdir} |
| 120 | install -m 0755 ${S}/utils/mount/nfsmount.conf ${D}${sysconfdir} | 120 | install -m 0755 ${S}/utils/mount/nfsmount.conf ${D}${sysconfdir} |
| 121 | 121 | ||
| 122 | install -d ${D}${systemd_unitdir}/system | 122 | install -d ${D}${systemd_system_unitdir} |
| 123 | install -m 0644 ${WORKDIR}/nfs-server.service ${D}${systemd_unitdir}/system/ | 123 | install -m 0644 ${WORKDIR}/nfs-server.service ${D}${systemd_system_unitdir}/ |
| 124 | install -m 0644 ${WORKDIR}/nfs-mountd.service ${D}${systemd_unitdir}/system/ | 124 | install -m 0644 ${WORKDIR}/nfs-mountd.service ${D}${systemd_system_unitdir}/ |
| 125 | install -m 0644 ${WORKDIR}/nfs-statd.service ${D}${systemd_unitdir}/system/ | 125 | install -m 0644 ${WORKDIR}/nfs-statd.service ${D}${systemd_system_unitdir}/ |
| 126 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ | 126 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ |
| 127 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ | 127 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ |
| 128 | -e 's,@HIGH_RLIMIT_NOFILE@,${HIGH_RLIMIT_NOFILE},g' \ | 128 | -e 's,@HIGH_RLIMIT_NOFILE@,${HIGH_RLIMIT_NOFILE},g' \ |
| 129 | ${D}${systemd_unitdir}/system/*.service | 129 | ${D}${systemd_system_unitdir}/*.service |
| 130 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 130 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 131 | install -m 0644 ${WORKDIR}/proc-fs-nfsd.mount ${D}${systemd_unitdir}/system/ | 131 | install -m 0644 ${WORKDIR}/proc-fs-nfsd.mount ${D}${systemd_system_unitdir}/ |
| 132 | install -d ${D}${systemd_unitdir}/system/sysinit.target.wants/ | 132 | install -d ${D}${systemd_system_unitdir}/sysinit.target.wants/ |
| 133 | ln -sf ../proc-fs-nfsd.mount ${D}${systemd_unitdir}/system/sysinit.target.wants/proc-fs-nfsd.mount | 133 | ln -sf ../proc-fs-nfsd.mount ${D}${systemd_system_unitdir}/sysinit.target.wants/proc-fs-nfsd.mount |
| 134 | fi | 134 | fi |
| 135 | 135 | ||
| 136 | # kernel code as of 3.8 hard-codes this path as a default | 136 | # kernel code as of 3.8 hard-codes this path as a default |
diff --git a/meta/recipes-connectivity/ofono/ofono_1.32.bb b/meta/recipes-connectivity/ofono/ofono_1.32.bb index c3db52d944..61424c7469 100644 --- a/meta/recipes-connectivity/ofono/ofono_1.32.bb +++ b/meta/recipes-connectivity/ofono/ofono_1.32.bb | |||
| @@ -25,7 +25,7 @@ PACKAGECONFIG ??= "\ | |||
| 25 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | 25 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
| 26 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | 26 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ |
| 27 | " | 27 | " |
| 28 | PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/,--with-systemdunitdir=" | 28 | PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_system_unitdir}/,--with-systemdunitdir=" |
| 29 | PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, bluez5" | 29 | PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, bluez5" |
| 30 | 30 | ||
| 31 | EXTRA_OECONF += "--enable-test --enable-external-ell" | 31 | EXTRA_OECONF += "--enable-test --enable-external-ell" |
diff --git a/meta/recipes-connectivity/openssh/openssh_8.7p1.bb b/meta/recipes-connectivity/openssh/openssh_8.7p1.bb index 8a2e7611af..07cd6b74cd 100644 --- a/meta/recipes-connectivity/openssh/openssh_8.7p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_8.7p1.bb | |||
| @@ -126,15 +126,15 @@ do_install:append () { | |||
| 126 | echo "HostKey /var/run/ssh/ssh_host_ecdsa_key" >> ${D}${sysconfdir}/ssh/sshd_config_readonly | 126 | echo "HostKey /var/run/ssh/ssh_host_ecdsa_key" >> ${D}${sysconfdir}/ssh/sshd_config_readonly |
| 127 | echo "HostKey /var/run/ssh/ssh_host_ed25519_key" >> ${D}${sysconfdir}/ssh/sshd_config_readonly | 127 | echo "HostKey /var/run/ssh/ssh_host_ed25519_key" >> ${D}${sysconfdir}/ssh/sshd_config_readonly |
| 128 | 128 | ||
| 129 | install -d ${D}${systemd_unitdir}/system | 129 | install -d ${D}${systemd_system_unitdir} |
| 130 | install -c -m 0644 ${WORKDIR}/sshd.socket ${D}${systemd_unitdir}/system | 130 | install -c -m 0644 ${WORKDIR}/sshd.socket ${D}${systemd_system_unitdir} |
| 131 | install -c -m 0644 ${WORKDIR}/sshd@.service ${D}${systemd_unitdir}/system | 131 | install -c -m 0644 ${WORKDIR}/sshd@.service ${D}${systemd_system_unitdir} |
| 132 | install -c -m 0644 ${WORKDIR}/sshdgenkeys.service ${D}${systemd_unitdir}/system | 132 | install -c -m 0644 ${WORKDIR}/sshdgenkeys.service ${D}${systemd_system_unitdir} |
| 133 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ | 133 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ |
| 134 | -e 's,@SBINDIR@,${sbindir},g' \ | 134 | -e 's,@SBINDIR@,${sbindir},g' \ |
| 135 | -e 's,@BINDIR@,${bindir},g' \ | 135 | -e 's,@BINDIR@,${bindir},g' \ |
| 136 | -e 's,@LIBEXECDIR@,${libexecdir}/${BPN},g' \ | 136 | -e 's,@LIBEXECDIR@,${libexecdir}/${BPN},g' \ |
| 137 | ${D}${systemd_unitdir}/system/sshd.socket ${D}${systemd_unitdir}/system/*.service | 137 | ${D}${systemd_system_unitdir}/sshd.socket ${D}${systemd_system_unitdir}/*.service |
| 138 | 138 | ||
| 139 | sed -i -e 's,@LIBEXECDIR@,${libexecdir}/${BPN},g' \ | 139 | sed -i -e 's,@LIBEXECDIR@,${libexecdir}/${BPN},g' \ |
| 140 | ${D}${sysconfdir}/init.d/sshd | 140 | ${D}${sysconfdir}/init.d/sshd |
| @@ -152,7 +152,7 @@ ALLOW_EMPTY:${PN} = "1" | |||
| 152 | PACKAGES =+ "${PN}-keygen ${PN}-scp ${PN}-ssh ${PN}-sshd ${PN}-sftp ${PN}-misc ${PN}-sftp-server" | 152 | PACKAGES =+ "${PN}-keygen ${PN}-scp ${PN}-ssh ${PN}-sshd ${PN}-sftp ${PN}-misc ${PN}-sftp-server" |
| 153 | FILES:${PN}-scp = "${bindir}/scp.${BPN}" | 153 | FILES:${PN}-scp = "${bindir}/scp.${BPN}" |
| 154 | FILES:${PN}-ssh = "${bindir}/ssh.${BPN} ${sysconfdir}/ssh/ssh_config" | 154 | FILES:${PN}-ssh = "${bindir}/ssh.${BPN} ${sysconfdir}/ssh/ssh_config" |
| 155 | FILES:${PN}-sshd = "${sbindir}/sshd ${sysconfdir}/init.d/sshd ${systemd_unitdir}/system" | 155 | FILES:${PN}-sshd = "${sbindir}/sshd ${sysconfdir}/init.d/sshd ${systemd_system_unitdir}" |
| 156 | FILES:${PN}-sshd += "${sysconfdir}/ssh/moduli ${sysconfdir}/ssh/sshd_config ${sysconfdir}/ssh/sshd_config_readonly ${sysconfdir}/default/volatiles/99_sshd ${sysconfdir}/pam.d/sshd" | 156 | FILES:${PN}-sshd += "${sysconfdir}/ssh/moduli ${sysconfdir}/ssh/sshd_config ${sysconfdir}/ssh/sshd_config_readonly ${sysconfdir}/default/volatiles/99_sshd ${sysconfdir}/pam.d/sshd" |
| 157 | FILES:${PN}-sshd += "${libexecdir}/${BPN}/sshd_check_keys" | 157 | FILES:${PN}-sshd += "${libexecdir}/${BPN}/sshd_check_keys" |
| 158 | FILES:${PN}-sftp = "${bindir}/sftp" | 158 | FILES:${PN}-sftp = "${bindir}/sftp" |
diff --git a/meta/recipes-connectivity/ppp/ppp_2.4.9.bb b/meta/recipes-connectivity/ppp/ppp_2.4.9.bb index 023d0feca9..235595ff76 100644 --- a/meta/recipes-connectivity/ppp/ppp_2.4.9.bb +++ b/meta/recipes-connectivity/ppp/ppp_2.4.9.bb | |||
| @@ -60,10 +60,10 @@ do_install:append () { | |||
| 60 | install -m 0755 ${WORKDIR}/pap ${D}${sysconfdir}/chatscripts | 60 | install -m 0755 ${WORKDIR}/pap ${D}${sysconfdir}/chatscripts |
| 61 | install -m 0755 ${WORKDIR}/ppp_on_boot ${D}${sysconfdir}/ppp/ppp_on_boot | 61 | install -m 0755 ${WORKDIR}/ppp_on_boot ${D}${sysconfdir}/ppp/ppp_on_boot |
| 62 | install -m 0755 ${WORKDIR}/provider ${D}${sysconfdir}/ppp/peers/provider | 62 | install -m 0755 ${WORKDIR}/provider ${D}${sysconfdir}/ppp/peers/provider |
| 63 | install -d ${D}${systemd_unitdir}/system | 63 | install -d ${D}${systemd_system_unitdir} |
| 64 | install -m 0644 ${WORKDIR}/ppp@.service ${D}${systemd_unitdir}/system | 64 | install -m 0644 ${WORKDIR}/ppp@.service ${D}${systemd_system_unitdir} |
| 65 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ | 65 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ |
| 66 | ${D}${systemd_unitdir}/system/ppp@.service | 66 | ${D}${systemd_system_unitdir}/ppp@.service |
| 67 | rm -rf ${D}/${mandir}/man8/man8 | 67 | rm -rf ${D}/${mandir}/man8/man8 |
| 68 | chmod u+s ${D}${sbindir}/pppd | 68 | chmod u+s ${D}${sbindir}/pppd |
| 69 | } | 69 | } |
| @@ -74,7 +74,7 @@ do_install:append:libc-musl () { | |||
| 74 | 74 | ||
| 75 | CONFFILES:${PN} = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets ${sysconfdir}/ppp/options" | 75 | CONFFILES:${PN} = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets ${sysconfdir}/ppp/options" |
| 76 | PACKAGES =+ "${PN}-oa ${PN}-oe ${PN}-radius ${PN}-winbind ${PN}-minconn ${PN}-password ${PN}-l2tp ${PN}-tools" | 76 | PACKAGES =+ "${PN}-oa ${PN}-oe ${PN}-radius ${PN}-winbind ${PN}-minconn ${PN}-password ${PN}-l2tp ${PN}-tools" |
| 77 | FILES:${PN} = "${sysconfdir} ${bindir} ${sbindir}/chat ${sbindir}/pppd ${systemd_unitdir}/system/ppp@.service" | 77 | FILES:${PN} = "${sysconfdir} ${bindir} ${sbindir}/chat ${sbindir}/pppd ${systemd_system_unitdir}/ppp@.service" |
| 78 | FILES:${PN}-oa = "${libdir}/pppd/${PV}/pppoatm.so" | 78 | FILES:${PN}-oa = "${libdir}/pppd/${PV}/pppoatm.so" |
| 79 | FILES:${PN}-oe = "${sbindir}/pppoe-discovery ${libdir}/pppd/${PV}/*pppoe.so" | 79 | FILES:${PN}-oe = "${sbindir}/pppoe-discovery ${libdir}/pppd/${PV}/*pppoe.so" |
| 80 | FILES:${PN}-radius = "${libdir}/pppd/${PV}/radius.so ${libdir}/pppd/${PV}/radattr.so ${libdir}/pppd/${PV}/radrealms.so" | 80 | FILES:${PN}-radius = "${libdir}/pppd/${PV}/radius.so ${libdir}/pppd/${PV}/radattr.so ${libdir}/pppd/${PV}/radrealms.so" |
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb index 309bb4aea5..33b1495bb2 100644 --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb | |||
| @@ -100,8 +100,8 @@ do_install () { | |||
| 100 | install -m 644 ${S}/wpa_supplicant/dbus/*.service ${D}/${datadir}/dbus-1/system-services | 100 | install -m 644 ${S}/wpa_supplicant/dbus/*.service ${D}/${datadir}/dbus-1/system-services |
| 101 | 101 | ||
| 102 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 102 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 103 | install -d ${D}/${systemd_unitdir}/system | 103 | install -d ${D}/${systemd_system_unitdir} |
| 104 | install -m 644 ${S}/wpa_supplicant/systemd/*.service ${D}/${systemd_unitdir}/system | 104 | install -m 644 ${S}/wpa_supplicant/systemd/*.service ${D}/${systemd_system_unitdir} |
| 105 | fi | 105 | fi |
| 106 | 106 | ||
| 107 | install -d ${D}/etc/default/volatiles | 107 | install -d ${D}/etc/default/volatiles |
