I am integrating a few CUPS libraries into my Yocto build. I have created the following cups_1.7.5.bbappend file. The issue I have is that only two of the links are created. The directory contents after the build are also shown below. Any ideas why my other two links are not part of the build process?
# As it can not overwrite the version in the layer meta-fsl-arm, we have to use
# another file extension for new patch to the append in the meta-fsl-arm
FILESEXTRAPATHS_prepend := "${THISDIR}:"
SRC_URI_append = " \
file://rastertoc56 \
file://libC56Tb.so.1.0 \
file://libC56Api.so.1.0 \
"
do_install_append() {
install -m 0755 ${WORKDIR}/rastertoc56 ${D}${libdir}/cups/filter/rastertoc56
install -m 0777 ${WORKDIR}/libC56Tb.so.1.0 ${D}${libdir}/libC56Tb.so.1.0
ln -sf libC56Tb.so.1.0 ${D}${libdir}/libC56Tb.so
ln -sf libC56Tb.so.1.0 ${D}${libdir}/libC56Tb.so.1
install -m 0777 ${WORKDIR}/libC56Api.so.1.0 ${D}${libdir}/libC56Api.so.1.0
ln -sf libC56Api.so.1.0 ${D}${libdir}/libC56Api.so
ln -sf libC56Api.so.1.0 ${D}${libdir}/libC56Api.so.1
}
Directory of rootfs/usr/bin - there is no libC56Tb.so or libC56Api.so link.
lrwxrwxrwx 1 pauldemet pauldemet 16 Apr 6 17:14 libC56Api.so.1 -> libC56Api.so.1.0
-rwxr-xr-x 1 pauldemet pauldemet 8656 Apr 4 16:03 libC56Api.so.1.0
lrwxrwxrwx 1 pauldemet pauldemet 15 Apr 6 17:14 libC56Tb.so.1 -> libC56Tb.so.1.0
-rwxr-xr-x 1 pauldemet pauldemet 9272 Apr 4 16:03 libC56Tb.so.1.0
Hello Paul DeMetrotion,
Are you still seeing this issue? Have you tried changing the layer’s priority? The bbappends are parsed in ascending layer priority and all appends available for a recipe will be applied, so the highest append is applied at the end to ensure that no other append changes the highest priority append.
Regards,