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>
25 lines
638 B
Plaintext
25 lines
638 B
Plaintext
inherit systemd
|
|
|
|
PRINC := "${@int(PRINC) + 2}"
|
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
|
|
|
SYSTEMD_PACKAGES = "${PN} ntpdate"
|
|
SYSTEMD_SERVICE_${PN} = "ntpd.service"
|
|
SYSTEMD_SERVICE_ntpdate = "ntpdate.service"
|
|
RPROVIDES_${PN} += "${PN}-systemd"
|
|
RPROVIDES_ntpdate += "ntpdate-systemd"
|
|
|
|
FILES_ntpdate += "${systemd_unitdir}/system/ntpdate.service"
|
|
|
|
SRC_URI += " \
|
|
file://ntpdate.service \
|
|
file://ntpd.service \
|
|
"
|
|
|
|
do_install_append() {
|
|
install -d ${D}${systemd_unitdir}/system
|
|
install -m 0644 ${WORKDIR}/ntpdate.service ${D}${systemd_unitdir}/system/
|
|
install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_unitdir}/system/
|
|
}
|