diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-05-13 14:16:55 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-05-23 08:44:44 -0700 |
commit | ffc64e9c6fee0af7eea3466135416d011172a5e6 (patch) | |
tree | b9effa069d9af3c63d6f3a41caff6b887450522c /meta-networking/recipes-support/ntp | |
parent | a90f89dbc7eff2ae83bab6a6676f4737c0b48a8d (diff) | |
download | meta-openembedded-ffc64e9c6fee0af7eea3466135416d011172a5e6.tar.gz |
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/ntp')
-rw-r--r-- | meta-networking/recipes-support/ntp/ntp_4.2.8p17.bb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p17.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p17.bb index 4ed58cd6a4..5fa8db9eeb 100644 --- a/meta-networking/recipes-support/ntp/ntp_4.2.8p17.bb +++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p17.bb | |||
@@ -90,8 +90,8 @@ PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | |||
90 | 90 | ||
91 | do_install:append() { | 91 | do_install:append() { |
92 | install -d ${D}${sysconfdir}/init.d | 92 | install -d ${D}${sysconfdir}/init.d |
93 | install -m 644 ${WORKDIR}/ntp.conf ${D}${sysconfdir} | 93 | install -m 644 ${UNPACKDIR}/ntp.conf ${D}${sysconfdir} |
94 | install -m 755 ${WORKDIR}/ntpd ${D}${sysconfdir}/init.d | 94 | install -m 755 ${UNPACKDIR}/ntpd ${D}${sysconfdir}/init.d |
95 | 95 | ||
96 | install -m 755 -d ${D}${NTP_USER_HOME} | 96 | install -m 755 -d ${D}${NTP_USER_HOME} |
97 | chown ntp:ntp ${D}${NTP_USER_HOME} | 97 | chown ntp:ntp ${D}${NTP_USER_HOME} |
@@ -109,14 +109,14 @@ do_install:append() { | |||
109 | sed -i '/use/i use warnings;' ${D}${sbindir}/calc_tickadj | 109 | sed -i '/use/i use warnings;' ${D}${sbindir}/calc_tickadj |
110 | 110 | ||
111 | install -d ${D}/${sysconfdir}/default | 111 | install -d ${D}/${sysconfdir}/default |
112 | install -m 0644 ${WORKDIR}/sntp ${D}${sysconfdir}/default/ | 112 | install -m 0644 ${UNPACKDIR}/sntp ${D}${sysconfdir}/default/ |
113 | 113 | ||
114 | install -d ${D}${systemd_unitdir}/system | 114 | install -d ${D}${systemd_unitdir}/system |
115 | install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_unitdir}/system/ | 115 | install -m 0644 ${UNPACKDIR}/ntpd.service ${D}${systemd_unitdir}/system/ |
116 | install -m 0644 ${WORKDIR}/sntp.service ${D}${systemd_unitdir}/system/ | 116 | install -m 0644 ${UNPACKDIR}/sntp.service ${D}${systemd_unitdir}/system/ |
117 | 117 | ||
118 | install -d ${D}${systemd_unitdir}/ntp-units.d | 118 | install -d ${D}${systemd_unitdir}/ntp-units.d |
119 | install -m 0644 ${WORKDIR}/ntpd.list ${D}${systemd_unitdir}/ntp-units.d/60-ntpd.list | 119 | install -m 0644 ${UNPACKDIR}/ntpd.list ${D}${systemd_unitdir}/ntp-units.d/60-ntpd.list |
120 | 120 | ||
121 | # Remove the empty libexecdir and bindir. | 121 | # Remove the empty libexecdir and bindir. |
122 | rmdir --ignore-fail-on-non-empty ${D}${libexecdir} | 122 | rmdir --ignore-fail-on-non-empty ${D}${libexecdir} |