[oe-commits] Richard Purdie : sysvinit: Mark as machine specific since there are machine specific components to this recipe
git version control
git at git.openembedded.org
Thu Jun 2 15:54:12 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: 5bcd6b2c3e935858ac80b17266b9e427060c1650
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5bcd6b2c3e935858ac80b17266b9e427060c1650
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Thu Jun 2 16:12:32 2011 +0100
sysvinit: Mark as machine specific since there are machine specific components to this recipe
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 at linuxfoundation.org>
---
meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
index 2cb650e..e683cc7 100644
--- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
@@ -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}"
More information about the Openembedded-commits
mailing list