]> code.ossystems Code Review - openembedded-core.git/commitdiff
sysvinit: Mark as machine specific since there are machine specific components to...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jun 2011 15:12:32 +0000 (16:12 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jun 2011 15:41:56 +0000 (16:41 +0100)
The inittab file depends on variables that are part of the machine config
such as the SERIAL_CONSOLE so the whole recipe must get built as machine
specific. Better might be to split the config out into a separate recipes
from the binaries but this fixes the immediate problem.

[YOCTO ##1131]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb

index 2cb650eab66003c49170983c49a8aa451511065e..e683cc7ce370e0239c80eb769f4e8319eaa40cf5 100644 (file)
@@ -7,6 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
                     file://COPYRIGHT;endline=15;md5=349c872e0066155e1818b786938876a4"
 PR = "r3"
 
+# Need to set this since it has machine specific components
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
 # USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
 # Set PACKAGE_ARCH appropriately.
 PACKAGE_ARCH_${PN}-inittab = "${MACHINE_ARCH}"