diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2016-10-23 20:37:20 +0000 |
---|---|---|
committer | Andreas Oberritter <obi@opendreambox.org> | 2019-04-08 13:49:57 +0200 |
commit | fee88bc0187307744d43bc74e6f979fe9125a00e (patch) | |
tree | b829bc5e269fb1da299e7617b23bfecba6cb2c71 | |
parent | 3f0014f0788cab113ca5970a69003cfceb22a9ad (diff) | |
download | openembedded-core-contrib-fee88bc0187307744d43bc74e6f979fe9125a00e.tar.gz |
dpkg: enable nativesdk
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-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 d2ba7a9668..6a7f5ba038 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc @@ -13,6 +13,7 @@ SYSTEMD_SERVICE_${PN} = "dpkg-configure.service" export PERL = "${bindir}/perl" PERL_class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl" +PERL_class-nativesdk = "${STAGING_BINDIR_NATIVE}/perl-native/perl" export PERL_LIBDIR = "${libdir}/perl/${@get_perl_version(d)}" PERL_LIBDIR_class-native = "${libdir}/perl-native/perl/${@get_perl_version(d)}" @@ -47,7 +48,7 @@ do_install_append_class-native() { sed -i -e 's|^#!${PERL}|#!/usr/bin/env nativeperl|' ${D}${bindir}/dpkg-* } -do_install_append () { +do_install_append_class-target () { install -d ${D}${systemd_unitdir}/system install -m 0644 ${WORKDIR}/dpkg-configure.service ${D}${systemd_unitdir}/system sed -e 's,@BASE_BINDIR@,${base_bindir},g' \ @@ -61,12 +62,14 @@ PACKAGES =+ "dpkg-perl dselect libdpkg-perl start-stop-daemon update-alternative RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}" RDEPENDS_${PN}_class-native = "" +RDEPENDS_${PN}_class-nativesdk = "nativesdk-${VIRTUAL-RUNTIME_update-alternatives} nativesdk-perl" RRECOMMENDS_${PN} = "start-stop-daemon" RRECOMMENDS_${PN}_class-native = "" RSUGGESTS_${PN} = "apt" RDEPENDS_dpkg-perl = "binutils libdpkg-perl make xz" RRECOMMENDS_dpkg-perl = "gnupg" +RRECOMMENDS_dpkg-perl_class-nativesdk = "" RDEPENDS_dselect = "dpkg" RSUGGESTS_dselect = "perl" @@ -135,4 +138,4 @@ FILES_update-alternatives-dpkg = " \ PKG_dpkg-dev = "libdpkg-dev" PKG_dpkg-perl = "dpkg-dev" -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" |