* [PATCH] packagegroup-core-boot: correct runtime dependencies for non-sysvinit system
@ 2013-08-02 4:45 Saul Wold
2013-08-02 6:53 ` Martin Jansa
0 siblings, 1 reply; 2+ messages in thread
From: Saul Wold @ 2013-08-02 4:45 UTC (permalink / raw)
To: openembedded-core
[YOCTO #4969]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
core
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/recipes-core/packagegroups/packagegroup-core-boot.bb | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
index d69c41d..486385a 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
@@ -30,15 +30,18 @@ VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
VIRTUAL-RUNTIME_initscripts ?= "initscripts"
VIRTUAL-RUNTIME_keymaps ?= "keymaps"
+SYSVINIT_SCRIPTS = "${@base_contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \
+ modutils-initscripts \
+ init-ifupdown \
+ "
+
RDEPENDS_${PN} = "\
base-files \
base-passwd \
busybox \
- ${@base_contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \
+ ${@base_contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \
${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
- modutils-initscripts \
netbase \
- init-ifupdown \
${VIRTUAL-RUNTIME_login_manager} \
${VIRTUAL-RUNTIME_init_manager} \
${VIRTUAL-RUNTIME_initscripts} \
--
1.8.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] packagegroup-core-boot: correct runtime dependencies for non-sysvinit system
2013-08-02 4:45 [PATCH] packagegroup-core-boot: correct runtime dependencies for non-sysvinit system Saul Wold
@ 2013-08-02 6:53 ` Martin Jansa
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2013-08-02 6:53 UTC (permalink / raw)
To: Saul Wold; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1906 bytes --]
On Thu, Aug 01, 2013 at 09:45:40PM -0700, Saul Wold wrote:
> [YOCTO #4969]
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
>
> core
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
^^^ Something is missing and something is redundant :).
> ---
> meta/recipes-core/packagegroups/packagegroup-core-boot.bb | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
> index d69c41d..486385a 100644
> --- a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
> +++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
> @@ -30,15 +30,18 @@ VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
> VIRTUAL-RUNTIME_initscripts ?= "initscripts"
> VIRTUAL-RUNTIME_keymaps ?= "keymaps"
>
> +SYSVINIT_SCRIPTS = "${@base_contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \
> + modutils-initscripts \
> + init-ifupdown \
> + "
> +
> RDEPENDS_${PN} = "\
> base-files \
> base-passwd \
> busybox \
> - ${@base_contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \
> + ${@base_contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \
> ${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
> - modutils-initscripts \
> netbase \
> - init-ifupdown \
> ${VIRTUAL-RUNTIME_login_manager} \
> ${VIRTUAL-RUNTIME_init_manager} \
> ${VIRTUAL-RUNTIME_initscripts} \
> --
> 1.8.1.4
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-02 6:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-02 4:45 [PATCH] packagegroup-core-boot: correct runtime dependencies for non-sysvinit system Saul Wold
2013-08-02 6:53 ` Martin Jansa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox