[OE-core] [PATCH 1/2] run-postinsts: remove the init script after a clean start-up
If we enable ipk/deb package back-end, and we have 'package-management' in our IMAGE_FEATURES, then the /etc/rcS.d/S99run-postinsts would still exist in our system after a clean start-up. The initial design for run-postinsts requires the related init script to be removed if there's no more post-install script left in the system. This patch fixes this problem. [YOCTO #5718] Signed-off-by: Chen Qi --- .../run-postinsts/run-postinsts/run-postinsts | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts index c94c3e9..11141ec 100755 --- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts +++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts @@ -16,7 +16,16 @@ for pm in rpm deb ipk; do fi done -[ -z "$pi_dir" ] && exit 0 +remove_rcsd_link () { + if [ -n "`which update-rc.d`" ]; then + update-rc.d -f run-postinsts remove + fi +} + +if [ -z "$pi_dir" ]; then + remove_rcsd_link + exit 0 +fi [ -e #SYSCONFDIR#/default/postinst ] && . #SYSCONFDIR#/default/postinst @@ -43,7 +52,5 @@ done # and the rcS.d link if [ $remove_pi_dir = 1 ]; then rm -rf $pi_dir - if [ -n "`which update-rc.d`" ]; then - update-rc.d -f run-postinsts remove - fi + remove_rcsd_link fi -- 1.7.9.5 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/2] Fixes for run-postinsts in sysvinit and systemd
The following changes since commit 1b636173ca88e5ccca1992f9a12367a1189fa674: bitbake: toaster: Toaster GUI, generic search, filter and order (2014-01-10 15:20:26 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/run-postinsts-fixes http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/run-postinsts-fixes Chen Qi (2): run-postinsts: remove the init script after a clean start-up systemd-compat-units: make run-postinsts.service work correctly on target meta/recipes-core/systemd/systemd-compat-units.bb |8 .../systemd-compat-units/run-postinsts.service |4 ++-- .../run-postinsts/run-postinsts/run-postinsts | 15 +++ 3 files changed, 13 insertions(+), 14 deletions(-) -- 1.7.9.5 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/2] systemd-compat-units: make run-postinsts.service work correctly on target
If we are using systemd as the init manager and rpm as the package back-end, then the post-install script would not run at system start-up. The problem is that we now have two init scripts to deal with post-install scripts in our system. They are installed as /etc/rcS.d/S98run-postinsts and /etc/rcS.d/S99run-postinsts respectively, however, the run-postinsts.service in systemd only deals with the former one. This patch fixes this problem to make run-postinsts.service work correctly for the three package back-ends with/without 'package-management' in the IMAGE_FEATURES. This patch also hardcodes 98 and 99 instead of using POSTINSTALL_INITPOSITION because using that variable doesn't bring anything useful. [YOCTO #5719] Signed-off-by: Chen Qi --- meta/recipes-core/systemd/systemd-compat-units.bb |8 .../systemd-compat-units/run-postinsts.service |4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb b/meta/recipes-core/systemd/systemd-compat-units.bb index 9f28283..5a6adb2 100644 --- a/meta/recipes-core/systemd/systemd-compat-units.bb +++ b/meta/recipes-core/systemd/systemd-compat-units.bb @@ -14,8 +14,6 @@ SRC_URI = "file://*.service" do_install() { install -d ${D}${systemd_unitdir}/system/basic.target.wants install -d ${D}${systemd_unitdir}/system/sysinit.target.wants/ - sed -i -e 's,@POSTINSTALL_INITPOSITION@,${POSTINSTALL_INITPOSITION},g' \ - ${WORKDIR}/run-postinsts.service install -m 0644 ${WORKDIR}/run-postinsts.service ${D}${systemd_unitdir}/system ln -sf ../run-postinsts.service ${D}${systemd_unitdir}/system/basic.target.wants/ ln -sf ../run-postinsts.service ${D}${systemd_unitdir}/system/sysinit.target.wants/ @@ -50,9 +48,3 @@ pkg_postinst_${PN} () { FILES_${PN} = "${systemd_unitdir}/system ${bindir}" RDPEPENDS_${PN} = "systemd" - -# Define a variable to allow distros to run configure earlier. -# (for example, to enable loading of ethernet kernel modules before networking starts) -# note: modifying name or default value for POSTINSTALL_INITPOSITION requires -# changes in opkg.inc -POSTINSTALL_INITPOSITION ?= "98" diff --git a/meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service b/meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service index 35cf3d3..1dc7b1a 100644 --- a/meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service +++ b/meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service @@ -1,12 +1,12 @@ [Unit] Description=Run pending postinsts DefaultDependencies=no -ConditionPathExists=|/etc/rcS.d/S@POSTINSTALL_INITPOSITION@run-postinsts +ConditionPathExistsGlob=/etc/rcS.d/S*run-postinsts After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount Before=sysinit.target [Service] -ExecStart=/etc/rcS.d/S@POSTINSTALL_INITPOSITION@run-postinsts +ExecStart=-/etc/rcS.d/S98run-postinsts ; -/etc/rcS.d/S99run-postinsts RemainAfterExit=No Type=oneshot StandardOutput=syslog -- 1.7.9.5 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] sudo: upgrade to 1.8.9p1
Upgrade sudo from 1.8.8 to 1.8.9p1. This patch adds include/queue.h to the LIC_FILES_CHECKSUM because it's specified in the doc/LICENSE file. Signed-off-by: Chen Qi --- meta/recipes-extended/sudo/sudo.inc|5 +++-- .../sudo/{sudo_1.8.8.bb => sudo_1.8.9p1.bb}|4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) rename meta/recipes-extended/sudo/{sudo_1.8.8.bb => sudo_1.8.9p1.bb} (83%) diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc index 80357eb..0aa5193 100644 --- a/meta/recipes-extended/sudo/sudo.inc +++ b/meta/recipes-extended/sudo/sudo.inc @@ -4,12 +4,13 @@ HOMEPAGE = "http://www.sudo.ws"; BUGTRACKER = "http://www.sudo.ws/bugs/"; SECTION = "admin" LICENSE = "ISC & BSD & Zlib" -LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=47ae0be3bf895c0bb885fae7e1e83a47 \ +LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=923752f88decdea9d69f92fe42c2af80 \ file://plugins/sudoers/redblack.c;beginline=1;endline=41;md5=e2dbb155fc49beea947515300bab99e0 \ file://compat/fnmatch.c;beginline=3;endline=27;md5=67f83ee9bd456557397082f8f1be0efd \ file://compat/getcwd.c;beginline=5;endline=27;md5=449af4cc57fc7d46f42090608ba3e681 \ file://compat/glob.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \ - file://compat/snprintf.c;beginline=6;endline=31;md5=c98b24f02967c095d7a70ae2e4d4d4ea" + file://compat/snprintf.c;beginline=6;endline=31;md5=c98b24f02967c095d7a70ae2e4d4d4ea \ + file://include/queue.h;beginline=5;endline=27;md5=449af4cc57fc7d46f42090608ba3e681" inherit autotools diff --git a/meta/recipes-extended/sudo/sudo_1.8.8.bb b/meta/recipes-extended/sudo/sudo_1.8.9p1.bb similarity index 83% rename from meta/recipes-extended/sudo/sudo_1.8.8.bb rename to meta/recipes-extended/sudo/sudo_1.8.9p1.bb index 6ab072f..b3c2086 100644 --- a/meta/recipes-extended/sudo/sudo_1.8.8.bb +++ b/meta/recipes-extended/sudo/sudo_1.8.9p1.bb @@ -5,8 +5,8 @@ SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ PAM_SRC_URI = "file://sudo.pam" -SRC_URI[md5sum] = "fc4f074090afd56d9ff4ff4e97321971" -SRC_URI[sha256sum] = "9f911c1e9297fb8006deb52fa81197a8d06b9d54e70672f723c467ecae992fc9" +SRC_URI[md5sum] = "03773c373082843211c96df2c9187146" +SRC_URI[sha256sum] = "c22089aa1023233bf27808e8f7611b6b4c4fec2d151616179e1898876703cd51" DEPENDS += " ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" RDEPENDS_${PN} += " ${@base_contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" -- 1.7.9.5 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] sudo: upgrade to 1.8.9p1
The following changes since commit 1b636173ca88e5ccca1992f9a12367a1189fa674: bitbake: toaster: Toaster GUI, generic search, filter and order (2014-01-10 15:20:26 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/sudo-1.8.9p1 http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/sudo-1.8.9p1 Chen Qi (1): sudo: upgrade to 1.8.9p1 meta/recipes-extended/sudo/sudo.inc|5 +++-- .../sudo/{sudo_1.8.8.bb => sudo_1.8.9p1.bb}|4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) rename meta/recipes-extended/sudo/{sudo_1.8.8.bb => sudo_1.8.9p1.bb} (83%) -- 1.7.9.5 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/1] acl: enable ptest support
You need to add 'acl' to DISTRO_FEATURES to enable acl support for coreutils. Best Regards, Chen Qi On 01/13/2014 10:28 AM, Lu Chong wrote: On 01/11/2014 01:21 AM, Saul Wold wrote: On 01/10/2014 01:13 AM, Chong Lu wrote: Install acl test suite and run it as ptest. nfs test cases need depend on nfs service. So exclude them order to make ptest all pass. Signed-off-by: Chong Lu --- meta/recipes-support/attr/acl.inc | 15 +- .../attr/acl/acl-make-ptest-pass.patch | 457 + meta/recipes-support/attr/acl/run-ptest| 5 + 3 files changed, 476 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/attr/acl/acl-make-ptest-pass.patch create mode 100644 meta/recipes-support/attr/acl/run-ptest diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc index a461232..4bacf80 100644 --- a/meta/recipes-support/attr/acl.inc +++ b/meta/recipes-support/attr/acl.inc @@ -9,7 +9,10 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \ file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764" DEPENDS = "attr" -SRC_URI = "http://download.savannah.gnu.org/releases/acl/${BP}.src.tar.gz"; +SRC_URI = "http://download.savannah.gnu.org/releases/acl/${BP}.src.tar.gz \ + file://acl-make-ptest-pass.patch \ + file://run-ptest \ +" require ea-acl.inc @@ -24,3 +27,13 @@ do_install_append() { sed -i ${D}${libdir}/libacl.la -e \ s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\', } + +inherit ptest + +do_install_ptest() { +tar -cf - test/ --exclude nfs | ( cd ${D}${PTEST_PATH} && tar -xf - ) +mkdir ${D}${PTEST_PATH}/include +cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/ +} + +RDEPENDS_${PN}-ptest = "coreutils perl-module-filehandle perl-module-getopt-std perl-module-posix" diff --git a/meta/recipes-support/attr/acl/acl-make-ptest-pass.patch b/meta/recipes-support/attr/acl/acl-make-ptest-pass.patch new file mode 100644 index 000..89c03c2 --- /dev/null +++ b/meta/recipes-support/attr/acl/acl-make-ptest-pass.patch @@ -0,0 +1,457 @@ +acl: make ptest pass + +Upstream-Status: Inappropriate [embedded specific] + +The daemon user must be a member in the bin group, else permissions.test +will fail. So add daemon user to bin group. +Many results of `ls' are incorrect in some test cases, modify them to make +ptest pass. + This does not seem quite right, you don't just change the tests to "make ptest pass" What's wrong with the output of ls? Is this because it's using busybox's ls instead of coreutils version of ls? If that's the case then we should really have the acl-ptest package have an RDEPENDS on coreutils. Sau! Saul, I have already added coreutils in RDEPENDS. But it still failed. Many failures have the same reason. In target, the result of `ls -l' command likes: -rw-rw-r-- But test cases need result: -rw-rw-r--+ In fact, after set acl, the correct result of `ls -l' should have "+" character. But it doesn't have "+" in target. root@qemuarm:~# which ls /bin/ls root@qemuarm:~# ls -l /bin/ls lrwxrwxrwx 1 root root 17 Jan 10 08:20 /bin/ls -> /bin/ls.coreutils root@qemuarm:~# rpm -qa |grep coreutils coreutils-8.22-r0.armv5te root@qemuarm:~# touch f root@qemuarm:~# setfacl -m u:bin:rw f root@qemuarm:~# getfacl f # file: f # owner: root # group: root user::rw- user:bin:rw- group::r-- mask::rw- other::--- root@qemuarm:~# ls -l total 0 -rw-rw 1 root root 0 Jan 13 02:22 f So, in order to ignore failure, I modify the result of `ls -l'. Best Regards Chong +Signed-off-by: Chong Lu +--- + test/Makefile |2 +- + test/cp.test |8 ++--- + test/misc.test | 86 ++-- + test/root/permissions.test |2 +- + test/root/setfacl.test |2 +- + test/sbits-restore.test|6 ++-- + 6 files changed, 53 insertions(+), 53 deletions(-) + +diff --git a/test/Makefile b/test/Makefile +index d2baac8..6063a56 100644 +--- a/test/Makefile b/test/Makefile +@@ -42,7 +42,7 @@ $(NFS): + @echo "NFS specific tests"; echo "*** $@ ***"; perl run $@ + + $(ROOT): +-@echo "Note: Tests must run as root"; echo "*** $@ ***"; perl run $@ ++@echo "Note: Tests must run as root"; echo "*** $@ ***"; usermod -G bin daemon; perl run $@ + + .PHONY: $(TESTS) $(NFS) $(ROOT) + .NOTPARALLEL: +diff --git a/test/cp.test b/test/cp.test +index 0867f63..54bee3b 100644 +--- a/test/cp.test b/test/cp.test +@@ -6,16 +6,16 @@ The cp utility should only copy ACLs if `-p' is given. + $ touch f + $ setfacl -m u:bin:rw f + $ ls -l f | awk -- '{ print $1 }' +-> -rw-rw-r--+ ++> -rw-rw-r-- + + $ cp f g +-$ ls -l g | awk -- '{ print $1 }' | sed 's/\.$//g' ++$ ls -l g | awk -- '
Re: [OE-core] [PATCH 1/1] acl: enable ptest support
On 01/11/2014 01:21 AM, Saul Wold wrote: On 01/10/2014 01:13 AM, Chong Lu wrote: Install acl test suite and run it as ptest. nfs test cases need depend on nfs service. So exclude them order to make ptest all pass. Signed-off-by: Chong Lu --- meta/recipes-support/attr/acl.inc | 15 +- .../attr/acl/acl-make-ptest-pass.patch | 457 + meta/recipes-support/attr/acl/run-ptest| 5 + 3 files changed, 476 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/attr/acl/acl-make-ptest-pass.patch create mode 100644 meta/recipes-support/attr/acl/run-ptest diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc index a461232..4bacf80 100644 --- a/meta/recipes-support/attr/acl.inc +++ b/meta/recipes-support/attr/acl.inc @@ -9,7 +9,10 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \ file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764" DEPENDS = "attr" -SRC_URI = "http://download.savannah.gnu.org/releases/acl/${BP}.src.tar.gz"; +SRC_URI = "http://download.savannah.gnu.org/releases/acl/${BP}.src.tar.gz \ + file://acl-make-ptest-pass.patch \ + file://run-ptest \ +" require ea-acl.inc @@ -24,3 +27,13 @@ do_install_append() { sed -i ${D}${libdir}/libacl.la -e \ s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\', } + +inherit ptest + +do_install_ptest() { +tar -cf - test/ --exclude nfs | ( cd ${D}${PTEST_PATH} && tar -xf - ) +mkdir ${D}${PTEST_PATH}/include +cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/ +} + +RDEPENDS_${PN}-ptest = "coreutils perl-module-filehandle perl-module-getopt-std perl-module-posix" diff --git a/meta/recipes-support/attr/acl/acl-make-ptest-pass.patch b/meta/recipes-support/attr/acl/acl-make-ptest-pass.patch new file mode 100644 index 000..89c03c2 --- /dev/null +++ b/meta/recipes-support/attr/acl/acl-make-ptest-pass.patch @@ -0,0 +1,457 @@ +acl: make ptest pass + +Upstream-Status: Inappropriate [embedded specific] + +The daemon user must be a member in the bin group, else permissions.test +will fail. So add daemon user to bin group. +Many results of `ls' are incorrect in some test cases, modify them to make +ptest pass. + This does not seem quite right, you don't just change the tests to "make ptest pass" What's wrong with the output of ls? Is this because it's using busybox's ls instead of coreutils version of ls? If that's the case then we should really have the acl-ptest package have an RDEPENDS on coreutils. Sau! Saul, I have already added coreutils in RDEPENDS. But it still failed. Many failures have the same reason. In target, the result of `ls -l' command likes: -rw-rw-r-- But test cases need result: -rw-rw-r--+ In fact, after set acl, the correct result of `ls -l' should have "+" character. But it doesn't have "+" in target. root@qemuarm:~# which ls /bin/ls root@qemuarm:~# ls -l /bin/ls lrwxrwxrwx 1 root root 17 Jan 10 08:20 /bin/ls -> /bin/ls.coreutils root@qemuarm:~# rpm -qa |grep coreutils coreutils-8.22-r0.armv5te root@qemuarm:~# touch f root@qemuarm:~# setfacl -m u:bin:rw f root@qemuarm:~# getfacl f # file: f # owner: root # group: root user::rw- user:bin:rw- group::r-- mask::rw- other::--- root@qemuarm:~# ls -l total 0 -rw-rw 1 root root 0 Jan 13 02:22 f So, in order to ignore failure, I modify the result of `ls -l'. Best Regards Chong +Signed-off-by: Chong Lu +--- + test/Makefile |2 +- + test/cp.test |8 ++--- + test/misc.test | 86 ++-- + test/root/permissions.test |2 +- + test/root/setfacl.test |2 +- + test/sbits-restore.test|6 ++-- + 6 files changed, 53 insertions(+), 53 deletions(-) + +diff --git a/test/Makefile b/test/Makefile +index d2baac8..6063a56 100644 +--- a/test/Makefile b/test/Makefile +@@ -42,7 +42,7 @@ $(NFS): + @echo "NFS specific tests"; echo "*** $@ ***"; perl run $@ + + $(ROOT): +-@echo "Note: Tests must run as root"; echo "*** $@ ***"; perl run $@ ++@echo "Note: Tests must run as root"; echo "*** $@ ***"; usermod -G bin daemon; perl run $@ + + .PHONY: $(TESTS) $(NFS) $(ROOT) + .NOTPARALLEL: +diff --git a/test/cp.test b/test/cp.test +index 0867f63..54bee3b 100644 +--- a/test/cp.test b/test/cp.test +@@ -6,16 +6,16 @@ The cp utility should only copy ACLs if `-p' is given. + $ touch f + $ setfacl -m u:bin:rw f + $ ls -l f | awk -- '{ print $1 }' +-> -rw-rw-r--+ ++> -rw-rw-r-- + + $ cp f g +-$ ls -l g | awk -- '{ print $1 }' | sed 's/\.$//g' ++$ ls -l g | awk -- '{ print $1 }' + > -rw-r--r-- + + $ rm g + $ cp -p f g + $ ls -l f | awk -- '{ print $1 }' +-> -rw-rw-r--+ ++> -rw-rw-r--
Re: [OE-core] GCC bugfix backport into Dora
Hi Otavio, I think that we need fix it in dora since gcc 4.8.1 is affected. // Robert On 01/11/2014 01:41 AM, Otavio Salvador wrote: Hello, The Dora branch seems to be affected by a toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57532 4.8.2 includes this bugfix and I'd like to know if it is planned anything in this direction to Dora or not? Regards, ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [dora][PATCH 0/4] Dora backports
Hi Martin, Thank you ver much, I will merge them to dora-next. // Robert On 01/09/2014 02:36 AM, Martin Jansa wrote: The following changes since commit e86622a932bbd0acdea67ecfb15c8b06c27353d8: libsoup-2.4: add intltool-native to DEPENDS (2013-12-19 14:59:47 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib jansa/dora-backports2 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/dora-backports2 Martin Jansa (1): ltp: set PREFERRED_PROVIDER and rename runtests_noltp.sh script Mike Crowe (2): Revert "kernel.bbclass: move bundle_initramfs after kernel_link_vmlinux" kernel.bbclass: Stop bundle_initramfs thwarting sstate cache and fix race Richard Purdie (1): eglibc-initial.inc: Drop duplicate include meta/classes/kernel.bbclass| 24 +-- meta/conf/distro/include/default-providers.inc | 2 + meta/recipes-core/eglibc/eglibc-initial.inc| 2 - ...tests_noltp.sh-script-so-have-unique-name.patch | 202 + meta/recipes-extended/ltp/ltp_20130503.bb | 4 +- 5 files changed, 219 insertions(+), 15 deletions(-) create mode 100644 meta/recipes-extended/ltp/ltp/0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/2] gconf.bbclass: remove --disable-schemas-install
On 01/09/2014 02:33 PM, Koen Kooi wrote: Op 8 jan. 2014, om 17:12 heeft Burton, Ross het volgende geschreven: On 7 January 2014 13:05, Robert Yang wrote: *Some* packages have migrated away from gconf to gsettings. Not all packages have done this, so anything still using gconf is now broken. Note that almost nothing in oe-core uses gsettings as we're still using the GTK+ 2 stack generally. Hi Ross, which recipe is failed, please ? A better question would be what package did you get this warning from? As I said, any recipe that did inherit gnome and still used GConf would be affected by your change. Which is over half of the meta-gnome recipes :( Sounds bad, fortunately, it had been reverted. // Robert ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [dora][PATCH 0/2] Dora backports
On 01/10/2014 07:02 PM, Martin Jansa wrote: On Fri, Jan 10, 2014 at 02:18:51PM +0800, Robert Yang wrote: Hi Martin, Thanks, please see my comments in line. On 01/06/2014 06:21 PM, Martin Jansa wrote: The following changes since commit e86622a932bbd0acdea67ecfb15c8b06c27353d8: libsoup-2.4: add intltool-native to DEPENDS (2013-12-19 14:59:47 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib jansa/dora-backports2 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/dora-backports2 Martin Jansa (1): ltp: set PREFERRED_PROVIDER and rename runtests_noltp.sh script I will take this. Richard Purdie (1): eglibc-initial.inc: Drop duplicate include It seems that this is a trivial fix, I don't think it's a good idea to merge it to dora. And the warning shown in every dora build since http://git.openembedded.org/bitbake/commit/?h=1.20&id=22e6b1c4c4afb27057689bbc94cbdf1f19f93e3d isn't important enough reason to merge it? OK, thanks to all, I will take it. // Robert // Robert meta/conf/distro/include/default-providers.inc | 2 + meta/recipes-core/eglibc/eglibc-initial.inc| 2 - ...tests_noltp.sh-script-so-have-unique-name.patch | 202 + meta/recipes-extended/ltp/ltp_20130503.bb | 4 +- 4 files changed, 207 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-extended/ltp/ltp/0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] unmaintained layers
Hi Mike, On 01/12/14 15:28, Mike Looijmans wrote: > Worse than unmaintained - this one was taken out of existence last > Friday. I've already notified Paul Eggleton, so it should removed from > the list soon. Excellent, thanks for the update :-) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] unmaintained layers
On 9-1-2014 19:45, Trevor Woerner wrote: Hi everyone, At the last TSC meeting the topic of unmaintained layers came up. Here is the sorted list of master layers from the layer index [1], would it be possible for those in the know to indicate which layers are, or are suspected of being, unmaintained? ... meta-zynq-milo Worse than unmaintained - this one was taken out of existence last Friday. I've already notified Paul Eggleton, so it should removed from the list soon. Mike. ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] State of bitbake world, Failed tasks 2014-01-03
On Fri, Jan 03, 2014 at 11:44:08AM +0100, Martin Jansa wrote: > With git branches and breakage from freetype upgrade fixed we're back to more > common list of issues. > > webkit-efl is broken because of freetype upgrade, I'm working on efl upgrade > to 1.8.* > so I'll probably fix it later together with efl upgrade. It fails even with newer webkit-efl, because it's actually broken in cmake since freetype upgrade in oe-core, fix sent: http://lists.openembedded.org/pipermail/openembedded-core/2014-January/088218.html -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] cmake: Fix freetype detection
* since last freetype upgrade cmake cannot detect it * e.g. webkit-efl requires freetype and is failing because of this Signed-off-by: Martin Jansa --- meta/recipes-devtools/cmake/cmake.inc | 1 + .../cmake/cmake/cmake-2.8.11.2-FindFreetype.patch | 47 ++ 2 files changed, 48 insertions(+) create mode 100644 meta/recipes-devtools/cmake/cmake/cmake-2.8.11.2-FindFreetype.patch diff --git a/meta/recipes-devtools/cmake/cmake.inc b/meta/recipes-devtools/cmake/cmake.inc index 69f4fe2..f76f68b 100644 --- a/meta/recipes-devtools/cmake/cmake.inc +++ b/meta/recipes-devtools/cmake/cmake.inc @@ -16,6 +16,7 @@ SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz file://aarch64-cmake.patch \ file://aarch64-kwsys.patch \ file://qt4-fail-silent.patch \ + file://cmake-2.8.11.2-FindFreetype.patch \ " inherit autotools diff --git a/meta/recipes-devtools/cmake/cmake/cmake-2.8.11.2-FindFreetype.patch b/meta/recipes-devtools/cmake/cmake/cmake-2.8.11.2-FindFreetype.patch new file mode 100644 index 000..1b523c0 --- /dev/null +++ b/meta/recipes-devtools/cmake/cmake/cmake-2.8.11.2-FindFreetype.patch @@ -0,0 +1,47 @@ +From: Julian Ospald +Date: Sun Dec 8 13:38:06 UTC 2013 +Subject: fix check for freetype-2.5.1 + +Upstream-Status: Submitted http://www.cmake.org/Bug/view.php?id=14601 + +Signed-off-by: Martin Jansa + +--- old/Modules/FindFreetype.cmake new/Modules/FindFreetype.cmake +@@ -64,6 +64,19 @@ + PATH_SUFFIXES include/freetype2 include + ) + ++if(NOT FREETYPE_INCLUDE_DIR_freetype2) ++ find_path(FREETYPE_INCLUDE_DIR_freetype2 config/ftheader.h ++HINTS ++ ENV FREETYPE_DIR ++PATHS ++ /usr/X11R6 ++ /usr/local/X11R6 ++ /usr/local/X11 ++ /usr/freeware ++PATH_SUFFIXES include/freetype2 include ++ ) ++endif() ++ + find_library(FREETYPE_LIBRARY + NAMES freetype libfreetype freetype219 + HINTS +@@ -82,8 +95,14 @@ + endif() + set(FREETYPE_LIBRARIES "${FREETYPE_LIBRARY}") + +-if(FREETYPE_INCLUDE_DIR_freetype2 AND EXISTS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h") +-file(STRINGS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h" freetype_version_str ++if(EXISTS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h") ++ set(FREETYPE_H "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h") ++elseif(EXISTS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype.h") ++ set(FREETYPE_H "${FREETYPE_INCLUDE_DIR_freetype2}/freetype.h") ++endif() ++ ++if(FREETYPE_INCLUDE_DIR_freetype2 AND FREETYPE_H) ++file(STRINGS "${FREETYPE_H}" freetype_version_str + REGEX "^#[\t ]*define[\t ]+FREETYPE_(MAJOR|MINOR|PATCH)[\t ]+[0-9]+$") + + unset(FREETYPE_VERSION_STRING) -- 1.8.5.2 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core