mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
dpkg: change SRC_URI to take dpkg from git
tar.xz on original URL have been removed, switch to use git (From OE-Core rev: b8173a9a5c8bfbfa30bbf066cfbcb1c0eba1b98d) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e25b982000
commit
2aad399f3c
@@ -7,7 +7,7 @@ DEPENDS_class-native = "bzip2-replacement-native zlib-native virtual/update-alte
|
||||
RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl"
|
||||
RDEPENDS_${PN}_class-native = ""
|
||||
|
||||
UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/dpkg/"
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
|
||||
|
||||
inherit autotools gettext perlnative pkgconfig perl-version update-alternatives
|
||||
|
||||
@@ -30,6 +30,18 @@ EXTRA_OECONF_append_class-target = " --disable-update-alternatives DEB_HOST_ARCH
|
||||
PACKAGECONFIG = "liblzma"
|
||||
PACKAGECONFIG[liblzma] = "--with-liblzma,--without-liblzma, xz"
|
||||
|
||||
|
||||
#autotools.bbclass default AUTOTOOLS_AUXDIR is ${S}, we need to under ${S}/build-aux
|
||||
AUTOTOOLS_AUXDIR = "${S}/build-aux"
|
||||
|
||||
do_configure_prepend () {
|
||||
mkdir -p ${AUTOTOOLS_AUXDIR}
|
||||
# autotools_do_configure updates po/Makefile.in.in, we also need
|
||||
# update dselect/po and scripts/po
|
||||
cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/dselect/po/
|
||||
cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/scripts/po/
|
||||
}
|
||||
|
||||
do_install_append () {
|
||||
if [ "${PN}" = "dpkg-native" ]; then
|
||||
# update-alternatives doesn't have an offline mode
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
require dpkg.inc
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
SRC_URI = "${DEBIAN_MIRROR}/main/d/${BPN}/${BPN}_${PV}.tar.xz \
|
||||
SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https \
|
||||
file://noman.patch \
|
||||
file://remove-tar-no-timestamp.patch \
|
||||
file://arch_pm.patch \
|
||||
@@ -18,5 +18,6 @@ SRC_URI = "${DEBIAN_MIRROR}/main/d/${BPN}/${BPN}_${PV}.tar.xz \
|
||||
|
||||
SRC_URI_append_class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch"
|
||||
|
||||
SRC_URI[md5sum] = "f88f077236a3ff3decae3b25c989893d"
|
||||
SRC_URI[sha256sum] = "b633cc2b0e030efb61e11029d8a3fb1123f719864c9992da2e52b471c96d0900"
|
||||
SRCREV = "314ac02663c5bd1a82b34745150bf13a39a549a3"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
Reference in New Issue
Block a user