summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-files/base-files_3.0.14.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-core/base-files/base-files_3.0.14.bb
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-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.bb18
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
29INHIBIT_DEFAULT_DEPS = "1" 29INHIBIT_DEFAULT_DEPS = "1"
30 30
31docdir_append = "/${P}" 31docdir:append = "/${P}"
32dirs1777 = "/tmp ${localstatedir}/volatile/tmp" 32dirs1777 = "/tmp ${localstatedir}/volatile/tmp"
33dirs2775 = "" 33dirs2775 = ""
34dirs555 = "/sys /proc" 34dirs555 = "/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".
68hostname = "${MACHINE}" 68hostname = "${MACHINE}"
69 69
70BASEFILESISSUEINSTALL ?= "do_install_basefilesissue" 70BASEFILESISSUEINSTALL ?= "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#
80pkg_preinst_${PN} () { 80pkg_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
142do_install_append_libc-glibc () { 142do_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}
163do_install_basefilesissue[vardepsexclude] += "DATE" 163do_install_basefilesissue[vardepsexclude] += "DATE"
164 164
165do_install_append_linuxstdbase() { 165do_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() {
175SYSROOT_DIRS += "${sysconfdir}/skel" 175SYSROOT_DIRS += "${sysconfdir}/skel"
176 176
177PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg" 177PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg"
178FILES_${PN} = "/" 178FILES:${PN} = "/"
179FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses" 179FILES:${PN}-doc = "${docdir} ${datadir}/common-licenses"
180 180
181PACKAGE_ARCH = "${MACHINE_ARCH}" 181PACKAGE_ARCH = "${MACHINE_ARCH}"
182 182
183CONFFILES_${PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname ${sysconfdir}/hosts'][(d.getVar('hostname') != '')]} ${sysconfdir}/shells" 183CONFFILES:${PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname ${sysconfdir}/hosts'][(d.getVar('hostname') != '')]} ${sysconfdir}/shells"
184CONFFILES_${PN} += "${sysconfdir}/motd ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile" 184CONFFILES:${PN} += "${sysconfdir}/motd ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile"