From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 25 May 2022 11:48:21 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ntncr-008VOL-MV for lore@lore.pengutronix.de; Wed, 25 May 2022 11:48:21 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ntncq-0002vH-Vy; Wed, 25 May 2022 11:48:20 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntna3-0007fr-6F; Wed, 25 May 2022 11:45:27 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ntna2-004RBs-WD; Wed, 25 May 2022 11:45:25 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ntna0-00BwSZ-WF; Wed, 25 May 2022 11:45:25 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Wed, 25 May 2022 11:45:24 +0200 Message-Id: <20220525094524.2846284-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220513132742.1962637-1-christian.melki@t2data.com> References: <20220513132742.1962637-1-christian.melki@t2data.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] host-opkg-utils: Version bump. 0.4.2 -> 0.5.0 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Christian Melki Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as ed660a4b4bff78144b040e4553a72f2b1bb70fe8. Michael [sent from post-receive hook] On Wed, 25 May 2022 11:45:24 +0200, Christian Melki wrote: > Follow opkg upgrade. > Minor bugfixes. Notable features is zstd which > follows the inclusion of zstd in opkg. > > * Remove old patches. The one in the upstream tag series is now included in the release. > Forward the rest. > * Add patch directory with non upstream patches. > > Signed-off-by: Christian Melki > Message-Id: <20220513132742.1962637-1-christian.melki@t2data.com> > Signed-off-by: Michael Olbrich > > diff --git a/patches/opkg-utils-0.4.2/0001-Fix-reproducibility-issues-in-opkg-build.patch b/patches/opkg-utils-0.4.2/0001-Fix-reproducibility-issues-in-opkg-build.patch > deleted file mode 100644 > index f1615a392ee6..000000000000 > --- a/patches/opkg-utils-0.4.2/0001-Fix-reproducibility-issues-in-opkg-build.patch > +++ /dev/null > @@ -1,35 +0,0 @@ > -From: Richard Purdie > -Date: Wed, 5 Feb 2020 12:08:39 +0000 > -Subject: [PATCH] Fix reproducibility issues in opkg-build > - > -There is a sorting problem with opkg-build where the ipk generated is depending > -upon the order of files on disk. The reason is the --sort option to tar only > -influences the orders of files tar reads, not those passed by the -T option. > - > -Add in a sort call to resolve this issue. To ensure consistent sorting we > -also need to force to a specific locale (C) else the results are still not > -deterministic. > - > -Signed-off-by: Richard Purdie > -Signed-off-by: Alejandro del Castillo > ---- > - opkg-build | 6 ++++-- > - 1 file changed, 4 insertions(+), 2 deletions(-) > - > -diff --git a/opkg-build b/opkg-build > -index 8b3d7a9f78de..1b564166a7a4 100755 > ---- a/opkg-build > -+++ b/opkg-build > -@@ -305,8 +305,10 @@ if [ ! -z "$SOURCE_DATE_EPOCH" ]; then > - mtime_args="--mtime=@$build_date --clamp-mtime" > - fi > - > --( cd $pkg_dir/$CONTROL && find . -type f > $tmp_dir/control_list ) > --( cd $pkg_dir && find . -path ./$CONTROL -prune -o -path . -o -print > $tmp_dir/file_list ) > -+export LANG=C > -+export LC_ALL=C > -+( cd $pkg_dir/$CONTROL && find . -type f | sort > $tmp_dir/control_list ) > -+( cd $pkg_dir && find . -path ./$CONTROL -prune -o -path . -o -print | sort > $tmp_dir/file_list ) > - ( cd $pkg_dir && tar $ogargs $tsortargs --no-recursion $mtime_args -c $tarformat -T $tmp_dir/file_list | $compressor $compressorargs > $tmp_dir/data.tar.$cext ) > - ( 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 ) > - rm $tmp_dir/file_list > diff --git a/patches/opkg-utils-0.4.2/0100-opkg-build-use-CROSS_COMPILE-ar.patch b/patches/opkg-utils-0.5.0/0100-opkg-build-use-CROSS_COMPILE-ar.patch > similarity index 100% > rename from patches/opkg-utils-0.4.2/0100-opkg-build-use-CROSS_COMPILE-ar.patch > rename to patches/opkg-utils-0.5.0/0100-opkg-build-use-CROSS_COMPILE-ar.patch > diff --git a/patches/opkg-utils-0.4.2/0101-Update-Installed-Size-properly.patch b/patches/opkg-utils-0.5.0/0101-Update-Installed-Size-properly.patch > similarity index 100% > rename from patches/opkg-utils-0.4.2/0101-Update-Installed-Size-properly.patch > rename to patches/opkg-utils-0.5.0/0101-Update-Installed-Size-properly.patch > diff --git a/patches/opkg-utils-0.4.2/0102-opkg-build-in-ptxdist-the-maxium-UID-for-system-user.patch b/patches/opkg-utils-0.5.0/0102-opkg-build-in-ptxdist-the-maxium-UID-for-system-user.patch > similarity index 100% > rename from patches/opkg-utils-0.4.2/0102-opkg-build-in-ptxdist-the-maxium-UID-for-system-user.patch > rename to patches/opkg-utils-0.5.0/0102-opkg-build-in-ptxdist-the-maxium-UID-for-system-user.patch > diff --git a/patches/opkg-utils-0.4.2/0103-Revert-opkg-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch b/patches/opkg-utils-0.5.0/0103-Revert-opkg-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch > similarity index 100% > rename from patches/opkg-utils-0.4.2/0103-Revert-opkg-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch > rename to patches/opkg-utils-0.5.0/0103-Revert-opkg-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch > diff --git a/patches/opkg-utils-0.4.2/0104-opkg-build-fix-typo-in-compressorargs.patch b/patches/opkg-utils-0.5.0/0104-opkg-build-fix-typo-in-compressorargs.patch > similarity index 100% > rename from patches/opkg-utils-0.4.2/0104-opkg-build-fix-typo-in-compressorargs.patch > rename to patches/opkg-utils-0.5.0/0104-opkg-build-fix-typo-in-compressorargs.patch > diff --git a/patches/opkg-utils-0.4.2/series b/patches/opkg-utils-0.5.0/series > similarity index 77% > rename from patches/opkg-utils-0.4.2/series > rename to patches/opkg-utils-0.5.0/series > index 5782e137fa08..dd02ae5e56d1 100644 > --- a/patches/opkg-utils-0.4.2/series > +++ b/patches/opkg-utils-0.5.0/series > @@ -1,11 +1,10 @@ > # generated by git-ptx-patches > #tag:base --start-number 1 > #tag:upstream --start-number 1 > -0001-Fix-reproducibility-issues-in-opkg-build.patch > #tag:ptx --start-number 100 > 0100-opkg-build-use-CROSS_COMPILE-ar.patch > 0101-Update-Installed-Size-properly.patch > 0102-opkg-build-in-ptxdist-the-maxium-UID-for-system-user.patch > 0103-Revert-opkg-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch > 0104-opkg-build-fix-typo-in-compressorargs.patch > -# beebeb187639b0a8c121563179f0d21b - git-ptx-patches magic > +# 5dc8ab865b0d2f99f1b9b711848d5ae2 - git-ptx-patches magic > diff --git a/rules/host-opkg-utils.make b/rules/host-opkg-utils.make > index cec8ac4f6b24..da77db02405d 100644 > --- a/rules/host-opkg-utils.make > +++ b/rules/host-opkg-utils.make > @@ -14,8 +14,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_OPKG_UTILS) += host-opkg-utils > # > # Paths and names > # > -HOST_OPKG_UTILS_VERSION := 0.4.2 > -HOST_OPKG_UTILS_MD5 := 1c8683135c2998d9bb459a547bcdfb2f > +HOST_OPKG_UTILS_VERSION := 0.5.0 > +HOST_OPKG_UTILS_MD5 := 475a85baea919752a21fcd1952aff7b8 > HOST_OPKG_UTILS := opkg-utils-$(HOST_OPKG_UTILS_VERSION) > HOST_OPKG_UTILS_SUFFIX := tar.bz2 > HOST_OPKG_UTILS_URL := http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/snapshot/$(HOST_OPKG_UTILS).$(HOST_OPKG_UTILS_SUFFIX)