[yocto] Intentionally failing postinstall scriplets - Yocto Sumo
Dhanush K.S
dhanush.ks at gmail.com
Tue Feb 12 02:11:24 PST 2019
Hello,
Building an image with Yocto Sumo throws out some warning messages during
do.rootfs. Although I'm partially clear that update-alternatives has
something to do with these warnings, but following the instructions in the
warning and placing the packages in pkg_postinst_ontarget_${PN} () does not
resolve the issue.
What am I missing here and what is the ideal solution to avoid these
warnings?
Here is my *BUILD INFORMATION*
Build Configuration:
BB_VERSION = "1.37.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal-4.8"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "arm-cortex-a8"
DISTRO = "poky"
DISTRO_VERSION = "2.5"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa8"
TARGET_FPU = "hard"
meta-custombsp-ti
meta
meta-poky
meta-yocto-bsp
meta-custom-common = "<unknown>:<unknown>"
meta-oe = "master:45ee3c0e98bd3ed81419aaeae1e7324e486161a2"
WARNING: custom-image-1.0-r0 do_rootfs: Intentionally failing
postinstall scriptlets of ['vsftpd', 'dropbear', 'chrony'] to defer
them to first boot is deprecated. Please place them into
pkg_postinst_ontarget_${PN} ().
If deferring to first boot wasn't the intent, then scriptlet failure
may mean an issue in the recipe, or a regression elsewhere.
Details of the failure are in
/home/build_arm-cortex-a8/tmp/work/arm_cortex_a8-poky-linux-gnueabi/custom-image/1.0-r0/temp/log.do_rootfs.
WARNING: custom-image-1.0-r0 do_rootfs: [log_check] abkdkj-image:
found 4 warning messages in the logfile:
[log_check] warning: %post(vsftpd-3.0.3-r0.cortexa8hf_neon) scriptlet
failed, exit status 1
[log_check] warning: %post(dropbear-2017.75-r0.cortexa8hf_neon)
scriptlet failed, exit status 1
[log_check] warning: %post(chrony-3.1-r0.cortexa8hf_neon) scriptlet
failed, exit status 1
[log_check] WARNING: Intentionally failing postinstall scriptlets of
['vsftpd', 'dropbear', 'chrony'] to defer them to first boot is
deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
Thanks,
Dhanush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190212/ebc75d70/attachment.html>
More information about the yocto
mailing list