Patchwork packagegroup-self-hosted: recommend kernel modules instead of depending on them

login
register
mail settings
Submitter Marcin Juszkiewicz
Date Oct. 10, 2012, 9:41 a.m.
Message ID <1349862074-13950-1-git-send-email-marcin.juszkiewicz@linaro.org>
Download mbox | patch
Permalink /patch/38053/
State Accepted
Commit ca8edd69993fec472a9cff4d8f2761ce88f712a6
Headers show

Comments

Marcin Juszkiewicz - Oct. 10, 2012, 9:41 a.m.
Requested kernel modules may be integrated in kernel or totally disabled
as not needed on target.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 .../packagegroups/packagegroup-self-hosted.bb           |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
Saul Wold - Oct. 18, 2012, 8:11 p.m.
On 10/10/2012 02:41 AM, Marcin Juszkiewicz wrote:
> Requested kernel modules may be integrated in kernel or totally disabled
> as not needed on target.
>
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>   .../packagegroups/packagegroup-self-hosted.bb           |   15 +++++++++------
>   1 file changed, 9 insertions(+), 6 deletions(-)
>
> diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
> index de0a46d..19f5a16 100644
> --- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
> +++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
> @@ -4,7 +4,7 @@
>
>   SUMMARY = "Self-hosting"
>   DESCRIPTION = "Packages required to run the build system"
> -PR = "r11"
> +PR = "r12"
>   LICENSE = "MIT"
>
>   inherit packagegroup
> @@ -37,11 +37,6 @@ RDEPENDS_packagegroup-self-hosted-host-tools = "\
>       genext2fs \
>       hdparm \
>       iptables \
> -    kernel-module-tun \
> -    kernel-module-iptable-raw \
> -    kernel-module-iptable-nat \
> -    kernel-module-iptable-mangle \
> -    kernel-module-iptable-filter \
>       lsb \
>       mc \
>       parted \
> @@ -50,6 +45,14 @@ RDEPENDS_packagegroup-self-hosted-host-tools = "\
>       vte \
>       "
>
> +RRECOMMENDS_packagegroup-self-hosted-host-tools = "\
> +    kernel-module-tun \
> +    kernel-module-iptable-raw \
> +    kernel-module-iptable-nat \
> +    kernel-module-iptable-mangle \
> +    kernel-module-iptable-filter \
> +	"
> +
>   # eglibc-utils: for rpcgen
>   RDEPENDS_packagegroup-self-hosted-sdk = "\
>       autoconf \
>

Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
index de0a46d..19f5a16 100644
--- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
@@ -4,7 +4,7 @@ 
 
 SUMMARY = "Self-hosting"
 DESCRIPTION = "Packages required to run the build system"
-PR = "r11"
+PR = "r12"
 LICENSE = "MIT"
 
 inherit packagegroup
@@ -37,11 +37,6 @@  RDEPENDS_packagegroup-self-hosted-host-tools = "\
     genext2fs \
     hdparm \
     iptables \
-    kernel-module-tun \
-    kernel-module-iptable-raw \
-    kernel-module-iptable-nat \
-    kernel-module-iptable-mangle \
-    kernel-module-iptable-filter \
     lsb \
     mc \
     parted \
@@ -50,6 +45,14 @@  RDEPENDS_packagegroup-self-hosted-host-tools = "\
     vte \
     "
 
+RRECOMMENDS_packagegroup-self-hosted-host-tools = "\
+    kernel-module-tun \
+    kernel-module-iptable-raw \
+    kernel-module-iptable-nat \
+    kernel-module-iptable-mangle \
+    kernel-module-iptable-filter \
+	"
+
 # eglibc-utils: for rpcgen
 RDEPENDS_packagegroup-self-hosted-sdk = "\
     autoconf \