| Summary: | LSB 4.1: absent locale packages in lsb image | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Xiaofeng Yan <Xiaofeng.yan> |
| Component: | graphics | Assignee: | Xiaofeng Yan <Xiaofeng.yan> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, sgw |
| Version: | 1.0 | ||
| Target Milestone: | 1.1 | ||
| Hardware: | mpc8315e-rdb | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Xiaofeng Yan
2011-03-10 18:38:28 UTC
Add eglibc-binary-*, eglibc-charmps-*, eglibc-gconv-*, eglibc-localedata-* to task-poky-lsb.bb.
Owing to there are thousands of packages related to locale, So we can add four variables to instead of above packages.
yan@usp-ub1004-x86:/buildarea2/yxf/poky_work/poky/meta/recipes-core/eglibc$ diff -Nur eglibc-package.inc eglibc-package.inc.new
--- eglibc-package.inc 2011-03-02 17:22:43.793361064 +0800
+++ eglibc-package.inc.new 2011-03-04 13:14:25.480863298 +0800
@@ -44,6 +44,27 @@
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 and p != "localedef"])}"
+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}-localesdatas"
+RRECOMMENDS_${PN}-localesdatas = "${@" ".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"
I think the patch you write below can resolve this bug, but it seems you havn't sent it out yet, do you have a plan to send it out recently? (In reply to comment #1) > Add eglibc-binary-*, eglibc-charmps-*, eglibc-gconv-*, eglibc-localedata-* to > task-poky-lsb.bb. > Owing to there are thousands of packages related to locale, So we can add four > variables to instead of above packages. > yan@usp-ub1004-x86:/buildarea2/yxf/poky_work/poky/meta/recipes-core/eglibc$ > diff -Nur eglibc-package.inc eglibc-package.inc.new > --- eglibc-package.inc 2011-03-02 17:22:43.793361064 +0800 > +++ eglibc-package.inc.new 2011-03-04 13:14:25.480863298 +0800 > @@ -44,6 +44,27 @@ > 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 and p != "localedef"])}" > +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}-localesdatas" > +RRECOMMENDS_${PN}-localesdatas = "${@" ".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" I have pushed it to branch poky-contribute, Saul could merge it to poky in yocto 1.1 (In reply to comment #2) > I think the patch you write below can resolve this bug, but it seems you havn't > sent it out yet, do you have a plan to send it out recently? > (In reply to comment #1) > > Add eglibc-binary-*, eglibc-charmps-*, eglibc-gconv-*, eglibc-localedata-* to > > task-poky-lsb.bb. > > Owing to there are thousands of packages related to locale, So we can add four > > variables to instead of above packages. > > yan@usp-ub1004-x86:/buildarea2/yxf/poky_work/poky/meta/recipes-core/eglibc$ > > diff -Nur eglibc-package.inc eglibc-package.inc.new > > --- eglibc-package.inc 2011-03-02 17:22:43.793361064 +0800 > > +++ eglibc-package.inc.new 2011-03-04 13:14:25.480863298 +0800 > > @@ -44,6 +44,27 @@ > > 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 and p != "localedef"])}" > > +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}-localesdatas" > > +RRECOMMENDS_${PN}-localesdatas = "${@" ".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" locale have been merged. It can pass lsb test by test verification |