Skip to content

Commit

Permalink
Changing the tarball mtime date to something a bit more current to avoid
Browse files Browse the repository at this point in the history
lintian errors like:
    package-contains-ancient-file etc/default/node_exporter 1970-01-01
Simplifying sed/awk call to find DSC file.
  • Loading branch information
laeti-tia committed Apr 23, 2024
1 parent 2100174 commit 31e7257
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions unibuild-package/unibuild-package/unibuild-deb.make
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ else
-# PORT: a Debian-only operation.
(cd $(BUILD_ORIG_DIR) && tar \
--sort=name \
--mtime='GMT 1970-01-01' \
--mtime='GMT 2011-11-11' \
--owner=0 \
--group=0 \
--numeric-owner \
Expand Down Expand Up @@ -288,8 +288,7 @@ endif
-name "*.deb" -o -name "*.dsc" -o -name "*.changes" -o -name "*.buildinfo" -o -name "*.build" -o -name "*.tar.*" -o -name "*.diff.gz" \
\) -exec cp {} "$(PRODUCTS_DEST)" \;
mkdir -p "$(REPO_UNIBUILD)"
sed -e ':a;/\\\s*$$/{N;s/\\\s*\n//;ba}' "$(CONTROL)" \
| awk '$$1 == "Source:" { print $$2; exit }' \
awk '$$1 == "Source:" { print $$2; exit }' *.dsc
>> "$(DEBIAN_PACKAGE_ORDER)"


Expand Down

0 comments on commit 31e7257

Please sign in to comment.