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-core/base-files/base-files_3.0.14.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-core/base-files/base-files_3.0.14.bb')
-rw-r--r-- | meta/recipes-core/base-files/base-files_3.0.14.bb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb index 94299431f6..032827a0d0 100644 --- a/meta/recipes-core/base-files/base-files_3.0.14.bb +++ b/meta/recipes-core/base-files/base-files_3.0.14.bb | |||
@@ -28,7 +28,7 @@ S = "${WORKDIR}" | |||
28 | 28 | ||
29 | INHIBIT_DEFAULT_DEPS = "1" | 29 | INHIBIT_DEFAULT_DEPS = "1" |
30 | 30 | ||
31 | docdir_append = "/${P}" | 31 | docdir:append = "/${P}" |
32 | dirs1777 = "/tmp ${localstatedir}/volatile/tmp" | 32 | dirs1777 = "/tmp ${localstatedir}/volatile/tmp" |
33 | dirs2775 = "" | 33 | dirs2775 = "" |
34 | dirs555 = "/sys /proc" | 34 | dirs555 = "/sys /proc" |
@@ -64,7 +64,7 @@ conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \ | |||
64 | # hostnames. | 64 | # hostnames. |
65 | # | 65 | # |
66 | # The hostname can be changed outside of this recipe by using | 66 | # The hostname can be changed outside of this recipe by using |
67 | # hostname_pn-base-files = "my-host-name". | 67 | # hostname:pn-base-files = "my-host-name". |
68 | hostname = "${MACHINE}" | 68 | hostname = "${MACHINE}" |
69 | 69 | ||
70 | BASEFILESISSUEINSTALL ?= "do_install_basefilesissue" | 70 | BASEFILESISSUEINSTALL ?= "do_install_basefilesissue" |
@@ -77,7 +77,7 @@ BASEFILESISSUEINSTALL ?= "do_install_basefilesissue" | |||
77 | # Otherwise the directory creation will fail and we will have circular symbolic | 77 | # Otherwise the directory creation will fail and we will have circular symbolic |
78 | # links. | 78 | # links. |
79 | # | 79 | # |
80 | pkg_preinst_${PN} () { | 80 | pkg_preinst:${PN} () { |
81 | #!/bin/sh -e | 81 | #!/bin/sh -e |
82 | if [ x"$D" = "x" ]; then | 82 | if [ x"$D" = "x" ]; then |
83 | if [ -h "/var/lock" ]; then | 83 | if [ -h "/var/lock" ]; then |
@@ -139,7 +139,7 @@ do_install () { | |||
139 | fi | 139 | fi |
140 | } | 140 | } |
141 | 141 | ||
142 | do_install_append_libc-glibc () { | 142 | do_install:append:libc-glibc () { |
143 | install -m 0644 ${WORKDIR}/nsswitch.conf ${D}${sysconfdir}/nsswitch.conf | 143 | install -m 0644 ${WORKDIR}/nsswitch.conf ${D}${sysconfdir}/nsswitch.conf |
144 | } | 144 | } |
145 | 145 | ||
@@ -162,7 +162,7 @@ do_install_basefilesissue () { | |||
162 | } | 162 | } |
163 | do_install_basefilesissue[vardepsexclude] += "DATE" | 163 | do_install_basefilesissue[vardepsexclude] += "DATE" |
164 | 164 | ||
165 | do_install_append_linuxstdbase() { | 165 | do_install:append:linuxstdbase() { |
166 | for d in ${dirs755-lsb}; do | 166 | for d in ${dirs755-lsb}; do |
167 | install -m 0755 -d ${D}$d | 167 | install -m 0755 -d ${D}$d |
168 | done | 168 | done |
@@ -175,10 +175,10 @@ do_install_append_linuxstdbase() { | |||
175 | SYSROOT_DIRS += "${sysconfdir}/skel" | 175 | SYSROOT_DIRS += "${sysconfdir}/skel" |
176 | 176 | ||
177 | PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg" | 177 | PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg" |
178 | FILES_${PN} = "/" | 178 | FILES:${PN} = "/" |
179 | FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses" | 179 | FILES:${PN}-doc = "${docdir} ${datadir}/common-licenses" |
180 | 180 | ||
181 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 181 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
182 | 182 | ||
183 | CONFFILES_${PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname ${sysconfdir}/hosts'][(d.getVar('hostname') != '')]} ${sysconfdir}/shells" | 183 | CONFFILES:${PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname ${sysconfdir}/hosts'][(d.getVar('hostname') != '')]} ${sysconfdir}/shells" |
184 | CONFFILES_${PN} += "${sysconfdir}/motd ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile" | 184 | CONFFILES:${PN} += "${sysconfdir}/motd ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile" |