Issue after changing from xz to zstd
Hartmut Birr
osexpert at gmail.com
Sat Apr 6 12:46:51 PDT 2024
Hi,
I did change the Makefile for dnsmasq in the way that I give:
PKG_SOURCE_URL:=git://thekelleys.org.uk/dnsmasq.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2024-03-27
PKG_SOURCE_VERSION:=550c368adea12b312f83686c61f9015c122046c2 # Treat cache insertion failure of DNSKEY and DS records as another resource problem and fail validation with suitable logging.
PKG_MIRROR_HASH:=284a34bdb967ec8a9dff132df065ca64e9a1819d79bb8cecee1af001e22d626c
Before changing to zstd, the generated source tar ball contains a file 'VERSION' with content '$Format:%d$'. This does match the dnsmasq git repository. After changing to zstd, VERSION contains ' (HEAD, origin/master, origin/HEAD, master)'.
Any idea why VERSION is manipulated?
I generate automatically a patch which modifies VERSION to see the commit hash via logread. Applying the patch doesn't work any more.
dnsmasq/patches/999-dnsmasq-version.patch:
diff --git a/VERSION b/VERSION
index 998eb1f..9977908 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-$Format:%d$
+ (master, v2.90deb2-8-g550c368, head)
Regards,
Hartmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2781 bytes
Desc: Kryptografische S/MIME-Signatur
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20240406/bcfd15db/attachment.p7s>
More information about the openwrt-devel
mailing list