Skip to contentSkip to conversation

#yocto

DISCUSSION Baabu Ms 2 participants 2 messages Jun 3, 2020

lore
Share & tools
lore

Baabu Ms

author
#0 lore raw

# Hello all

#                 im trying build pam package in core-image-sato i added pam package in local.conf file

# *DISTRO_FEATURES_append  = "pam"*

#                when i added pam package i facing *error* , so i removed the pam package in local.conf #               i attached log please give me solution to build the pam package

# update-alternatives: Error: not linking /home/jenkinsagent/5.5.6/build-script/riscv-yocto-sato-base/openembedded/openembedded-core/riscv-build/tmp-glibc/work/exaleapsemi-oe-linux/core-image-sato/1.0-r0/rootfs/usr/bin/vlock to  /bin/busybox.suid

# since /home/jenkinsagent/5.5.6/build-script/riscv-yocto-sato-base/openembedded/openembedded-core/riscv-build/tmp-glibc/work/exaleapsemi-oe-linux/core-image-sato/1.0-r0/rootfs/usr/bin/vlock exists and is not a link

# ERROR: core-image-sato-1.0-r0 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,

# then please place them into pkg_postinst_ontarget_${PN} ().
# Deferring to first boot via 'exit 1' is no longer supported.

--
Thanks & Regards
Exaleap
Babu p

#1 lore raw

Hi,

Quoted 6 lines · Baabu Ms

# Hello all

#                 im trying build pam package in core-image-sato i added pam package in local.conf file

# *DISTRO_FEATURES_append  = "pam"*

_append in most cases require a leading space, i.e. you want:
DISTRO_FEATURES_append = " pam"

Let us know if that fixes it.

Quentin