aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/update-alternatives/update-alternatives-dpkg_1.13.25.bb
blob: 57e2741c0fd175dfe2c574ddef34c2822107be0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require update-alternatives-dpkg.inc

PR="r1"
RPROVIDES_${PN} = "update-alternatives"
RDEPENDS_${PN} = "perl dpkg"

SRC_URI += "file://paths.patch"

do_install () {
    install -d ${D}${sbindir} \
               ${D}${localstatedir}/lib/dpkg/alternatives \
               ${D}${sysconfdir}/alternatives

    install -m 0755 scripts/update-alternatives ${D}${sbindir}/update-alternatives
}

SRC_URI[md5sum] = "88effb358aa04d25036b662d588433a6"
SRC_URI[sha256sum] = "a525f321e875a8c16f5b6942bc02ac66b0d284cc6c61704f93e74789ef89d817"