diff options
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-core/toybox/toybox-inittab_0.8.2.bb | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/meta-oe/recipes-core/toybox/toybox-inittab_0.8.2.bb b/meta-oe/recipes-core/toybox/toybox-inittab_0.8.2.bb index 9af1e3f14..f82f8e9ce 100644 --- a/meta-oe/recipes-core/toybox/toybox-inittab_0.8.2.bb +++ b/meta-oe/recipes-core/toybox/toybox-inittab_0.8.2.bb | |||
@@ -2,10 +2,12 @@ SUMMARY = "Toybox Inittab Configuration" | |||
2 | LICENSE = "BSD-0-Clause" | 2 | LICENSE = "BSD-0-Clause" |
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-0-Clause;md5=81eeb0083e31f11ab1e33ded846d521c" | 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-0-Clause;md5=81eeb0083e31f11ab1e33ded846d521c" |
4 | 4 | ||
5 | # Unpack to ${S}/orig | ||
6 | # | ||
5 | SRC_URI = "\ | 7 | SRC_URI = "\ |
6 | file://inittab \ | 8 | file://inittab;subdir=${BP}/orig \ |
7 | file://rcK \ | 9 | file://rcK;subdir=${BP}/orig \ |
8 | file://rcS \ | 10 | file://rcS;subdir=${BP}/orig \ |
9 | " | 11 | " |
10 | 12 | ||
11 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
@@ -15,6 +17,9 @@ RCONFLICTS_${PN} = "\ | |||
15 | sysvinit-inittab \ | 17 | sysvinit-inittab \ |
16 | " | 18 | " |
17 | 19 | ||
20 | # Just being sure. | ||
21 | B = "${S}" | ||
22 | |||
18 | # most users may want to have getty enabled by default | 23 | # most users may want to have getty enabled by default |
19 | PACKAGECONFIG ??= "getty" | 24 | PACKAGECONFIG ??= "getty" |
20 | 25 | ||
@@ -26,9 +31,7 @@ do_patch[noexec] = "1" | |||
26 | 31 | ||
27 | do_configure() { | 32 | do_configure() { |
28 | # copy over files now to have a fresh start on each config | 33 | # copy over files now to have a fresh start on each config |
29 | for f in inittab rcK rcS; do | 34 | cp orig/* . |
30 | cp ${WORKDIR}/$f ${S} | ||
31 | done | ||
32 | 35 | ||
33 | for config in ${PACKAGECONFIG_CONFARGS}; do | 36 | for config in ${PACKAGECONFIG_CONFARGS}; do |
34 | if [[ ${config} == "enable_getty" ]]; then | 37 | if [[ ${config} == "enable_getty" ]]; then |