Just need a user to exist but I'm getting a package install error on my recipe #poky #raspberrypi
"John" <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to create a user for my board. I require a user in order to have pulseaudio to run as a user level service in systemd startup. I've included my "board-user.bb" file which is a greatly cut down recipe from the skeleton examples provided in poky. I've also included the recipe for my board file which is just a rename of the "core-image-minimal.bb" file and my changes. It is there I've added my board-user recipe so that all versions of my "libby" image will have the user "libby". My error that I'm getting is: > > ERROR: libby-image-1.0-r0 do_rootfs: Unable to install packages. Command > '/home/jdowd/Project/Libby/poky/build/tmp/work/raspberrypi0_64_wf-oe-linux/libby-image/1.0/recipe-sysroot-native/usr/bin/opkg > --volatile-cache -f > /home/jdowd/Project/Libby/poky/build/tmp/work/raspberrypi0_64_wf-oe-linux/libby-image/1.0/opkg.conf > -t > /home/jdowd/Project/Libby/poky/build/tmp/work/raspberrypi0_64_wf-oe-linux/libby-image/1.0/temp/ipktemp/ > -o > /home/jdowd/Project/Libby/poky/build/tmp/work/raspberrypi0_64_wf-oe-linux/libby-image/1.0/rootfs > --force_postinstall --prefer-arch-to-version install alsa-lib alsa-utils > bluez5 board-user dhcpcd i2c-tools linux-firmware-bcm43430 openssh > packagegroup-core-boot pi-bluetooth pulseaudio-server run-postinsts sudo > util-linux wpa-supplicant' returned 255: > *error: opkg_solver_install: No candidates to install board-user (null)!* > *error: opkg_finalize_intercepts: Failed to open dir > /home/jdowd/Project/Libby/poky/build/tmp/work/raspberrypi0_64_wf-oe-linux/libby-image/1.0/temp/ipktemp//opkg-XorTPq/opkg-intercept-w88StC: > No such file or directory.* > I'm not sure where to go with this. Why would opkg have an issue with this? In fact there is only the side effect of the "adduser" command running so that the user is installed on the rootfs properly. It should be modifying files and creating a directory. Any advice would be greatly appreciated. Cheers!!
board-user.bb
(application/octet-stream, 766 B) - not displayed
libby-image.bb
(application/octet-stream, 438 B) - not displayed