aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-distro/recipes-devtools/dpkg/dpkg_%.bbappend
blob: 099292ab4e44f72845d484d07047d1ce2e66f403 (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 \
"