diff options
| -rw-r--r-- | meta/recipes-devtools/dpkg/dpkg.inc | 4 | ||||
| -rw-r--r-- | meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch | 7 | ||||
| -rw-r--r-- | meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch | 18 | ||||
| -rw-r--r-- | meta/recipes-devtools/dpkg/dpkg_1.21.13.bb (renamed from meta/recipes-devtools/dpkg/dpkg_1.21.9.bb) | 2 |
4 files changed, 13 insertions, 18 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index 0d17a98b80..b3e8c05d62 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc | |||
| @@ -4,8 +4,8 @@ HOMEPAGE = "https://salsa.debian.org/dpkg-team/dpkg" | |||
| 4 | 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." | 4 | 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." |
| 5 | SECTION = "base" | 5 | SECTION = "base" |
| 6 | 6 | ||
| 7 | DEPENDS = "zlib bzip2 perl ncurses" | 7 | DEPENDS = "zlib bzip2 perl ncurses libmd" |
| 8 | DEPENDS:class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native" | 8 | DEPENDS:class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native libmd-native" |
| 9 | RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl" | 9 | RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl" |
| 10 | RDEPENDS:${PN}:class-native = "" | 10 | RDEPENDS:${PN}:class-native = "" |
| 11 | 11 | ||
diff --git a/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch b/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch index dc0d9bfc2e..1b5b89644f 100644 --- a/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch +++ b/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 839f228556c00739f72534e8635195935eb3752f Mon Sep 17 00:00:00 2001 | 1 | From 54ca20a18253bcf0915b2e2985bbee79bf881ebe Mon Sep 17 00:00:00 2001 |
| 2 | From: Paul Eggleton <paul.eggleton@linux.microsoft.com> | 2 | From: Paul Eggleton <paul.eggleton@linux.microsoft.com> |
| 3 | Date: Tue, 16 Jun 2020 03:57:25 +0000 | 3 | Date: Tue, 16 Jun 2020 03:57:25 +0000 |
| 4 | Subject: [PATCH] build.c: ignore return of 1 from tar -cf | 4 | Subject: [PATCH] build.c: ignore return of 1 from tar -cf |
| @@ -29,7 +29,7 @@ Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> | |||
| 29 | 1 file changed, 4 insertions(+), 1 deletion(-) | 29 | 1 file changed, 4 insertions(+), 1 deletion(-) |
| 30 | 30 | ||
| 31 | diff --git a/src/deb/build.c b/src/deb/build.c | 31 | diff --git a/src/deb/build.c b/src/deb/build.c |
| 32 | index 76613ad..7c216d1 100644 | 32 | index 76613adec..7c216d1a9 100644 |
| 33 | --- a/src/deb/build.c | 33 | --- a/src/deb/build.c |
| 34 | +++ b/src/deb/build.c | 34 | +++ b/src/deb/build.c |
| 35 | @@ -482,6 +482,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder, | 35 | @@ -482,6 +482,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder, |
| @@ -51,6 +51,3 @@ index 76613ad..7c216d1 100644 | |||
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | static intmax_t | 53 | static intmax_t |
| 54 | -- | ||
| 55 | 2.25.1 | ||
| 56 | |||
diff --git a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch index 75ae848264..bd4d5d5353 100644 --- a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch +++ b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From dd11ed66640f79143e42d778b58fdd5a61fb5836 Mon Sep 17 00:00:00 2001 | 1 | From ff325b35639a797edd92b373fbebf7b8b9f3f0c3 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Wed, 26 Aug 2015 16:25:45 +0300 | 3 | Date: Wed, 26 Aug 2015 16:25:45 +0300 |
| 4 | Subject: [PATCH] Our pre/postinsts expect $D to be set when running in a | 4 | Subject: [PATCH] Our pre/postinsts expect $D to be set when running in a |
| @@ -11,22 +11,23 @@ RP 2011/12/07 | |||
| 11 | ALIMON 2016/05/26 | 11 | ALIMON 2016/05/26 |
| 12 | ALIMON 2017/02/21 | 12 | ALIMON 2017/02/21 |
| 13 | KKang 2019/02/20 | 13 | KKang 2019/02/20 |
| 14 | |||
| 14 | --- | 15 | --- |
| 15 | src/main/script.c | 54 +++-------------------------------------------- | 16 | src/main/script.c | 53 +++-------------------------------------------- |
| 16 | 1 file changed, 3 insertions(+), 51 deletions(-) | 17 | 1 file changed, 3 insertions(+), 50 deletions(-) |
| 17 | 18 | ||
| 18 | diff --git a/src/main/script.c b/src/main/script.c | 19 | diff --git a/src/main/script.c b/src/main/script.c |
| 19 | index abe65b6..0edb8f1 100644 | 20 | index ecce4d842..16f4e6ff5 100644 |
| 20 | --- a/src/main/script.c | 21 | --- a/src/main/script.c |
| 21 | +++ b/src/main/script.c | 22 | +++ b/src/main/script.c |
| 22 | @@ -96,58 +96,10 @@ setexecute(const char *path, struct stat *stab) | 23 | @@ -97,58 +97,11 @@ static const char * |
| 23 | static const char * | ||
| 24 | maintscript_pre_exec(struct command *cmd) | 24 | maintscript_pre_exec(struct command *cmd) |
| 25 | { | 25 | { |
| 26 | const char *instdir = dpkg_fsys_get_dir(); | ||
| 26 | - const char *admindir = dpkg_db_get_dir(); | 27 | - const char *admindir = dpkg_db_get_dir(); |
| 27 | - const char *changedir; | 28 | - const char *changedir; |
| 28 | - size_t instdirlen = strlen(instdir); | 29 | - size_t instdirlen = strlen(instdir); |
| 29 | - | 30 | |
| 30 | - if (instdirlen > 0 && in_force(FORCE_SCRIPT_CHROOTLESS)) | 31 | - if (instdirlen > 0 && in_force(FORCE_SCRIPT_CHROOTLESS)) |
| 31 | - changedir = instdir; | 32 | - changedir = instdir; |
| 32 | - else | 33 | - else |
| @@ -81,6 +82,3 @@ index abe65b6..0edb8f1 100644 | |||
| 81 | } | 82 | } |
| 82 | 83 | ||
| 83 | /** | 84 | /** |
| 84 | -- | ||
| 85 | 2.25.1 | ||
| 86 | |||
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.21.9.bb b/meta/recipes-devtools/dpkg/dpkg_1.21.13.bb index feb579723f..8637dcfaf5 100644 --- a/meta/recipes-devtools/dpkg/dpkg_1.21.9.bb +++ b/meta/recipes-devtools/dpkg/dpkg_1.21.13.bb | |||
| @@ -18,6 +18,6 @@ SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=main | |||
| 18 | 18 | ||
| 19 | SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch" | 19 | SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch" |
| 20 | 20 | ||
| 21 | SRCREV = "c2d6b7de5849c62d3a4f55f61dbc53c1992f74ee" | 21 | SRCREV = "ff61d6d650e0455d4c070306a482cf757285d58b" |
| 22 | 22 | ||
| 23 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
