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-oe/recipes-support/monit | |
| 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-oe/recipes-support/monit')
| -rw-r--r-- | meta-oe/recipes-support/monit/monit_5.33.0.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/monit/monit_5.33.0.bb b/meta-oe/recipes-support/monit/monit_5.33.0.bb index 66d4079a94..9d7b358381 100644 --- a/meta-oe/recipes-support/monit/monit_5.33.0.bb +++ b/meta-oe/recipes-support/monit/monit_5.33.0.bb | |||
| @@ -45,12 +45,12 @@ do_configure:prepend() { | |||
| 45 | do_install:append() { | 45 | do_install:append() { |
| 46 | 46 | ||
| 47 | # Configuration file | 47 | # Configuration file |
| 48 | install -Dm 0600 ${WORKDIR}/monitrc ${D}${sysconfdir}/monitrc | 48 | install -Dm 0600 ${UNPACKDIR}/monitrc ${D}${sysconfdir}/monitrc |
| 49 | 49 | ||
| 50 | # SystemD | 50 | # SystemD |
| 51 | install -Dm 0644 ${S}/system/startup/monit.service.in ${D}${systemd_system_unitdir}/monit.service | 51 | install -Dm 0644 ${S}/system/startup/monit.service.in ${D}${systemd_system_unitdir}/monit.service |
| 52 | sed -i -e 's,@prefix@,${exec_prefix},g' ${D}${systemd_unitdir}/system/monit.service | 52 | sed -i -e 's,@prefix@,${exec_prefix},g' ${D}${systemd_unitdir}/system/monit.service |
| 53 | 53 | ||
| 54 | # SysV | 54 | # SysV |
| 55 | install -Dm 0755 ${WORKDIR}/monit ${D}${sysconfdir}/init.d/monit | 55 | install -Dm 0755 ${UNPACKDIR}/monit ${D}${sysconfdir}/init.d/monit |
| 56 | } | 56 | } |
