Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
106
sources/poky/meta/recipes-devtools/dpkg/dpkg.inc
Normal file
106
sources/poky/meta/recipes-devtools/dpkg/dpkg.inc
Normal file
@@ -0,0 +1,106 @@
|
||||
SUMMARY = "Package maintenance system from Debian"
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
HOMEPAGE = "https://salsa.debian.org/dpkg-team/dpkg"
|
||||
DESCRIPTION = "The primary interface for the dpkg suite is the dselect program. A more low-level and less user-friendly interface is available in the form of the dpkg command."
|
||||
SECTION = "base"
|
||||
|
||||
DEPENDS = "zlib bzip2 perl ncurses libmd"
|
||||
DEPENDS:class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native libmd-native"
|
||||
RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl"
|
||||
RDEPENDS:${PN}:class-native = ""
|
||||
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
|
||||
|
||||
inherit autotools gettext perlnative pkgconfig perl-version update-alternatives
|
||||
|
||||
PERL:class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl"
|
||||
|
||||
export PERL_LIBDIR = "${libdir}/perl5/${@get_perl_version(d)}"
|
||||
PERL_LIBDIR:class-native = "${libdir}/perl-native/perl/${@get_perl_version(d)}"
|
||||
|
||||
EXTRA_OECONF = "\
|
||||
--disable-dselect \
|
||||
--enable-start-stop-daemon \
|
||||
--with-libz \
|
||||
--with-libbz2 \
|
||||
--without-libselinux \
|
||||
TAR=tar \
|
||||
"
|
||||
|
||||
EXTRA_OECONF:append:class-target = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_ARCH}"
|
||||
EXTRA_OECONF:append:class-nativesdk = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_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
|
||||
rm ${D}${bindir}/update-alternatives
|
||||
sed -i -e 's|^#!.*${STAGING_BINDIR_NATIVE}/perl-native.*/perl|#!/usr/bin/env nativeperl|' ${D}${bindir}/dpkg-* ${D}${sbindir}/dpkg-*
|
||||
else
|
||||
sed -i -e 's|^#!.*${STAGING_BINDIR_NATIVE}/perl-native.*/perl|#!/usr/bin/env perl|' ${D}${bindir}/dpkg-* ${D}${sbindir}/dpkg-*
|
||||
fi
|
||||
}
|
||||
|
||||
PROV = "virtual/update-alternatives"
|
||||
PROV:class-native = ""
|
||||
PROV:class-nativesdk = ""
|
||||
|
||||
PROVIDES += "${PROV}"
|
||||
|
||||
FILES:${PN} += "${datadir}/zsh"
|
||||
|
||||
PACKAGES =+ "update-alternatives-dpkg"
|
||||
FILES:update-alternatives-dpkg = "${bindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives"
|
||||
RPROVIDES:update-alternatives-dpkg += "update-alternatives"
|
||||
|
||||
PACKAGES += "${PN}-perl"
|
||||
FILES:${PN}-perl = "${libdir}/perl5/${@get_perl_version(d)}"
|
||||
|
||||
RDEPENDS:${PN}-perl += "perl-module-carp perl-module-constant \
|
||||
perl-module-cwd perl-module-digest \
|
||||
perl-module-digest-md5 perl-module-errno \
|
||||
perl-module-exporter perl-module-fcntl \
|
||||
perl-module-feature perl-module-file-basename \
|
||||
perl-module-file-compare perl-module-file-copy \
|
||||
perl-module-file-find perl-module-file-path \
|
||||
perl-module-file-spec perl-module-file-temp \
|
||||
perl-module-list-util perl-module-overload \
|
||||
perl-module-parent perl-module-storable \
|
||||
perl-module-filehandle perl-module-io \
|
||||
perl-module-io-handle perl-module-io-seekable \
|
||||
perl-module-posix perl-module-scalar-util \
|
||||
perl-module-selectsaver perl-module-symbol \
|
||||
perl-module-term-ansicolor perl-module-tie-handle \
|
||||
perl-module-tie-hash perl-module-storable \
|
||||
perl-module-time-hires perl-module-time-piece \
|
||||
perl-module-xsloader"
|
||||
|
||||
# Split out start-stop-daemon to its own package. Note that it
|
||||
# is installed in a different directory than the one used for
|
||||
# the bitbake version.
|
||||
#
|
||||
PACKAGES =+ "${PN}-start-stop"
|
||||
FILES:${PN}-start-stop = "${sbindir}/start-stop-daemon.${BPN}"
|
||||
ALTERNATIVE:${PN}-start-stop = "start-stop-daemon"
|
||||
ALTERNATIVE_LINK_NAME[start-stop-daemon] = "${sbindir}/start-stop-daemon"
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
|
||||
EXTRA_RDPENDS = "ldconfig"
|
||||
EXTRA_RDPENDS:libc-musl = ""
|
||||
RDEPENDS:${PN} += "${PN}-start-stop ${EXTRA_RDPENDS}"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,39 @@
|
||||
From 279e4c274f5f295823cf9fa95d3ba131f6d711db Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 29 Apr 2020 22:02:23 -0700
|
||||
Subject: [PATCH] Add support for riscv32 CPU
|
||||
|
||||
Upstream-Status: Inappropriate [not a debian architecture]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
data/cputable | 1 +
|
||||
scripts/Dpkg/Vendor/Debian.pm | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/data/cputable b/data/cputable
|
||||
index 9f2a8e0..1d935b1 100644
|
||||
--- a/data/cputable
|
||||
+++ b/data/cputable
|
||||
@@ -41,6 +41,7 @@ powerpc powerpc (powerpc|ppc) 32 big
|
||||
powerpcel powerpcle powerpcle 32 little
|
||||
ppc64 powerpc64 (powerpc|ppc)64 64 big
|
||||
ppc64el powerpc64le powerpc64le 64 little
|
||||
+riscv32 riscv32 riscv32 32 little
|
||||
riscv64 riscv64 riscv64 64 little
|
||||
s390 s390 s390 32 big
|
||||
s390x s390x s390x 64 big
|
||||
diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
|
||||
index a352bbd..fa1d90b 100644
|
||||
--- a/scripts/Dpkg/Vendor/Debian.pm
|
||||
+++ b/scripts/Dpkg/Vendor/Debian.pm
|
||||
@@ -306,6 +306,7 @@ sub _add_build_flags {
|
||||
powerpc
|
||||
ppc64
|
||||
ppc64el
|
||||
+ riscv32
|
||||
riscv64
|
||||
s390x
|
||||
sparc
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
From e3ade3464b8a1129a55c2790cf114d9ae01e3cda Mon Sep 17 00:00:00 2001
|
||||
From: Paul Eggleton <paul.eggleton@linux.microsoft.com>
|
||||
Date: Tue, 16 Jun 2020 03:57:25 +0000
|
||||
Subject: [PATCH] build.c: ignore return of 1 from tar -cf
|
||||
|
||||
When running do_package_write_deb, we have trees of hardlinked files
|
||||
such as the dbg source files in ${PN}-dbg. If something makes another
|
||||
copy of one of those files (or deletes one), the number of links a file
|
||||
has changes and tar can notice this, e.g.:
|
||||
|
||||
| DEBUG: Executing python function do_package_deb
|
||||
| dpkg-deb: building package `sed-ptest' in `/media/build1/poky/build/tmp/work/i586-poky-linux/sed/4.2.2-r0/deploy-debs/i586/sed-ptest_4.2.2-r0.3_i386.deb'.
|
||||
| tar: ./usr/lib/sed/ptest/testsuite/tst-regex2: file changed as we read it
|
||||
| dpkg-deb: error: subprocess tar -cf returned error exit status 1
|
||||
|
||||
Tar returns an error of 1 when files 'change' and other errors codes
|
||||
in other error cases. We tweak dpkg-deb here so that it ignores an exit
|
||||
code of 1 from tar. The files don't really change (and we have locking in
|
||||
place to avoid that kind of issue).
|
||||
|
||||
Upstream-Status: Inappropriate [OE specific]
|
||||
|
||||
Original patch by RP 2015/3/27, rebased by Paul Eggleton
|
||||
|
||||
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
|
||||
|
||||
---
|
||||
src/deb/build.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/deb/build.c b/src/deb/build.c
|
||||
index 76613adec..7c216d1a9 100644
|
||||
--- a/src/deb/build.c
|
||||
+++ b/src/deb/build.c
|
||||
@@ -482,6 +482,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
|
||||
{
|
||||
int pipe_filenames[2], pipe_tarball[2];
|
||||
pid_t pid_tar, pid_comp;
|
||||
+ int rc;
|
||||
|
||||
/* Fork off a tar. We will feed it a list of filenames on stdin later. */
|
||||
m_pipe(pipe_filenames);
|
||||
@@ -534,7 +535,9 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
|
||||
/* All done, clean up wait for tar and <compress> to finish their job. */
|
||||
close(pipe_filenames[1]);
|
||||
subproc_reap(pid_comp, _("<compress> from tar -cf"), 0);
|
||||
- subproc_reap(pid_tar, "tar -cf", 0);
|
||||
+ rc = subproc_reap(pid_tar, "tar -cf", SUBPROC_RETERROR);
|
||||
+ if (rc && rc != 1)
|
||||
+ ohshite(_("subprocess %s returned error exit status %d"), "tar -cf", rc);
|
||||
}
|
||||
|
||||
static intmax_t
|
||||
@@ -0,0 +1,41 @@
|
||||
From a328c8bec0bf8071ae8f20fee4c7475205064ba1 Mon Sep 17 00:00:00 2001
|
||||
From: sweeaun <swee.aun.khor@intel.com>
|
||||
Date: Sun, 10 Sep 2017 00:14:15 -0700
|
||||
Subject: [PATCH] dpkg: Support muslx32 build
|
||||
|
||||
Upstream-Status: Inappropriate [not a debian architecture]
|
||||
Changes made on ostable and tupletable to enable muslx32 build.
|
||||
|
||||
Signed-off-by: sweeaun <swee.aun.khor@intel.com>
|
||||
---
|
||||
data/ostable | 1 +
|
||||
data/tupletable | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/data/ostable b/data/ostable
|
||||
index be64342..87db273 100644
|
||||
--- a/data/ostable
|
||||
+++ b/data/ostable
|
||||
@@ -19,6 +19,7 @@ base-uclibc-linux linux-uclibc linux[^-]*-uclibc
|
||||
eabihf-musl-linux linux-musleabihf linux[^-]*-musleabihf
|
||||
eabi-musl-linux linux-musleabi linux[^-]*-musleabi
|
||||
base-musl-linux linux-musl linux[^-]*-musl
|
||||
+x32-musl-linux linux-muslx32 linux[^-]*-muslx32
|
||||
eabihf-gnu-linux linux-gnueabihf linux[^-]*-gnueabihf
|
||||
eabi-gnu-linux linux-gnueabi linux[^-]*-gnueabi
|
||||
abin32-gnu-linux linux-gnuabin32 linux[^-]*-gnuabin32
|
||||
diff --git a/data/tupletable b/data/tupletable
|
||||
index 28f00bf..748ffab 100644
|
||||
--- a/data/tupletable
|
||||
+++ b/data/tupletable
|
||||
@@ -10,6 +10,7 @@ base-uclibc-linux-<cpu> uclibc-linux-<cpu>
|
||||
eabihf-musl-linux-arm musl-linux-armhf
|
||||
eabi-musl-linux-arm musl-linux-armel
|
||||
base-musl-linux-<cpu> musl-linux-<cpu>
|
||||
+x32-musl-linux-amd64 x32
|
||||
ilp32-gnu-linux-arm64 arm64ilp32
|
||||
eabihf-gnu-linux-arm armhf
|
||||
eabi-gnu-linux-arm armel
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
From b4ea54158c399874e12394ebc91afe98954695e2 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Wed, 26 Aug 2015 16:16:16 +0300
|
||||
Subject: [PATCH 2/5] Adapt to linux-wrs kernel version, which has character
|
||||
'_' inside. Remove the first-char-digit-check (as the 1.15.8.5 version does).
|
||||
|
||||
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
|
||||
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
---
|
||||
lib/dpkg/parsehelp.c | 6 ++----
|
||||
1 file changed, 2 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/lib/dpkg/parsehelp.c b/lib/dpkg/parsehelp.c
|
||||
index 63a36f55c..81901bd5a 100644
|
||||
--- a/lib/dpkg/parsehelp.c
|
||||
+++ b/lib/dpkg/parsehelp.c
|
||||
@@ -275,14 +275,12 @@ parseversion(struct dpkg_version *rversion, const char *string,
|
||||
ptr = rversion->version;
|
||||
if (!*ptr)
|
||||
return dpkg_put_error(err, _("version number is empty"));
|
||||
- if (!c_isdigit(*ptr++))
|
||||
- return dpkg_put_warn(err, _("version number does not start with digit"));
|
||||
for (; *ptr; ptr++) {
|
||||
- if (!c_isdigit(*ptr) && !c_isalpha(*ptr) && strchr(".-+~:", *ptr) == NULL)
|
||||
+ if (!c_isdigit(*ptr) && !c_isalpha(*ptr) && strchr(".-+~:_", *ptr) == NULL)
|
||||
return dpkg_put_warn(err, _("invalid character in version number"));
|
||||
}
|
||||
for (ptr = rversion->revision; *ptr; ptr++) {
|
||||
- if (!c_isdigit(*ptr) && !c_isalpha(*ptr) && strchr(".+~", *ptr) == NULL)
|
||||
+ if (!c_isdigit(*ptr) && !c_isalpha(*ptr) && strchr(".-+~_", *ptr) == NULL)
|
||||
return dpkg_put_warn(err, _("invalid character in revision number"));
|
||||
}
|
||||
|
||||
--
|
||||
2.11.0
|
||||
@@ -0,0 +1,84 @@
|
||||
From ff325b35639a797edd92b373fbebf7b8b9f3f0c3 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Wed, 26 Aug 2015 16:25:45 +0300
|
||||
Subject: [PATCH] Our pre/postinsts expect $D to be set when running in a
|
||||
sysroot and don't expect a chroot. This matches up our system expectations
|
||||
with what dpkg does.
|
||||
|
||||
Upstream-Status: Inappropriate [OE Specific]
|
||||
|
||||
RP 2011/12/07
|
||||
ALIMON 2016/05/26
|
||||
ALIMON 2017/02/21
|
||||
KKang 2019/02/20
|
||||
|
||||
---
|
||||
src/main/script.c | 53 +++--------------------------------------------
|
||||
1 file changed, 3 insertions(+), 50 deletions(-)
|
||||
|
||||
diff --git a/src/main/script.c b/src/main/script.c
|
||||
index ecce4d842..16f4e6ff5 100644
|
||||
--- a/src/main/script.c
|
||||
+++ b/src/main/script.c
|
||||
@@ -97,58 +97,11 @@ static const char *
|
||||
maintscript_pre_exec(struct command *cmd)
|
||||
{
|
||||
const char *instdir = dpkg_fsys_get_dir();
|
||||
- const char *admindir = dpkg_db_get_dir();
|
||||
- const char *changedir;
|
||||
- size_t instdirlen = strlen(instdir);
|
||||
|
||||
- if (instdirlen > 0 && in_force(FORCE_SCRIPT_CHROOTLESS))
|
||||
- changedir = instdir;
|
||||
- else
|
||||
- changedir = "/";
|
||||
-
|
||||
- if (instdirlen > 0 && !in_force(FORCE_SCRIPT_CHROOTLESS)) {
|
||||
- int rc;
|
||||
-
|
||||
- if (strncmp(admindir, instdir, instdirlen) != 0)
|
||||
- ohshit(_("admindir must be inside instdir for dpkg to work properly"));
|
||||
- if (setenv("DPKG_ADMINDIR", admindir + instdirlen, 1) < 0)
|
||||
- ohshite(_("unable to setenv for subprocesses"));
|
||||
- if (setenv("DPKG_ROOT", "", 1) < 0)
|
||||
- ohshite(_("unable to setenv for subprocesses"));
|
||||
-
|
||||
- rc = chroot(instdir);
|
||||
- if (rc && in_force(FORCE_NON_ROOT) && errno == EPERM)
|
||||
- ohshit(_("not enough privileges to change root "
|
||||
- "directory with --force-not-root, consider "
|
||||
- "using --force-script-chrootless?"));
|
||||
- else if (rc)
|
||||
- ohshite(_("failed to chroot to '%.250s'"), instdir);
|
||||
- }
|
||||
- /* Switch to a known good directory to give the maintainer script
|
||||
- * a saner environment, also needed after the chroot(). */
|
||||
- if (chdir(changedir))
|
||||
- ohshite(_("failed to chdir to '%.255s'"), changedir);
|
||||
- if (debug_has_flag(dbg_scripts)) {
|
||||
- struct varbuf args = VARBUF_INIT;
|
||||
- const char **argv = cmd->argv;
|
||||
-
|
||||
- while (*++argv) {
|
||||
- varbuf_add_char(&args, ' ');
|
||||
- varbuf_add_str(&args, *argv);
|
||||
- }
|
||||
- varbuf_end_str(&args);
|
||||
- debug(dbg_scripts, "fork/exec %s (%s )", cmd->filename,
|
||||
- args.buf);
|
||||
- varbuf_destroy(&args);
|
||||
+ if (*instdir) {
|
||||
+ setenv("D", instdir, 1);
|
||||
}
|
||||
- if (instdirlen == 0 || in_force(FORCE_SCRIPT_CHROOTLESS))
|
||||
- return cmd->filename;
|
||||
-
|
||||
- if (strlen(cmd->filename) < instdirlen)
|
||||
- internerr("maintscript name '%s' length < instdir length %zd",
|
||||
- cmd->filename, instdirlen);
|
||||
-
|
||||
- return cmd->filename + instdirlen;
|
||||
+ return cmd->filename;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -0,0 +1,31 @@
|
||||
From adb6bfd0feeceaf030df0debe3343d7f73e708a0 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Wed, 26 Aug 2015 16:27:45 +0300
|
||||
Subject: [PATCH 4/5] The lutimes function doesn't work properly for all
|
||||
systems.
|
||||
|
||||
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
---
|
||||
src/main/archives.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/main/archives.c b/src/main/archives.c
|
||||
index 92340b9..7a55c27 100644
|
||||
--- a/src/main/archives.c
|
||||
+++ b/src/main/archives.c
|
||||
@@ -490,8 +490,9 @@ tarobject_set_mtime(struct tar_entry *te, const char *path)
|
||||
|
||||
if (te->type == TAR_FILETYPE_SYMLINK) {
|
||||
#ifdef HAVE_LUTIMES
|
||||
- if (lutimes(path, tv) && errno != ENOSYS)
|
||||
+/* if (lutimes(path, tv) && errno != ENOSYS)
|
||||
ohshite(_("error setting timestamps of '%.255s'"), path);
|
||||
+*/
|
||||
#endif
|
||||
} else {
|
||||
if (utimes(path, tv))
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
From f8910022dc3ec622272f168cd0022dbdf6dff93a Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 30 Dec 2015 23:05:41 +0000
|
||||
Subject: [PATCH] add musleabi to known target tripets
|
||||
|
||||
helps compiling dpkg for musl/arm-softfloat
|
||||
|
||||
Upstream-Status: Inappropriate [not a debian architecture]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
||||
---
|
||||
data/ostable | 1 +
|
||||
data/tupletable | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/data/ostable b/data/ostable
|
||||
index 99c1f889d..be6434271 100644
|
||||
--- a/data/ostable
|
||||
+++ b/data/ostable
|
||||
@@ -17,6 +17,7 @@
|
||||
eabi-uclibc-linux linux-uclibceabi linux[^-]*-uclibceabi
|
||||
base-uclibc-linux linux-uclibc linux[^-]*-uclibc
|
||||
eabihf-musl-linux linux-musleabihf linux[^-]*-musleabihf
|
||||
+eabi-musl-linux linux-musleabi linux[^-]*-musleabi
|
||||
base-musl-linux linux-musl linux[^-]*-musl
|
||||
eabihf-gnu-linux linux-gnueabihf linux[^-]*-gnueabihf
|
||||
eabi-gnu-linux linux-gnueabi linux[^-]*-gnueabi
|
||||
diff --git a/data/tupletable b/data/tupletable
|
||||
index 5f500f6ca..28f00bfe6 100644
|
||||
--- a/data/tupletable
|
||||
+++ b/data/tupletable
|
||||
@@ -8,6 +8,7 @@
|
||||
eabi-uclibc-linux-arm uclibc-linux-armel
|
||||
base-uclibc-linux-<cpu> uclibc-linux-<cpu>
|
||||
eabihf-musl-linux-arm musl-linux-armhf
|
||||
+eabi-musl-linux-arm musl-linux-armel
|
||||
base-musl-linux-<cpu> musl-linux-<cpu>
|
||||
ilp32-gnu-linux-arm64 arm64ilp32
|
||||
eabihf-gnu-linux-arm armhf
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
From 8659eeeeda74d71e12080121f0b13a88cbdda433 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com>
|
||||
Date: Tue, 21 Feb 2017 11:23:27 -0600
|
||||
Subject: [PATCH] dpkg-deb/build.c: Remove usage of --clamp-mtime in tar
|
||||
|
||||
Recently dpkg added --clamp-mtime to tar to create reproducible
|
||||
build tarballs [1].
|
||||
|
||||
But host tools doesn't support this option because is new on tar
|
||||
so disable in our builds.
|
||||
|
||||
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
||||
|
||||
Upstream-Status: Inappropriate [Configuration]
|
||||
|
||||
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759999#20
|
||||
[2] https://lists.gnu.org/archive/html/help-tar/2016-01/msg00000.html
|
||||
|
||||
Update patch context for dpkg 1.19.4.
|
||||
|
||||
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
||||
---
|
||||
src/deb/build.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/deb/build.c b/src/deb/build.c
|
||||
index 5c74ff3..76613ad 100644
|
||||
--- a/src/deb/build.c
|
||||
+++ b/src/deb/build.c
|
||||
@@ -505,7 +505,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
|
||||
|
||||
command_init(&cmd, TAR, "tar -cf");
|
||||
command_add_args(&cmd, "tar", "-cf", "-", "--format=gnu",
|
||||
- "--mtime", mtime, "--clamp-mtime", NULL);
|
||||
+ "--mtime", mtime, NULL);
|
||||
/* Mode might become a positional argument, pass it before -T. */
|
||||
if (options->mode)
|
||||
command_add_args(&cmd, "--mode", options->mode, NULL);
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
Author: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
|
||||
Date: Wed Apr 8 18:08:14 2015 +0530
|
||||
|
||||
[PATCH] add armeb triplet entry into triplettable.
|
||||
|
||||
Cross-compling dpkg application for armeb fails with below error
|
||||
during configure task,
|
||||
|
||||
(snip)
|
||||
configure:23141: checking dpkg cpu type
|
||||
configure:23148: result: armeb
|
||||
configure:23150: WARNING: armeb not found in cputable
|
||||
configure:23162: checking dpkg operating system type
|
||||
configure:23169: result: linux-gnueabi
|
||||
configure:23171: WARNING: linux-gnueabi not found in ostable
|
||||
configure:23183: checking dpkg architecture name
|
||||
configure:23189: error: cannot determine host dpkg architecture
|
||||
-- CUT --
|
||||
|
||||
the required combination of "gnueabi-linux-armeb" was not found in
|
||||
the triplettable file thereby returning dpkg_arch as
|
||||
empty in configure script.
|
||||
|
||||
Upstream-Status: Inappropriate [not a debian architecture]
|
||||
|
||||
Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
|
||||
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
||||
|
||||
---
|
||||
data/tupletable | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/data/tupletable b/data/tupletable
|
||||
index b7802bec3..5f500f6ca 100644
|
||||
--- a/data/tupletable
|
||||
+++ b/data/tupletable
|
||||
@@ -12,6 +12,7 @@ base-musl-linux-<cpu> musl-linux-<cpu>
|
||||
ilp32-gnu-linux-arm64 arm64ilp32
|
||||
eabihf-gnu-linux-arm armhf
|
||||
eabi-gnu-linux-arm armel
|
||||
+eabi-gnu-linux-armeb armeb
|
||||
abin32-gnu-linux-mips64r6el mipsn32r6el
|
||||
abin32-gnu-linux-mips64r6 mipsn32r6
|
||||
abin32-gnu-linux-mips64el mipsn32el
|
||||
--
|
||||
2.11.0
|
||||
|
||||
|
||||
29
sources/poky/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
Normal file
29
sources/poky/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
configure cannot determine the proper cpu, os, or
|
||||
architecture for mips64, and possibly other arch's
|
||||
because of faulty code added to Arch.pm in the latest
|
||||
release from upstream. We remove that code.
|
||||
|
||||
Upstream-Status: Inappropriate [not a debian architecture]
|
||||
|
||||
Signed-off-by: Joe Slater <jslater@windriver.com>
|
||||
|
||||
---
|
||||
scripts/Dpkg/Arch.pm | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm
|
||||
index 1720847b8..6345ce3b9 100644
|
||||
--- a/scripts/Dpkg/Arch.pm
|
||||
+++ b/scripts/Dpkg/Arch.pm
|
||||
@@ -323,9 +323,6 @@ sub _load_tupletable()
|
||||
(my $dt = $debtuple) =~ s/<cpu>/$_cpu/;
|
||||
(my $da = $debarch) =~ s/<cpu>/$_cpu/;
|
||||
|
||||
- next if exists $debarch_to_debtuple{$da}
|
||||
- or exists $debtuple_to_debarch{$dt};
|
||||
-
|
||||
$debarch_to_debtuple{$da} = $dt;
|
||||
$debtuple_to_debarch{$dt} = $da;
|
||||
}
|
||||
--
|
||||
2.11.0
|
||||
21
sources/poky/meta/recipes-devtools/dpkg/dpkg/noman.patch
Normal file
21
sources/poky/meta/recipes-devtools/dpkg/dpkg/noman.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
Upstream-Status: Inappropriate [disable feature]
|
||||
|
||||
---
|
||||
Makefile.am | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index d963a10..7cef7f5 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -11,7 +11,6 @@ SUBDIRS = \
|
||||
$(MAYBE_DSELECT) \
|
||||
scripts \
|
||||
po \
|
||||
- man \
|
||||
# EOL
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
--
|
||||
2.25.1
|
||||
|
||||
21
sources/poky/meta/recipes-devtools/dpkg/dpkg/pager.patch
Normal file
21
sources/poky/meta/recipes-devtools/dpkg/dpkg/pager.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
pager: Use less instead of pager
|
||||
|
||||
pager is a Debianism. Istead use directly pager.
|
||||
|
||||
Upstream-Status: Inappropriate [OE-Core integration specific]
|
||||
|
||||
Suggested-by: Burton, Ross <ross.burton@intel.com>
|
||||
Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
|
||||
diff --git a/lib/dpkg/dpkg.h b/lib/dpkg/dpkg.h
|
||||
index 2bb067a..6cbce80 100644
|
||||
--- a/lib/dpkg/dpkg.h
|
||||
+++ b/lib/dpkg/dpkg.h
|
||||
@@ -95,7 +95,7 @@ DPKG_BEGIN_DECLS
|
||||
#define MAXUPDATES 250
|
||||
|
||||
#define DEFAULTSHELL "sh"
|
||||
-#define DEFAULTPAGER "pager"
|
||||
+#define DEFAULTPAGER "less"
|
||||
|
||||
#define MD5HASHLEN 32
|
||||
#define MAXTRIGDIRECTIVE 256
|
||||
@@ -0,0 +1,24 @@
|
||||
busybox-1.19.4 tar utility doesn't support --warning=no-timestamp
|
||||
|
||||
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
---
|
||||
src/deb/extract.c | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/src/deb/extract.c b/src/deb/extract.c
|
||||
index a1b2dc0..95e2372 100644
|
||||
--- a/src/deb/extract.c
|
||||
+++ b/src/deb/extract.c
|
||||
@@ -333,7 +333,6 @@ extracthalf(const char *debar, const char *dir,
|
||||
|
||||
command_add_arg(&cmd, "-f");
|
||||
command_add_arg(&cmd, "-");
|
||||
- command_add_arg(&cmd, "--warning=no-timestamp");
|
||||
|
||||
m_dup2(p2[0],0);
|
||||
close(p2[0]);
|
||||
--
|
||||
2.25.1
|
||||
|
||||
23
sources/poky/meta/recipes-devtools/dpkg/dpkg_1.22.0.bb
Normal file
23
sources/poky/meta/recipes-devtools/dpkg/dpkg_1.22.0.bb
Normal file
@@ -0,0 +1,23 @@
|
||||
require dpkg.inc
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=main \
|
||||
file://noman.patch \
|
||||
file://remove-tar-no-timestamp.patch \
|
||||
file://arch_pm.patch \
|
||||
file://add_armeb_triplet_entry.patch \
|
||||
file://0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch \
|
||||
file://0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch \
|
||||
file://0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch \
|
||||
file://0006-add-musleabi-to-known-target-tripets.patch \
|
||||
file://0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch \
|
||||
file://0001-dpkg-Support-muslx32-build.patch \
|
||||
file://pager.patch \
|
||||
file://0001-Add-support-for-riscv32-CPU.patch \
|
||||
"
|
||||
|
||||
SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch"
|
||||
|
||||
SRCREV = "744487c98a622b9b38c22c6ca330315af4a30a11"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
Reference in New Issue
Block a user