Skip to contentSkip to conversation

systemd: binfmt should be added to SYSTEMD_PACKAGES only if binfmt is enabled

PATCH In review Herve Jourdain 2 participants 3 messages Mar 7, 2016 – Mar 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: binfmt should be added to SYSTEMD_PACKAGES only if binfmt is enabled

V2

---
 meta/recipes-core/systemd/systemd_229.bb | 2 ++--
 1 file changed, 1 insertions(+), 1 deletions(-)
(quoted diff) +0 -0

b/meta/recipes-core/systemd/systemd_229.bb
index 16af0ac..a537dd3 100644

meta/recipes-core/systemd/systemd_229.bb +1 -1
@@ -298,7 +298,7 @@ PACKAGES =+ "\
     ${PN}-extra-utils \
 "
 
-SYSTEMD_PACKAGES = "${PN}-binfmt"
+SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt',

'${PN}-binfmt', '', d)}"
SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service"

USERADD_PACKAGES = "${PN}"
--
1.9.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#1 lore raw

Your mailer (Outlook, by the look of it) is corrupting patches (wraps lines when they shouldn't be wrapped), in the future please don't send patches by pasting them into an email but use git-send-email if you can, or attach the patch if you can't. For a one-liner I could fix up the patch by hand so you don't need to re-send this one.

Ross

Quoted 34 lines · Herve Jourdain

V2

---
 meta/recipes-core/systemd/systemd_229.bb | 2 ++--
 1 file changed, 1 insertions(+), 1 deletions(-)
meta/recipes-core/systemd/systemd_229.bb +1 -1
index 16af0ac..a537dd3 100644
@@ -298,7 +298,7 @@ PACKAGES =+ "\
     ${PN}-extra-utils \
 "
 
-SYSTEMD_PACKAGES = "${PN}-binfmt"
+SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt',

'${PN}-binfmt', '', d)}"
SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service"

USERADD_PACKAGES = "${PN}"
--
1.9.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw

Hi Ross,

Duly noted, actually I tried several times through git-send-email, but it didn’t go through… I’m trying to figure out how to have it working in my configuration, but as a last resort I turned to Oulook…

Until I fix my configuration, if I have other patches to send, I’ll follow your suggestion and attach the patch to the email.

Thanks,

Herve

From: Burton, Ross [mailto:[email protected]]
Sent: lundi 7 mars 2016 17:16
To: Herve Jourdain <[email protected]>
Cc: OE-core <[email protected]>
Subject: Re: [OE-core] [meta-oe][PATCH] systemd: binfmt should be added to SYSTEMD_PACKAGES only if binfmt is enabled

Your mailer (Outlook, by the look of it) is corrupting patches (wraps lines when they shouldn't be wrapped), in the future please don't send patches by pasting them into an email but use git-send-email if you can, or attach the patch if you can't. For a one-liner I could fix up the patch by hand so you don't need to re-send this one.

Ross

On 7 March 2016 at 15:59, Herve Jourdain <[email protected] <mailto:[email protected]> > wrote:

V2

Signed-off-by Herve Jourdain <[email protected] <mailto:[email protected]> >
---
 meta/recipes-core/systemd/systemd_229.bb <http://systemd_229.bb>  | 2 ++--
 1 file changed, 1 insertions(+), 1 deletions(-)
<http://systemd_229.bb> renamed from meta/recipes-core/systemd/systemd_229.bb +0 -0

b/meta/recipes-core/systemd/systemd_229.bb <http://systemd_229.bb>
index 16af0ac..a537dd3 100644

meta/recipes-core/systemd/systemd_229.bb <http://systemd_229.bb> +1 -1
@@ -298,7 +298,7 @@ PACKAGES =+ "\
     ${PN}-extra-utils \
 "
 
-SYSTEMD_PACKAGES = "${PN}-binfmt"
+SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', <mailto:$%[email protected]('PACKAGECONFIG',%20'binfmt',%0b'$%7bPN%7d-binfmt',%20'',%20d)%7d> 

'${PN}-binfmt', '', d)}"
SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service"

USERADD_PACKAGES = "${PN}"
--
1.9.1
--
_______________________________________________
Openembedded-core mailing list
[email protected] <mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
_______________________________________________
Openembedded-core mailing list
[email protected] <mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-core