diff options
author | Alejandro del Castillo <alejandro.delcastillo@ni.com> | 2020-06-27 18:40:45 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-28 23:37:38 +0100 |
commit | 92e882f7d97d62c869d1cec89b43ab21691ef90b (patch) | |
tree | 5769717970e4d537daab64a694e0e677ef9fc0f6 /meta/recipes-devtools | |
parent | e21201ec3b5248a1d6433d90284b42fe4e1c86ec (diff) | |
download | poky-92e882f7d97d62c869d1cec89b43ab21691ef90b.tar.gz |
opkg-utils: upgrade to 0.4.3
- Drop fix-reproducibility.patch
(From OE-Core rev: 241df436ec9bef404678cd7241eb58188a57eb8d)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/opkg-utils/opkg-utils/fix-reproducibility.patch | 32 | ||||
-rw-r--r-- | meta/recipes-devtools/opkg-utils/opkg-utils_0.4.3.bb (renamed from meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb) | 5 |
2 files changed, 2 insertions, 35 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/fix-reproducibility.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/fix-reproducibility.patch deleted file mode 100644 index 945979bc8a..0000000000 --- a/meta/recipes-devtools/opkg-utils/opkg-utils/fix-reproducibility.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | Fix reproducibility issues in opkg-build | ||
2 | |||
3 | There is a sorting problem with opkg-build where the ipk generated is depending | ||
4 | upon the order of files on disk. The reason is the --sort option to tar only | ||
5 | influences the orders of files tar reads, not those passed by the -T option. | ||
6 | |||
7 | Add in a sort call to resolve this issue. To ensure consistent sorting we | ||
8 | also need to force to a specific locale (C) else the results are still not | ||
9 | deterministic. | ||
10 | |||
11 | RP 2020/2/5 | ||
12 | |||
13 | Upstream-Status: Submitted [https://groups.google.com/forum/#!topic/opkg-devel/YttZ73NLrYQ] | ||
14 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
15 | |||
16 | Index: opkg-utils-0.4.2/opkg-build | ||
17 | =================================================================== | ||
18 | --- opkg-utils-0.4.2.orig/opkg-build | ||
19 | +++ opkg-utils-0.4.2/opkg-build | ||
20 | @@ -305,8 +305,10 @@ if [ ! -z "$SOURCE_DATE_EPOCH" ]; then | ||
21 | mtime_args="--mtime=@$build_date --clamp-mtime" | ||
22 | fi | ||
23 | |||
24 | -( cd $pkg_dir/$CONTROL && find . -type f > $tmp_dir/control_list ) | ||
25 | -( cd $pkg_dir && find . -path ./$CONTROL -prune -o -path . -o -print > $tmp_dir/file_list ) | ||
26 | +export LANG=C | ||
27 | +export LC_ALL=C | ||
28 | +( cd $pkg_dir/$CONTROL && find . -type f | sort > $tmp_dir/control_list ) | ||
29 | +( cd $pkg_dir && find . -path ./$CONTROL -prune -o -path . -o -print | sort > $tmp_dir/file_list ) | ||
30 | ( cd $pkg_dir && tar $ogargs $tsortargs --no-recursion $mtime_args -c $tarformat -T $tmp_dir/file_list | $compressor $compressorargs > $tmp_dir/data.tar.$cext ) | ||
31 | ( cd $pkg_dir/$CONTROL && tar $ogargs $tsortargs --no-recursion --mtime=@$build_date -c $tarformat -T $tmp_dir/control_list | gzip $zipargs > $tmp_dir/control.tar.gz ) | ||
32 | rm $tmp_dir/file_list | ||
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.3.bb index 9315240190..f9df58a295 100644 --- a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.3.bb | |||
@@ -8,12 +8,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
8 | PROVIDES += "${@bb.utils.contains('PACKAGECONFIG', 'update-alternatives', 'virtual/update-alternatives', '', d)}" | 8 | PROVIDES += "${@bb.utils.contains('PACKAGECONFIG', 'update-alternatives', 'virtual/update-alternatives', '', d)}" |
9 | 9 | ||
10 | SRC_URI = "http://git.yoctoproject.org/cgit/cgit.cgi/${BPN}/snapshot/${BPN}-${PV}.tar.gz \ | 10 | SRC_URI = "http://git.yoctoproject.org/cgit/cgit.cgi/${BPN}/snapshot/${BPN}-${PV}.tar.gz \ |
11 | file://fix-reproducibility.patch \ | ||
12 | " | 11 | " |
13 | UPSTREAM_CHECK_URI = "http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/refs/" | 12 | UPSTREAM_CHECK_URI = "http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/refs/" |
14 | 13 | ||
15 | SRC_URI[md5sum] = "cc210650644fcb9bba06ad5ec95a63ec" | 14 | SRC_URI[md5sum] = "7bbadb3c381f3ea935b21d3bb8cc4671" |
16 | SRC_URI[sha256sum] = "5929ad87d541789e0b82d626db01a1201ac48df6f49f2262fcfb86cf815e5d6c" | 15 | SRC_URI[sha256sum] = "046517600fb0aed6c4645edefe02281f4fa2f1c02f71596152d93172452c0b01" |
17 | 16 | ||
18 | TARGET_CC_ARCH += "${LDFLAGS}" | 17 | TARGET_CC_ARCH += "${LDFLAGS}" |
19 | 18 | ||