On Wed, Apr 16, 2014 at 9:28 AM, Elvis Dowson <elvis.dow...@gmail.com>wrote:
> I just tries a build with poky master, and meta-xilinx master branch, and > got the following build error. > > For some reason the yocto build process fails is PACKAGE_CLASSES is set to > package_ipk. > > ERROR: Unable to install packages. Command > '/tool/yocto/build/zc706/tmp/sysroots/x86_64-lux/usr/bin/opkg-cl -f > /tool/yocto/build/zc706/tmp/work/zc706_zynq7-poky-linux-gnueabi/core-image-minimal/1.0-r0/opkg.conf > -o > /tool/yocto/build/zc706/tmp/work/zc706_zynq7-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs > --force_postinstall --prefer-arch-to-version install run-postinsts > packagegroup-core-boot' returned 255: > Installing run-postinsts (1.0-r9) to root... > Downloading > file:/tool/yocto/build/zc706/tmp/deploy/ipk/all/run-postinsts_1.0-r9_all.ipk. > Installing update-rc.d (0.7-r5) to root... > Downloading > file:/tool/yocto/build/zc706/tmp/deploy/ipk/all/update-rc.d_0.7-r5_all.ipk. > sh: 1: /tmp/opkg-RUBbug/run-postinsts-mxgou5/preinst: Permission denied > Sounds like your /tmp is mounted disallowing execution there, and opkg must assume it's able to execute its scripts there. Either use a different package manager, fix opkg to change this behavior, or change your /tmp mount to no longer be noexec. -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto