aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-distro/recipes-devtools/dpkg/dpkg_%.bbappend
blob: 2bbf6e174e2ac43dd2859460de15cd9bc025b177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

inherit systemd

SYSTEMD_SERVICE:${PN} = "dpkg-configure-pending.service"
SYSTEMD_AUTO_ENABLE = "enable"

SRC_URI += " \
    file://dpkg-configure-pending.service \
    file://dpkg-configure-pending \
"

do_install:append () {
    install -d ${D}${systemd_unitdir}/system
    install -m 644 ${WORKDIR}/dpkg-configure-pending.service ${D}${systemd_unitdir}/system/
    install -m 755 ${WORKDIR}/dpkg-configure-pending ${D}${sbindir}/dpkg-configure-pending
}

FILES:${PN} += " \
    ${systemd_unitdir}/system/dpkg-configure-pending.service \
    ${sbindir}/dpkg-configure-pending \
"