I am using imx6ull14x14evk board yacto version sumo imx-4.14.98-2.0.0_ga.
We want to add salt package (OpenEmbedded Layer Index - salt )into yacto.
I added salt package in sources/meta-openembedded/meta-oe/recipes-support/salt location.
After that conf/local.conf added CORE_IMAGE_EXTRA_INSTALL += " salt " and bitbake core-image-minimal.
Dependency and salt package is building fine but if i see in rootfs python dependency package and salt package not present rpm package available.
salt_2016.11.0.bb layer also containing do_install but not installing rootfs.
What is the issue why only rpm package created not installing in rootfs and dependency also not installing ?
How to solve this issue ?
Please any one help me to solve this issue.
Thanks & Regards
Vasu
Dear team,
Can i get any help on this ??
I know this package is not related to NXP bsp but problem is rpm is generated not available in rootfs what was the problem ?
Can any one see salt_2016.11.0.bb\salt\recipes-support\meta-openstack - meta-cloud-services - Provides the packages ... file what cases issue for not placed in rootfs ?
Thanks & Regards
Vasu
Hello Vasu,
The salt package is not part of the BSP releases, just as you mentioned, so we do not have documentation on it. Perhaps the Open Embedded forums may provide more help.
There are some install directives so maybe you could see if the files are first being compiled and then if they are being installed in the correct directories.
Regards,
Hi gusarambula,
Thank you for your response,
See do_install also present but still rootfs not available for mentioned package log file also there is no error.
Otherwise can i create custom recipe for rpm generated file to store rootfs.
How to achieve this ?
do_install_append() {
install -d ${D}${sysconfdir}/bash_completion.d/
install -m 0644 ${WORKDIR}/salt-common.bash_completion ${D}${sysconfdir}/bash_completion.d/${PN}-common
install -d ${D}${sysconfdir}/logrotate.d/
install -m 0644 ${WORKDIR}/salt-common.logrotate ${D}${sysconfdir}/logrotate.d/${PN}-common
install -d ${D}${sysconfdir}/init.d/
install -m 0755 ${WORKDIR}/salt-minion ${D}${sysconfdir}/init.d/${PN}-minion
install -m 0755 ${WORKDIR}/salt-api ${D}${sysconfdir}/init.d/${PN}-api
install -m 0755 ${WORKDIR}/salt-master ${D}${sysconfdir}/init.d/${PN}-master
install -m 0755 ${WORKDIR}/salt-syndic ${D}${sysconfdir}/init.d/${PN}-syndic
install -d ${D}${sysconfdir}/${PN}/
install -m 0644 ${WORKDIR}/minion ${D}${sysconfdir}/${PN}/minion
install -m 0644 ${WORKDIR}/master ${D}${sysconfdir}/${PN}/master
install -m 0644 ${WORKDIR}/cloud ${D}${sysconfdir}/${PN}/cloud
install -m 0644 ${WORKDIR}/roster ${D}${sysconfdir}/${PN}/roster
install -d ${D}${sysconfdir}/${PN}/cloud.conf.d ${D}${sysconfdir}/${PN}/cloud.profiles.d ${D}${sysconfdir}/${PN}/cloud.providers.d
install -d ${D}${PYTHON_SITEPACKAGES_DIR}/${PN}-tests/
cp -r ${S}/tests/ ${D}${PYTHON_SITEPACKAGES_DIR}/${PN}-tests/
}
Regards
Vasu