> One interesting discovery from the build log when comparing to the
> working application shows that the working application creates a link to
> the systemd service, while the non-working application does not:
>
> Installing B on root
> Downloading file:[...]/B.ipk.
> Configuring B.
> B.postinst returned 1, marking as unpacked only, configuration required
> on target.
> WARNING: B.postinst returned 1, marking as unpacked only, configuration
> required on target.
>
> Installing A on root
> Downloading file:[..]/A.ipk.
> ln -s /lib/systemd/system/A.service
> [..]/rootfs/etc/systemd/system/gateway.target.requires/A.service
> Configuring A.
>
> I guess that the missing link is what causes
>
> systemctl ${OPTS} enable "$service"
>
> in the postinstall scriptlet to fail. Given that these applications have
> identical bitbake recipes except for the names, I do not understand why
> this is happening.

Well, this error proved not to be so mysterious after all. When copying
stuff from A to B I somehow managed to drop the initial '['-character in
the [Unit] section of application B:s .service-file so its syntax became
invalid, thus failing to be installed.
The information contained in this email is intended solely for the use of the 
individual or entity to whom it is addressed and may contain information that 
is confidential. Please delete and notify the sender if received in error. SKF 
does not accept liability for any damage arising from this email.

For information on SKF’s processing of your personal data, please visit SKF’s 
Privacy Policy available via 
www.skf.com<https://www.skf.com/us/footer/privacy-policy>.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59740): https://lists.yoctoproject.org/g/yocto/message/59740
Mute This Topic: https://lists.yoctoproject.org/mt/98362025/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to