diff options
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg/pager.patch | 21 | ||||
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg_1.19.4.bb | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg/pager.patch b/meta/recipes-devtools/dpkg/dpkg/pager.patch new file mode 100644 index 0000000000..e56b9d28af --- /dev/null +++ b/meta/recipes-devtools/dpkg/dpkg/pager.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | pager: Use less instead of pager | ||
2 | |||
3 | pager is a Debianism. Istead use directly pager. | ||
4 | |||
5 | Upstream-Status: Inappropriate [OE-Core integration specific] | ||
6 | |||
7 | Suggested-by: Burton, Ross <ross.burton@intel.com> | ||
8 | Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com> | ||
9 | diff --git a/lib/dpkg/dpkg.h b/lib/dpkg/dpkg.h | ||
10 | index 2bb067a..6cbce80 100644 | ||
11 | --- a/lib/dpkg/dpkg.h | ||
12 | +++ b/lib/dpkg/dpkg.h | ||
13 | @@ -95,7 +95,7 @@ DPKG_BEGIN_DECLS | ||
14 | #define MAXUPDATES 250 | ||
15 | |||
16 | #define DEFAULTSHELL "sh" | ||
17 | -#define DEFAULTPAGER "pager" | ||
18 | +#define DEFAULTPAGER "less" | ||
19 | |||
20 | #define MD5HASHLEN 32 | ||
21 | #define MAXTRIGDIRECTIVE 256 | ||
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.19.4.bb b/meta/recipes-devtools/dpkg/dpkg_1.19.4.bb index 77fbfb5c91..b83868fec0 100644 --- a/meta/recipes-devtools/dpkg/dpkg_1.19.4.bb +++ b/meta/recipes-devtools/dpkg/dpkg_1.19.4.bb | |||
@@ -12,6 +12,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/d/${BPN}/${BPN}_${PV}.tar.xz \ | |||
12 | file://0006-add-musleabi-to-known-target-tripets.patch \ | 12 | file://0006-add-musleabi-to-known-target-tripets.patch \ |
13 | file://0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch \ | 13 | file://0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch \ |
14 | file://0001-dpkg-Support-muslx32-build.patch \ | 14 | file://0001-dpkg-Support-muslx32-build.patch \ |
15 | file://pager.patch \ | ||
15 | " | 16 | " |
16 | SRC_URI_append_class-native = " \ | 17 | SRC_URI_append_class-native = " \ |
17 | file://tweak-options-require-tar-1.27.patch \ | 18 | file://tweak-options-require-tar-1.27.patch \ |