Just need a user to exist but I'm getting a package install error on my recipe #poky #raspberrypi
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:
Quoted 18 lines
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!!
Quoted 24 lines · John via lists.yoctoproject.org
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.*
Quoted 2 lines
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.
try adding
ALLOW_EMPTY:${PN} = "1"
in board-user.bb
Quoted 12 lines
Cheers!!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13545):https://lists.yoctoproject.org/g/poky/message/13545 Mute This Topic:https://lists.yoctoproject.org/mt/111436541/1997914 Mute #poky:https://lists.yoctoproject.org/g/poky/mutehashtag/poky Mute #raspberrypi:https://lists.yoctoproject.org/g/poky/mutehashtag/raspberrypi Group Owner:[email protected] Unsubscribe:https://lists.yoctoproject.org/g/poky/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-