Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ do_install:append() {
# Install configuration
mkdir -p ${D}/${sysconfdir}/mender
install -m 0600 ${B}/mender-connect.conf ${D}/${sysconfdir}/mender/mender-connect.conf
}

do_install:append:mender-systemd() {
# Install systemd service
install -m 755 -d ${D}${systemd_unitdir}/system
install -m 0644 ${B}/src/${GO_IMPORT}/support/mender-connect.service ${D}${systemd_unitdir}/system/
# Install service if systemd is configured
if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then
install -m 755 -d ${D}${systemd_unitdir}/system
install -m 0644 ${B}/src/${GO_IMPORT}/support/mender-connect.service ${D}${systemd_unitdir}/system/
fi
}

FILES:${PN}:append = "\
Expand Down