diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb')
-rw-r--r-- | meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb b/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb index 074f713205..969e20e283 100644 --- a/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb +++ b/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb | |||
@@ -14,18 +14,18 @@ SRC_URI[sha256sum] = "2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67 | |||
14 | 14 | ||
15 | inherit autotools features_check | 15 | inherit autotools features_check |
16 | 16 | ||
17 | COMPATIBLE_HOST_libc-musl = 'null' | 17 | COMPATIBLE_HOST:libc-musl = 'null' |
18 | 18 | ||
19 | # The systemd has its own copy of nss-myhostname | 19 | # The systemd has its own copy of nss-myhostname |
20 | CONFLICT_DISTRO_FEATURES = "systemd" | 20 | CONFLICT_DISTRO_FEATURES = "systemd" |
21 | 21 | ||
22 | pkg_postinst_${PN} () { | 22 | pkg_postinst:${PN} () { |
23 | sed -e '/^hosts:/s/\s*\<myhostname\>//' \ | 23 | sed -e '/^hosts:/s/\s*\<myhostname\>//' \ |
24 | -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 myhostname \3\4\5/' \ | 24 | -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 myhostname \3\4\5/' \ |
25 | -i $D${sysconfdir}/nsswitch.conf | 25 | -i $D${sysconfdir}/nsswitch.conf |
26 | } | 26 | } |
27 | 27 | ||
28 | pkg_prerm_${PN} () { | 28 | pkg_prerm:${PN} () { |
29 | sed -e '/^hosts:/s/\s*\<myhostname\>//' \ | 29 | sed -e '/^hosts:/s/\s*\<myhostname\>//' \ |
30 | -e '/^hosts:/s/\s*myhostname//' \ | 30 | -e '/^hosts:/s/\s*myhostname//' \ |
31 | -i $D${sysconfdir}/nsswitch.conf | 31 | -i $D${sysconfdir}/nsswitch.conf |