[yocto] trouble with rootfs generation with mxnet package
Hi All, I am attempting to compile mxnet for aarch64 on yocto rev 2.6(thud). Here is my recipe. https://pastebin.com/ibsBWsL9 The recipe builds fine however during rootfs creation (with package manager set to deb) it gives the following error. do_rootfs: Unable to install packages. Package mxnet is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'mxnet' has no installation candidate Upon looking at the build/tmp/work/aarch64-xilinx-linux/mxnet/1.5.0-r0/packages-split directory I find that the mxnet sub directory is empty, mxnet-dev, mxnet-staticdev have libmxnet.so and libmxnet.a respectively under usr/lib. Any help would be appreciated. Thanks in advance. -- Regards, Karthik Poduval -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] download.yoctoproject.org - Certificate expired
On 10/13/19 2:30 AM, Guilhem Saurel wrote: > Hi, > > The certificate installed on https://download.yoctoproject.org expired about 4 > days ago. Is anyone else experiencing the same issue? Is a new certificate > going > to be installed ? thank you for letting us know. I believe this issue has been addressed. Please let us know if you still having issues with the certificate. - armin > > Thanks, > Guilhem. > signature.asc Description: OpenPGP digital signature -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [thud][PATCH] linux-yocto/4.14: meta-yocto-bsp update to 143
This appears to have been missed for this round. maybe next time - armin On 10/9/19 8:09 AM, Armin Kuster wrote: > Signed-off-by: Armin Kuster > --- > .../recipes-kernel/linux/linux-yocto_4.14.bbappend | 20 > ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.14.bbappend > b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.14.bbappend > index 426757e..5277798 100644 > --- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.14.bbappend > +++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.14.bbappend > @@ -8,11 +8,11 @@ KMACHINE_genericx86 ?= "common-pc" > KMACHINE_genericx86-64 ?= "common-pc-64" > KMACHINE_beaglebone-yocto ?= "beaglebone" > > -SRCREV_machine_genericx86?= "5252513a39b4b3773debab1f77071d7c430ecb10" > -SRCREV_machine_genericx86-64 ?= "5252513a39b4b3773debab1f77071d7c430ecb10" > -SRCREV_machine_edgerouter ?= "d8fb40cd0e99325715c70aed6f361a8318097829" > -SRCREV_machine_beaglebone-yocto ?= "c67809688bd22cb4cb909bcf1a1045e6337c3229" > -SRCREV_machine_mpc8315e-rdb ?= "258ee8228e0a512c6dbe2a0dadcd9f030ba45964" > +SRCREV_machine_genericx86?= "bc9d4b045fa0254d14ef3a667a200f02cb9af755" > +SRCREV_machine_genericx86-64 ?= "bc9d4b045fa0254d14ef3a667a200f02cb9af755" > +SRCREV_machine_edgerouter ?= "326e296f237347e965a38acb34f09e594430b0c6" > +SRCREV_machine_beaglebone-yocto ?= "1b8c86329c9dbb10b8fcaeb2dceb75680994cd84" > +SRCREV_machine_mpc8315e-rdb ?= "f26672ec1f164b0f2a15d629128a91093f971bdd" > > COMPATIBLE_MACHINE_genericx86 = "genericx86" > COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64" > @@ -20,8 +20,8 @@ COMPATIBLE_MACHINE_edgerouter = "edgerouter" > COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto" > COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb" > > -LINUX_VERSION_genericx86 = "4.14.98" > -LINUX_VERSION_genericx86-64 = "4.14.98" > -LINUX_VERSION_edgerouter = "4.14.98" > -LINUX_VERSION_beaglebone-yocto = "4.14.98" > -LINUX_VERSION_mpc8315e-rdb = "4.14.98" > +LINUX_VERSION_genericx86 = "4.14.143" > +LINUX_VERSION_genericx86-64 = "4.14.143" > +LINUX_VERSION_edgerouter = "4.14.143" > +LINUX_VERSION_beaglebone-yocto = "4.14.143" > +LINUX_VERSION_mpc8315e-rdb = "4.14.143" -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-security][PATCH 1/2] apparmor: add PRIVATE_LIBS for ptest package
merged On 10/10/19 4:22 AM, Alexander Kanavin wrote: > Otherwise, the following occurs: > ERROR: apparmor-2.13.3-r0 do_package: apparmor: Multiple shlib providers for > libapparmor.so.1: apparmor, apparmor-ptest (used by files: > /home/alexander/development/poky/build-metaoe/tmp/work/core2-32-poky-linux/apparmor/2.13.3-r0/packages-split/apparmor/usr/lib/perl5/vendor_perl/5.30.0/i686-linux/auto/LibAppArmor/LibAppArmor.so) > ERROR: apparmor-2.13.3-r0 do_package: apparmor: Multiple shlib providers for > libapparmor.so.1: apparmor, apparmor-ptest (used by files: > /home/alexander/development/poky/build-metaoe/tmp/work/core2-32-poky-linux/apparmor/2.13.3-r0/packages-split/apparmor/usr/lib/python3.7/site-packages/LibAppArmor/_LibAppArmor.cpython-37m-i686-linux-gnu.so) > > Signed-off-by: Alexander Kanavin > --- > recipes-mac/AppArmor/apparmor_2.13.3.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/recipes-mac/AppArmor/apparmor_2.13.3.bb > b/recipes-mac/AppArmor/apparmor_2.13.3.bb > index 2e5d221..990d870 100644 > --- a/recipes-mac/AppArmor/apparmor_2.13.3.bb > +++ b/recipes-mac/AppArmor/apparmor_2.13.3.bb > @@ -165,3 +165,5 @@ RDEPENDS_${PN} += "bash" > RDEPENDS_${PN} += > "${@bb.utils.contains('PACKAGECONFIG','python','python3-core > python3-modules','', d)}" > RDEPENDS_${PN}_remove += > "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}" > RDEPENDS_${PN}-ptest += "perl coreutils dbus-lib bash" > + > +PRIVATE_LIBS_${PN}-ptest = "libapparmor.so*" -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-security][PATCH] apparmor: fix systemd support so it works
[Yocto # 13568] Signed-off-by: Armin Kuster --- recipes-mac/AppArmor/apparmor_2.13.3.bb | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/recipes-mac/AppArmor/apparmor_2.13.3.bb b/recipes-mac/AppArmor/apparmor_2.13.3.bb index 6183064..d434fd3 100644 --- a/recipes-mac/AppArmor/apparmor_2.13.3.bb +++ b/recipes-mac/AppArmor/apparmor_2.13.3.bb @@ -42,7 +42,6 @@ PACKAGECONFIG[aa-decode] = ",,,bash" PAMLIB="${@bb.utils.contains('DISTRO_FEATURES', 'pam', '1', '0', d)}" HTTPD="${@bb.utils.contains('PACKAGECONFIG', 'apache2', '1', '0', d)}" - python() { if 'apache2' in d.getVar('PACKAGECONFIG').split() and \ 'webserver' not in d.getVar('BBFILE_COLLECTIONS').split(): @@ -86,7 +85,6 @@ do_compile () { do_install () { install -d ${D}/${INIT_D_DIR} install -d ${D}/lib/apparmor - oe_runmake -C ${B}/libraries/libapparmor DESTDIR="${D}" install oe_runmake -C ${B}/binutils DESTDIR="${D}" install oe_runmake -C ${B}/utils DESTDIR="${D}" install @@ -116,8 +114,13 @@ do_install () { install ${WORKDIR}/apparmor ${D}/${INIT_D_DIR}/apparmor install ${WORKDIR}/functions ${D}/lib/apparmor - install -d ${D}${systemd_system_unitdir} - install ${WORKDIR}/apparmor.service ${D}${systemd_system_unitdir} + sed -i -e 's/getconf _NPROCESSORS_ONLN/nproc/' ${D}/lib/apparmor/functions + sed -i -e 's/ls -AU/ls -A/' ${D}/lib/apparmor/functions + + if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then + install -d ${D}${systemd_system_unitdir} + install ${WORKDIR}/apparmor.service ${D}${systemd_system_unitdir} + fi } do_compile_ptest () { @@ -153,13 +156,16 @@ if [ ! -d /etc/apparmor.d/cache ] ; then fi } +# We need the init script so don't rm it +RMINITDIR_class-target_remove = " rm_sysvinit_initddir" + INITSCRIPT_PACKAGES = "${PN}" INITSCRIPT_NAME = "apparmor" INITSCRIPT_PARAMS = "start 16 2 3 4 5 . stop 35 0 1 6 ." SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} = "apparmor.service" -SYSTEMD_AUTO_ENABLE = "disable" +SYSTEMD_AUTO_ENABLE ?= "enable" PACKAGES += "mod-${PN}" -- 2.17.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto