Re: [yocto] libcap compile error
Khem Raj schreef op 2017-10-24 18:22: it seems you might be using uclibc, and xattr is absent in DISTRO_FEATURES, add DISTRO_FEATURES_append = " xattr" in your conf/local.conf and see if that helps. Hi, This did indeed resolve that issue. Unfortunately it didn't take long for another compile error to pop up. I'm investigating my options for moving to a more modern Yocto release. I hope that will prove to be more useable. Thanks for the suggestion. Kind regards, Remco Poelstra -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] How to disable dropbear start on boot
> How to disable dropbear start on boot? Perhaps changes on INITSCRIPT_PARAMS in the original recipe are possible. > And what ist the preferred way to change DROPBEAR_RSAKEY_DEFAULT? Using devtool and modify the orig recipe is possible. -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-mono][PATCH] mono-4.xx: compiling mono 4 with btls requires cmake
This was probably working before pyro and the recipes specific sysroots. Signed-off-by: Pascal Bach --- recipes-mono/mono/mono-4.xx.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-mono/mono/mono-4.xx.inc b/recipes-mono/mono/mono-4.xx.inc index e06fac7..cf9170b 100644 --- a/recipes-mono/mono/mono-4.xx.inc +++ b/recipes-mono/mono/mono-4.xx.inc @@ -4,7 +4,7 @@ HOMEPAGE = "http://mono-project.com"; BUGTRACKER = "http://bugzilla.xamarin.com/"; SECTION = "devel" -DEPENDS = "zlib" +DEPENDS = "zlib cmake-native" SRC_URI = "http://download.mono-project.com/sources/mono/mono-${PV}.tar.bz2 \ file://dllmap-config.in.diff \ -- 2.1.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-oracle-java][PATCH 1/2] Fix do_populate_sysroot: sstate found an absolute path symlink
Signed-off-by: Vincent Prince --- recipes-devtools/oracle-java/oracle-jse-jdk.inc | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc b/recipes-devtools/oracle-java/oracle-jse-jdk.inc index a7210d9..11fe17b 100644 --- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc +++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc @@ -12,16 +12,16 @@ JDK_JRE = "jdk" require oracle-jse.inc do_install_class-native() { - install -d ${D}${libdir_jvm} - cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} + install -d ${D}${libdir_jvm} + cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} - install -d ${D}${bindir} - ln -sf ${JDK_HOME}/bin/java ${D}${bindir} - ln -sf ${JDK_HOME}/bin/javac${D}${bindir} + install -d ${D}${bindir} + ln -sf ${D}${JDK_HOME}/bin/java ${D}${bindir} + ln -sf ${D}${JDK_HOME}/bin/javac ${D}${bindir} - install -d ${D}${JDK_HOME}/bin - ln -sf javah${D}${JDK_HOME}/bin/gjavah - ln -sf jar ${D}${JDK_HOME}/bin/fastjar + install -d ${D}${JDK_HOME}/bin + ln -sf javah ${D}${JDK_HOME}/bin/gjavah + ln -sf jar ${D}${JDK_HOME}/bin/fastjar } BBCLASSEXTEND = "native" -- 2.7.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-oracle-java][PATCH 2/2] On headless arm, do_package() complains about missing libX11.so.6 provider.
Full JRE created by jrecreate contains awt/swing dynamic libraries linked to libx11. This patch creates a compact JRE without those libraries. Signed-off-by: Vincent Prince --- recipes-devtools/oracle-java/oracle-jse-ejre.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/oracle-java/oracle-jse-ejre.inc b/recipes-devtools/oracle-java/oracle-jse-ejre.inc index d7a4b33..0b0d978 100644 --- a/recipes-devtools/oracle-java/oracle-jse-ejre.inc +++ b/recipes-devtools/oracle-java/oracle-jse-ejre.inc @@ -21,5 +21,5 @@ LIC_FILES_CHKSUM = "\ do_compile() { DEST=${S}/${JDK_JRE}${PV}_${PV_UPDATE} rm -rf ${DEST} - JAVA_HOME=${STAGING_DIR_NATIVE}/${JDK_HOME} ejdk${PV}_${PV_UPDATE}/bin/jrecreate.sh --dest ${DEST} + JAVA_HOME=${STAGING_DIR_NATIVE}/${JDK_HOME} ejdk${PV}_${PV_UPDATE}/bin/jrecreate.sh --profile compact3 --vm all --extension locales --dest ${DEST} } -- 2.7.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-oracle-java][PATCH 1/2] Fix do_populate_sysroot: sstate found an absolute path symlink
I was mistaken, following patch fixes it for real Signed-off-by: Vincent Prince --- recipes-devtools/oracle-java/oracle-jse-jdk.inc | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc b/recipes-devtools/oracle-java/oracle-jse-jdk.inc index a7210d9..1092a34 100644 --- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc +++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc @@ -12,16 +12,16 @@ JDK_JRE = "jdk" require oracle-jse.inc do_install_class-native() { - install -d ${D}${libdir_jvm} + install -d ${D}${libdir_jvm} cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} - install -d ${D}${bindir} - ln -sf ${JDK_HOME}/bin/java ${D}${bindir} - ln -sf ${JDK_HOME}/bin/javac${D}${bindir} + install -d ${D}${bindir} + ln -sf ../lib/jvm/${JDK_DIR}/bin/java ${D}${bindir} + ln -sf ../lib/jvm/${JDK_DIR}/bin/javac ${D}${bindir} - install -d ${D}${JDK_HOME}/bin - ln -sf javah${D}${JDK_HOME}/bin/gjavah - ln -sf jar ${D}${JDK_HOME}/bin/fastjar + install -d ${D}${JDK_HOME}/bin + ln -sf javah${D}${JDK_HOME}/bin/gjavah + ln -sf jar ${D}${JDK_HOME}/bin/fastjar } BBCLASSEXTEND = "native" -- 2.7.4 2017-10-27 14:18 GMT+02:00 Vincent Prince : > Signed-off-by: Vincent Prince > --- > recipes-devtools/oracle-java/oracle-jse-jdk.inc | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc > b/recipes-devtools/oracle-java/oracle-jse-jdk.inc > index a7210d9..11fe17b 100644 > --- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc > +++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc > @@ -12,16 +12,16 @@ JDK_JRE = "jdk" > require oracle-jse.inc > > do_install_class-native() { > - install -d ${D}${libdir_jvm} > - cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} > + install -d ${D}${libdir_jvm} > + cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} > > - install -d ${D}${bindir} > - ln -sf ${JDK_HOME}/bin/java ${D}${bindir} > - ln -sf ${JDK_HOME}/bin/javac${D}${bindir} > + install -d ${D}${bindir} > + ln -sf ${D}${JDK_HOME}/bin/java ${D}${bindir} > + ln -sf ${D}${JDK_HOME}/bin/javac ${D}${bindir} > > - install -d ${D}${JDK_HOME}/bin > - ln -sf javah${D}${JDK_HOME}/bin/gjavah > - ln -sf jar ${D}${JDK_HOME}/bin/fastjar > + install -d ${D}${JDK_HOME}/bin > + ln -sf javah ${D}${JDK_HOME}/bin/gjavah > + ln -sf jar ${D}${JDK_HOME}/bin/fastjar > } > > BBCLASSEXTEND = "native" > -- > 2.7.4 > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-oracle-java][PATCH 1/2] Fix do_populate_sysroot: sstate found an absolute path symlink
On Fri, Oct 27, 2017 at 9:47 AM, Vincent Prince wrote: > I was mistaken, following patch fixes it for real > > Signed-off-by: Vincent Prince > --- > recipes-devtools/oracle-java/oracle-jse-jdk.inc | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc > b/recipes-devtools/oracle-java/oracle-jse-jdk.inc > index a7210d9..1092a34 100644 > --- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc > +++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc > @@ -12,16 +12,16 @@ JDK_JRE = "jdk" > require oracle-jse.inc > > do_install_class-native() { > - install -d ${D}${libdir_jvm} > + install -d ${D}${libdir_jvm} This change is not relevant here I think. > cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} > > - install -d ${D}${bindir} > - ln -sf ${JDK_HOME}/bin/java ${D}${bindir} > - ln -sf ${JDK_HOME}/bin/javac${D}${bindir} > + install -d ${D}${bindir} > + ln -sf ../lib/jvm/${JDK_DIR}/bin/java ${D}${bindir} > + ln -sf ../lib/jvm/${JDK_DIR}/bin/javac ${D}${bindir} > > - install -d ${D}${JDK_HOME}/bin > - ln -sf javah${D}${JDK_HOME}/bin/gjavah > - ln -sf jar ${D}${JDK_HOME}/bin/fastjar > + install -d ${D}${JDK_HOME}/bin > + ln -sf javah${D}${JDK_HOME}/bin/gjavah > + ln -sf jar ${D}${JDK_HOME}/bin/fastjar > } > > BBCLASSEXTEND = "native" > -- > 2.7.4 > > 2017-10-27 14:18 GMT+02:00 Vincent Prince : >> Signed-off-by: Vincent Prince >> --- >> recipes-devtools/oracle-java/oracle-jse-jdk.inc | 16 >> 1 file changed, 8 insertions(+), 8 deletions(-) >> >> diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc >> b/recipes-devtools/oracle-java/oracle-jse-jdk.inc >> index a7210d9..11fe17b 100644 >> --- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc >> +++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc >> @@ -12,16 +12,16 @@ JDK_JRE = "jdk" >> require oracle-jse.inc >> >> do_install_class-native() { >> - install -d ${D}${libdir_jvm} >> - cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} >> + install -d ${D}${libdir_jvm} >> + cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} >> >> - install -d ${D}${bindir} >> - ln -sf ${JDK_HOME}/bin/java ${D}${bindir} >> - ln -sf ${JDK_HOME}/bin/javac${D}${bindir} >> + install -d ${D}${bindir} >> + ln -sf ${D}${JDK_HOME}/bin/java ${D}${bindir} >> + ln -sf ${D}${JDK_HOME}/bin/javac ${D}${bindir} >> >> - install -d ${D}${JDK_HOME}/bin >> - ln -sf javah${D}${JDK_HOME}/bin/gjavah >> - ln -sf jar ${D}${JDK_HOME}/bin/fastjar >> + install -d ${D}${JDK_HOME}/bin >> + ln -sf javah ${D}${JDK_HOME}/bin/gjavah >> + ln -sf jar ${D}${JDK_HOME}/bin/fastjar >> } >> >> BBCLASSEXTEND = "native" >> -- >> 2.7.4 >> > -- > ___ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-oracle-java][PATCH 1/2] Fix do_populate_sysroot: sstate found an absolute path symlink
Hi Khem, it's true, the only revelant part is > + ln -sf ../lib/jvm/${JDK_DIR}/bin/java ${D}${bindir} > + ln -sf ../lib/jvm/${JDK_DIR}/bin/javac ${D}${bindir} I shouldn't git send-mail on friday sorry, Best Regards, Vincent 2017-10-27 20:11 GMT+02:00 Khem Raj : > On Fri, Oct 27, 2017 at 9:47 AM, Vincent Prince > wrote: >> I was mistaken, following patch fixes it for real >> >> Signed-off-by: Vincent Prince >> --- >> recipes-devtools/oracle-java/oracle-jse-jdk.inc | 14 +++--- >> 1 file changed, 7 insertions(+), 7 deletions(-) >> >> diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc >> b/recipes-devtools/oracle-java/oracle-jse-jdk.inc >> index a7210d9..1092a34 100644 >> --- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc >> +++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc >> @@ -12,16 +12,16 @@ JDK_JRE = "jdk" >> require oracle-jse.inc >> >> do_install_class-native() { >> - install -d ${D}${libdir_jvm} >> + install -d ${D}${libdir_jvm} > > This change is not relevant here I think. > >> cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} >> >> - install -d ${D}${bindir} >> - ln -sf ${JDK_HOME}/bin/java ${D}${bindir} >> - ln -sf ${JDK_HOME}/bin/javac${D}${bindir} >> + install -d ${D}${bindir} >> + ln -sf ../lib/jvm/${JDK_DIR}/bin/java ${D}${bindir} >> + ln -sf ../lib/jvm/${JDK_DIR}/bin/javac ${D}${bindir} >> >> - install -d ${D}${JDK_HOME}/bin >> - ln -sf javah${D}${JDK_HOME}/bin/gjavah >> - ln -sf jar ${D}${JDK_HOME}/bin/fastjar >> + install -d ${D}${JDK_HOME}/bin >> + ln -sf javah${D}${JDK_HOME}/bin/gjavah >> + ln -sf jar ${D}${JDK_HOME}/bin/fastjar >> } >> >> BBCLASSEXTEND = "native" >> -- >> 2.7.4 >> >> 2017-10-27 14:18 GMT+02:00 Vincent Prince : >>> Signed-off-by: Vincent Prince >>> --- >>> recipes-devtools/oracle-java/oracle-jse-jdk.inc | 16 >>> 1 file changed, 8 insertions(+), 8 deletions(-) >>> >>> diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc >>> b/recipes-devtools/oracle-java/oracle-jse-jdk.inc >>> index a7210d9..11fe17b 100644 >>> --- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc >>> +++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc >>> @@ -12,16 +12,16 @@ JDK_JRE = "jdk" >>> require oracle-jse.inc >>> >>> do_install_class-native() { >>> - install -d ${D}${libdir_jvm} >>> - cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} >>> + install -d ${D}${libdir_jvm} >>> + cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} >>> >>> - install -d ${D}${bindir} >>> - ln -sf ${JDK_HOME}/bin/java ${D}${bindir} >>> - ln -sf ${JDK_HOME}/bin/javac${D}${bindir} >>> + install -d ${D}${bindir} >>> + ln -sf ${D}${JDK_HOME}/bin/java ${D}${bindir} >>> + ln -sf ${D}${JDK_HOME}/bin/javac ${D}${bindir} >>> >>> - install -d ${D}${JDK_HOME}/bin >>> - ln -sf javah${D}${JDK_HOME}/bin/gjavah >>> - ln -sf jar ${D}${JDK_HOME}/bin/fastjar >>> + install -d ${D}${JDK_HOME}/bin >>> + ln -sf javah ${D}${JDK_HOME}/bin/gjavah >>> + ln -sf jar ${D}${JDK_HOME}/bin/fastjar >>> } >>> >>> BBCLASSEXTEND = "native" >>> -- >>> 2.7.4 >>> >> -- >> ___ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-raspberrypi] Rocko branch maintenance
Thanks Paul for your help with this BSP layer. You were a real help with pyro branch until now and I'm happy to see that you want to continue the same great work with rocko. I know that maintaining multiple stable branches is not an easy task so I'll take the pyro one. We will be able to maintain two stable branches in this way which should be great for our users. If anybody is interested in maintaining older stable release, please ping me and we can sort out something. On 25 October 2017 09:50:02 BST, Paul Barker wrote: >Hi all, > >I'd like to put myself forward as stable branch maintainer for >meta-raspberrypi again. The plan is to maintain rocko for 12 months in >line with the Yocto Project's current maintenance period. I'm >currently looking after pyro and I think it's gone well over the last >6 months. Obviously, pyro will also continue to be maintained until >it's around 12 months old. > >However, if anyone else wants to help spread the load then feel free >to step forward and propose yourself for rocko branch maintenance. > >Cheers, > >-- >Paul Barker >Togán Labs Ltd -- Andrei Gherzan gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan signature.asc Description: PGP signature -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-raspberrypi][PATCH 1/3] linux-firmware: Replace /lib with ${nonarch_base_libdir}
The entire patch set was merged to master. Thanks. On 25 October 2017 06:43:28 BST, Michael Gloff wrote: >From: Michael Gloff > > Use standard variable name and avoid > QA errors when usermerge DISTRO_FEATURE is enabled. > >Signed-off-by: Michael Gloff >--- > recipes-kernel/linux-firmware/linux-firmware_%.bbappend | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/recipes-kernel/linux-firmware/linux-firmware_%.bbappend >b/recipes-kernel/linux-firmware/linux-firmware_%.bbappend >index 565b735..daf1dbc 100644 >--- a/recipes-kernel/linux-firmware/linux-firmware_%.bbappend >+++ b/recipes-kernel/linux-firmware/linux-firmware_%.bbappend >@@ -10,17 +10,17 @@ do_install_append() { > # (v7.45.41.46) > local _firmware="brcmfmac43430-sdio.bin" > local _oldmd5=9258986488eca9fe5343b0d6fe040f8e >- if [ "$(md5sum ${D}/lib/firmware/brcm/$_firmware | awk '{print $1}')" >!= "$_oldmd5" ]; then >+ if [ "$(md5sum ${D}${nonarch_base_libdir}/firmware/brcm/$_firmware | >awk '{print $1}')" != "$_oldmd5" ]; then > _firmware="" > bbwarn "linux-firmware stopped providing brcmfmac43430 > v7.45.41.26." > else > _firmware="${WORKDIR}/$_firmware" > fi > >- mkdir -p ${D}/lib/firmware/brcm >- install -m 0644 $_firmware ${WORKDIR}/brcmfmac43430-sdio.txt >${D}/lib/firmware/brcm >+ mkdir -p ${D}/${nonarch_base_libdir}/firmware/brcm >+ install -m 0644 $_firmware ${WORKDIR}/brcmfmac43430-sdio.txt >${D}${nonarch_base_libdir}/firmware/brcm > } > > FILES_${PN}-bcm43430 += " \ >- /lib/firmware/brcm/brcmfmac43430-sdio.txt \ >+ ${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.txt \ > " >-- >2.14.3 > >-- >___ >yocto mailing list >yocto@yoctoproject.org >https://lists.yoctoproject.org/listinfo/yocto -- Andrei Gherzan gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan signature.asc Description: PGP signature -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-mono][PATCH] mono-4.xx: compiling mono 4 with btls requires cmake
On Fri, Oct 27, 2017 at 3:51 AM, Pascal Bach wrote: > This was probably working before pyro and the recipes specific sysroots. > > Signed-off-by: Pascal Bach > --- > recipes-mono/mono/mono-4.xx.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/recipes-mono/mono/mono-4.xx.inc b/recipes-mono/mono/mono-4.xx.inc > index e06fac7..cf9170b 100644 > --- a/recipes-mono/mono/mono-4.xx.inc > +++ b/recipes-mono/mono/mono-4.xx.inc > @@ -4,7 +4,7 @@ HOMEPAGE = "http://mono-project.com"; > BUGTRACKER = "http://bugzilla.xamarin.com/"; > SECTION = "devel" > > -DEPENDS = "zlib" > +DEPENDS = "zlib cmake-native" > perhaps this should inehrit cmake if its using cmake or explain how cmake is used where abstactions are not relevant > SRC_URI = "http://download.mono-project.com/sources/mono/mono-${PV}.tar.bz2 \ > file://dllmap-config.in.diff \ > -- > 2.1.4 > > -- > ___ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto