[meta-freescale] Removing lines from pkg_postint_${PN}_append_mx6

Mauro Ziliani mauro at faresoftware.it
Thu Jan 31 01:27:35 PST 2019

Hi all.

I need to remove the red lines from

# Append to remove /proc/cpu/aligntment from alignmnet script
FILESEXTRAPATHS_prepend := "${THISDIR}/arm:"

SRC_URI_append_imx = " file://alignment.sh "

# file to support gpu load services
SRC_URI_append_mx6 = " file://gpuload \

do_install_append_mx6 () {
    install -d ${D}/usr/bin
    install -d ${D}/lib/systemd/system
    install -m 0755 ${WORKDIR}/gpuload ${D}/usr/bin
    install -m 0755 ${WORKDIR}/gpuload.service ${D}/lib/systemd/system

pkg_postinst_${PN}_append_mx6 () {
    ln -s /lib/systemd/system/gpuload.service

FILES_${PN}_append_mx6 = " /lib/systemd/system/gpuload.service

My system uses Debian package managementt without systemd.

This lineas breaks the consistency of installation and when I do un
upgrade in debian-style from a terminal

apt-get update

apt-get upgrade

I get the error

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up initscripts:armhf (1.0-r155.0) ...
ln: target '/etc/systemd/system/multi-user.target.wants/' is not a
directory: No such file or directory
dpkg: error processing package initscripts:armhf (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:

because /etc/systemd missing.

I don't want to modify the recipe above, but change it with my own recipe.

How can I do that in my initscrips_%.bbappend?

Best regads,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20190131/2f6aeac8/attachment.html>

More information about the meta-freescale mailing list