Skip to contentSkip to conversation

Add four variables to eglibc-package.inc for installing packages relating to locale

PATCH In review Xiaofeng Yan 3 participants 4 messages Apr 8, 2011 – Apr 18, 2011

lore
Share & tools
lore
#0 lore raw

cover Add four variables to eglibc-package.inc for installing packages relating to locale

From: Xiaofeng Yan <[email protected]>

Because there are thousands of packages about locale which needed by LSB Test Suite in our poky rpms. So for installing them to lsb-image easy I define four variables which instead of thousands of locale packages in list task-poky-lsb.bb

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/eglibc-package.inc
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/eglibc-package.inc

Thanks,
Xiaofeng Yan <[email protected]>
---

Xiaofeng Yan (1):
eglibc-package.inc: Add eglibc-binarys, eglibc-localedatas,
eglibc-gconvs and eglibc-charmps to variable PACKAGE

 meta/recipes-core/eglibc/eglibc-package.inc |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
#1 lore raw

PATCH 1/1 eglibc-package.inc: Add eglibc-binarys, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE

From: Xiaofeng Yan <[email protected]>

The purpose to add above variables is for installing them to lsb-image easy. or not these packages about locale will occupy too much space in list taks-poky-lsb.bb eglibc-binarys include packages "eglibc-binary-*"
eglibc-localedatas include packages "eglibc-localedata-*"
eglibc-gconvs include packages "eglibc-gconv-*"
eglibc-charmaps include packages "eglibc-charmap-*"

---
 meta/recipes-core/eglibc/eglibc-package.inc |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
meta/recipes-core/eglibc/eglibc-package.inc +20 -0
index 01275aa..0b59d63 100644
@@ -44,6 +44,26 @@ PACKAGES_DYNAMIC = " \
 		    eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \
 		    locale-base-*${PKGSUFFIX}"
 
+# Create a eglibc-binarys
+ALLOW_EMPTY_${PN}-binarys = "1"
+PACKAGES += "${PN}-binarys"
+RRECOMMENDS_${PN}-binarys =  "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-binary") != -1])}"
+
+# Create a eglibc-charmaps package 
+ALLOW_EMPTY_${PN}-charmaps = "1"
+PACKAGES += "${PN}-charmaps"
+RRECOMMENDS_${PN}-charmaps =  "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-charmap") != -1])}"
+
+# Create a eglibc-gconvs package 
+ALLOW_EMPTY_${PN}-gconvs = "1"
+PACKAGES += "${PN}-gconvs"
+RRECOMMENDS_${PN}-gconvs =  "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-gconv") != -1])}"
+
+# Create a eglibc-localedatas package 
+ALLOW_EMPTY_${PN}-localedatas = "1"
+PACKAGES += "${PN}-localedatas"
+RRECOMMENDS_${PN}-localedatas =  "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}"
+
 RPROVIDES_eglibc = "glibc"
 RPROVIDES_eglibc-utils = "glibc-utils"
 RPROVIDES_eglibc-pic = "glibc-pic"
Signature · 1 line
1.7.0.4
#2 lore raw

Re: [PATCH 1/1] eglibc-package.inc: Add eglibc-binarys, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE

Hello,

Quoted 3 lines · Xiaofeng Yan

The purpose to add above variables is for installing them to lsb-image easy. or not these packages about locale will occupy too much space in list  taks-poky-lsb.bb eglibc-binarys include packages "eglibc-binary-*"

Rename eglibc-binary to eglibc-binaries.

Can a native English speaker comment on this pls?

Regards,

Signature · 1 line
Leon
#3 lore raw
In reply to Xiaofeng Yan
Quoted 17 lines · Xiaofeng Yan

From: Xiaofeng Yan<[email protected]>

Because there are thousands of packages about locale which needed by LSB Test Suite in our poky rpms. So for installing them to lsb-image easy I define four variables which instead of thousands of locale packages in list task-poky-lsb.bb

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/eglibc-package.inc
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/eglibc-package.inc

Thanks,
Xiaofeng Yan<[email protected]>
---

Xiaofeng Yan (1):
eglibc-package.inc: Add eglibc-binarys, eglibc-localedatas,
eglibc-gconvs and eglibc-charmps to variable PACKAGE

Quoted 8 lines
  meta/recipes-core/eglibc/eglibc-package.inc |   20 ++++++++++++++++++++
  1 files changed, 20 insertions(+), 0 deletions(-)

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky

Merged

Thanks
Sau!