-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport patch to fix tar errors: tar: value 1762430260 out of uid_t range 0..2097151 Signed-off-by: Kai Kang <[email protected]> Signed-off-by: Haixiao Yan <[email protected]> Signed-off-by: Armin Kuster <[email protected]>
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...xfce4-panel-profiles/xfce4-panel-profiles/0001-Makefile.in.in-Pass-arguments-to-tar.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Upstream-Status: Backport [https://gitlab.xfce.org/apps/xfce4-panel-profiles/-/commit/1b853cf] | ||
|
||
Signed-off-by: Kai Kang <[email protected]> | ||
|
||
From 1b853cf45b63c67ef52fc1288afb19b18542bb21 Mon Sep 17 00:00:00 2001 | ||
From: Akbarkhon Variskhanov <[email protected]> | ||
Date: Thu, 3 Nov 2022 10:29:52 +0500 | ||
Subject: [PATCH] Makefile.in.in: Pass arguments to tar to make build | ||
reproducible regardless of user or umask | ||
|
||
--- | ||
Makefile.in.in | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/Makefile.in.in b/Makefile.in.in | ||
index 84b12cb..cdb05c6 100644 | ||
--- a/Makefile.in.in | ||
+++ b/Makefile.in.in | ||
@@ -31,6 +31,8 @@ pot: | ||
|
||
ifeq ($(shell tar --help|grep -o sort=),sort=) | ||
TAROPTS := --sort=name --format ustar | ||
+ TAROPTS += --owner=0 --group=0 --numeric-owner | ||
+ TAROPTS += --mode=u=wrX,og= | ||
endif | ||
layouts: | ||
cd data/layouts/cupertino; tar $(TAROPTS) -cvjf "../Cupertino.tar.bz2" * | ||
-- | ||
GitLab | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters