diff options
| author | Kai Kang <kai.kang@windriver.com> | 2024-07-10 14:53:13 +0800 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2024-07-17 20:10:27 -0400 |
| commit | 4052c97dc83d0c88fc277d6fc1815e0699020daa (patch) | |
| tree | 33c5737a2bdecc2c73426fd12d71fdc2e8cfddd8 | |
| parent | f5f4a465f75f668fcc877d938a20920a95cd5613 (diff) | |
| download | meta-openembedded-4052c97dc83d0c88fc277d6fc1815e0699020daa.tar.gz | |
xfce4-panel-profiles:fix tar error
Backport patch to fix tar errors:
tar: value 1762430260 out of uid_t range 0..2097151
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles/0001-Makefile.in.in-Pass-arguments-to-tar.patch b/meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles/0001-Makefile.in.in-Pass-arguments-to-tar.patch new file mode 100644 index 0000000000..6e17187373 --- /dev/null +++ b/meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles/0001-Makefile.in.in-Pass-arguments-to-tar.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | Upstream-Status: Backport [https://gitlab.xfce.org/apps/xfce4-panel-profiles/-/commit/1b853cf] | ||
| 2 | |||
| 3 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
| 4 | |||
| 5 | From 1b853cf45b63c67ef52fc1288afb19b18542bb21 Mon Sep 17 00:00:00 2001 | ||
| 6 | From: Akbarkhon Variskhanov <akbarkhon.variskhanov@gmail.com> | ||
| 7 | Date: Thu, 3 Nov 2022 10:29:52 +0500 | ||
| 8 | Subject: [PATCH] Makefile.in.in: Pass arguments to tar to make build | ||
| 9 | reproducible regardless of user or umask | ||
| 10 | |||
| 11 | --- | ||
| 12 | Makefile.in.in | 2 ++ | ||
| 13 | 1 file changed, 2 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/Makefile.in.in b/Makefile.in.in | ||
| 16 | index 84b12cb..cdb05c6 100644 | ||
| 17 | --- a/Makefile.in.in | ||
| 18 | +++ b/Makefile.in.in | ||
| 19 | @@ -31,6 +31,8 @@ pot: | ||
| 20 | |||
| 21 | ifeq ($(shell tar --help|grep -o sort=),sort=) | ||
| 22 | TAROPTS := --sort=name --format ustar | ||
| 23 | + TAROPTS += --owner=0 --group=0 --numeric-owner | ||
| 24 | + TAROPTS += --mode=u=wrX,og= | ||
| 25 | endif | ||
| 26 | layouts: | ||
| 27 | cd data/layouts/cupertino; tar $(TAROPTS) -cvjf "../Cupertino.tar.bz2" * | ||
| 28 | -- | ||
| 29 | GitLab | ||
| 30 | |||
diff --git a/meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb b/meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb index ab1b827266..f4681f4602 100644 --- a/meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb +++ b/meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb | |||
| @@ -11,6 +11,7 @@ DEPENDS += "intltool-native" | |||
| 11 | 11 | ||
| 12 | SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/1.0/${BP}.tar.bz2 \ | 12 | SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/1.0/${BP}.tar.bz2 \ |
| 13 | file://not-create-link-to-locale.patch \ | 13 | file://not-create-link-to-locale.patch \ |
| 14 | file://0001-Makefile.in.in-Pass-arguments-to-tar.patch \ | ||
| 14 | " | 15 | " |
| 15 | SRC_URI[sha256sum] = "bc387c13f94109422dc72b0fcb919b0dc11619ba589d03e492252b0d2513b170" | 16 | SRC_URI[sha256sum] = "bc387c13f94109422dc72b0fcb919b0dc11619ba589d03e492252b0d2513b170" |
| 16 | 17 | ||
