summaryrefslogtreecommitdiff
path: root/sysvinit/sysvinit_2.86.oe
diff options
context:
space:
mode:
Diffstat (limited to 'sysvinit/sysvinit_2.86.oe')
-rw-r--r--sysvinit/sysvinit_2.86.oe8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysvinit/sysvinit_2.86.oe b/sysvinit/sysvinit_2.86.oe
index da081f401b..4c698c7aa5 100644
--- a/sysvinit/sysvinit_2.86.oe
+++ b/sysvinit/sysvinit_2.86.oe
@@ -7,11 +7,9 @@ HOMEPAGE = "http://freshmeat.net/projects/sysvinit/"
FILES_${PN} += "/sbin /bin"
PR = "r0"
-python () {
- mach = oe.data.getVar('MACHINE', d, 1)
- if mach:
- oe.data.setVar('PACKAGE_ARCH', oe.data.getVar('MACHINE_ARCH', d, 1), d)
-}
+# USE_VT and SERIAL_CONSLE are generally defined by the MACHINE .conf.
+# Set PACKAGE_ARCH appropriately.
+PACKAGE_ARCH := "${MACHINE_ARCH}"
USE_VT ?= "1"