diff options
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index fee7a75814..1c3c585d79 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc | |||
@@ -9,7 +9,7 @@ RDEPENDS_${PN}_class-native = "" | |||
9 | 9 | ||
10 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/dpkg/" | 10 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/dpkg/" |
11 | 11 | ||
12 | inherit autotools gettext perlnative pkgconfig perl-version | 12 | inherit autotools gettext perlnative pkgconfig perl-version update-alternatives |
13 | 13 | ||
14 | PERL_class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl" | 14 | PERL_class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl" |
15 | 15 | ||
@@ -76,7 +76,10 @@ RDEPENDS_${PN}-perl += "perl-module-carp perl-module-constant \ | |||
76 | # the bitbake version. | 76 | # the bitbake version. |
77 | # | 77 | # |
78 | PACKAGES =+ "${PN}-start-stop" | 78 | PACKAGES =+ "${PN}-start-stop" |
79 | FILES_${PN}-start-stop = "${sbindir}/start-stop-daemon" | 79 | FILES_${PN}-start-stop = "${sbindir}/start-stop-daemon.${BPN}" |
80 | ALTERNATIVE_${PN}-start-stop = "start-stop-daemon" | ||
81 | ALTERNATIVE_LINK_NAME[start-stop-daemon] = "${sbindir}/start-stop-daemon" | ||
82 | ALTERNATIVE_PRIORITY = "100" | ||
80 | 83 | ||
81 | RDEPENDS_${PN} += "${PN}-start-stop" | 84 | RDEPENDS_${PN} += "${PN}-start-stop" |
82 | 85 | ||