mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 23:24:24 +00:00
* opkg upgrade will fail to upgrade every package PN when PN-system is installed
* check_data_file_clashes: Package xserver-nodm-init wants to install file /lib/systemd/system/xserver-nodm.service
But that file is already provided by package * xserver-nodm-init-systemd
You need to manually remove all PN-systemd packages on your target
opkg remove -force-depends -force-remove `opkg list-installed | grep "\-systemd"`
be careful with stuff like openssh-sshd-systemd or
wpa-supplicant-systemd when you have access to target only over
network
* this PRINC bump will force you to do it now even for people not using
OEBasicHash or PR service
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
18 lines
397 B
Plaintext
18 lines
397 B
Plaintext
inherit systemd
|
|
|
|
PRINC := "${@int(PRINC) + 2}"
|
|
|
|
# look for files in the layer first
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
|
|
SRC_URI += "file://domainname.service"
|
|
|
|
RPROVIDES_${PN} += "${PN}-systemd"
|
|
SYSTEMD_SERVICE_${PN} = "domainname.service"
|
|
|
|
do_install_append() {
|
|
install -d ${D}${systemd_unitdir}/system
|
|
install -m 0644 ${WORKDIR}/domainname.service ${D}${systemd_unitdir}/system
|
|
}
|
|
|