diff options
author | Alexander Kanavin <alex@linutronix.de> | 2021-08-24 09:52:10 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-24 09:37:21 +0100 |
commit | 47d982e36fe40fede643df00c4191c97d6fa1513 (patch) | |
tree | a0a32e1f0611a66bc015710df19b7c8ee60543d7 /meta/recipes-extended/mc | |
parent | cae167c5babebd5d4a946a1c086e37a2ab73f159 (diff) | |
download | poky-47d982e36fe40fede643df00c4191c97d6fa1513.tar.gz |
mc: fix reproducibility
It is probing into what options the /usr/bin/file executable does
and does not support and bakes that into target binaries, so we
need to use a deterministic one we build ourselves.
(From OE-Core rev: 91bb0c4180b0e788b4483f836478b7de948029a0)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mc')
-rw-r--r-- | meta/recipes-extended/mc/mc_4.8.27.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-extended/mc/mc_4.8.27.bb b/meta/recipes-extended/mc/mc_4.8.27.bb index bc2348432b..546e615d1d 100644 --- a/meta/recipes-extended/mc/mc_4.8.27.bb +++ b/meta/recipes-extended/mc/mc_4.8.27.bb | |||
@@ -4,7 +4,7 @@ DESCRIPTION = "GNU Midnight Commander is a visual file manager, licensed under G | |||
4 | LICENSE = "GPLv3" | 4 | LICENSE = "GPLv3" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=270bbafe360e73f9840bd7981621f9c2" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=270bbafe360e73f9840bd7981621f9c2" |
6 | SECTION = "console/utils" | 6 | SECTION = "console/utils" |
7 | DEPENDS = "ncurses glib-2.0 util-linux" | 7 | DEPENDS = "ncurses glib-2.0 util-linux file-replacement-native" |
8 | RDEPENDS:${PN} = "ncurses-terminfo-base" | 8 | RDEPENDS:${PN} = "ncurses-terminfo-base" |
9 | RRECOMMENDS:${PN} = "ncurses-terminfo" | 9 | RRECOMMENDS:${PN} = "ncurses-terminfo" |
10 | 10 | ||
@@ -14,6 +14,10 @@ SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \ | |||
14 | " | 14 | " |
15 | SRC_URI[sha256sum] = "2f52dd9c75c20d8eac7701bd3a8c6c125aaf8cdd9cf12b78ca50a0102b543407" | 15 | SRC_URI[sha256sum] = "2f52dd9c75c20d8eac7701bd3a8c6c125aaf8cdd9cf12b78ca50a0102b543407" |
16 | 16 | ||
17 | # remove at next version upgrade or when output changes | ||
18 | PR = "r1" | ||
19 | HASHEQUIV_HASH_VERSION .= ".2" | ||
20 | |||
17 | inherit autotools gettext pkgconfig | 21 | inherit autotools gettext pkgconfig |
18 | 22 | ||
19 | # | 23 | # |
@@ -25,6 +29,7 @@ PACKAGECONFIG[sftp] = "--enable-vfs-sftp,--disable-vfs-sftp,libssh2," | |||
25 | 29 | ||
26 | CFLAGS:append:libc-musl = ' -DNCURSES_WIDECHAR=1 ' | 30 | CFLAGS:append:libc-musl = ' -DNCURSES_WIDECHAR=1 ' |
27 | EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --disable-configure-args" | 31 | EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --disable-configure-args" |
32 | EXTRANATIVEPATH += "file-native" | ||
28 | 33 | ||
29 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'" | 34 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'" |
30 | CACHED_CONFIGUREVARS += "ac_cv_path_PYTHON='/usr/bin/env python'" | 35 | CACHED_CONFIGUREVARS += "ac_cv_path_PYTHON='/usr/bin/env python'" |