[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-09-07 Thread Jelle van der Waa via arch-commits
Date: Wednesday, September 7, 2022 @ 14:31:23
  Author: jelle
Revision: 1296096

upgpkg: osbuild 66-2

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-07 13:42:56 UTC (rev 1296095)
+++ PKGBUILD2022-09-07 14:31:23 UTC (rev 1296096)
@@ -4,11 +4,11 @@
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
 pkgver=66
-pkgrel=1
+pkgrel=2
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
-depends=(bubblewrap curl e2fsprogs qemu-img python util-linux python-yaml 
python-jsonschema python-toml)
+depends=(bubblewrap curl e2fsprogs qemu-img python util-linux python-yaml 
python-jsonschema python-toml skopeo)
 makedepends=(make python-docutils python-setuptools)
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-08-31 Thread Jelle van der Waa via arch-commits
Date: Wednesday, August 31, 2022 @ 08:25:45
  Author: jelle
Revision: 1289128

upgpkg: osbuild 66-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-31 08:09:27 UTC (rev 1289127)
+++ PKGBUILD2022-08-31 08:25:45 UTC (rev 1289128)
@@ -3,7 +3,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=64
+pkgver=66
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -13,7 +13,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('3f56ff27516bc410031eea97f04b3d11f4dd7d9905a4558f816abc2050041196')
+sha256sums=('405eb9c9398f09895ac5d43dfc2cc256f5c61183ad88817f45c910fe63867709')
 
 prepare() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-08-25 Thread Jelle van der Waa via arch-commits
Date: Thursday, August 25, 2022 @ 09:15:40
  Author: jelle
Revision: 1278277

upgpkg: osbuild 64-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-25 08:01:29 UTC (rev 1278276)
+++ PKGBUILD2022-08-25 09:15:40 UTC (rev 1278277)
@@ -3,8 +3,8 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=63
-pkgrel=2
+pkgver=64
+pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
@@ -13,7 +13,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('4005cd050e34ec2be2fa7387d6e5913c77f69d54dff2a407894c67f35fd0f633')
+sha256sums=('3f56ff27516bc410031eea97f04b3d11f4dd7d9905a4558f816abc2050041196')
 
 prepare() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-08-08 Thread Jelle van der Waa via arch-commits
Date: Monday, August 8, 2022 @ 17:32:42
  Author: jelle
Revision: 1261547

upgpkg: osbuild 63-2

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-08 17:32:39 UTC (rev 1261546)
+++ PKGBUILD2022-08-08 17:32:42 UTC (rev 1261547)
@@ -4,11 +4,11 @@
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
 pkgver=63
-pkgrel=1
+pkgrel=2
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
-depends=(bubblewrap curl e2fsprogs qemu-img python util-linux python-yaml 
python-jsonschema)
+depends=(bubblewrap curl e2fsprogs qemu-img python util-linux python-yaml 
python-jsonschema python-toml)
 makedepends=(make python-docutils python-setuptools)
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-08-08 Thread Jelle van der Waa via arch-commits
Date: Monday, August 8, 2022 @ 17:31:30
  Author: jelle
Revision: 1261539

upgpkg: osbuild 63-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-08 17:31:28 UTC (rev 1261538)
+++ PKGBUILD2022-08-08 17:31:30 UTC (rev 1261539)
@@ -3,7 +3,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=60
+pkgver=63
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -13,7 +13,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('8584b5fed404f78ae785f2597eb5a44ca2fb5cb4edabf446ad67dba54986')
+sha256sums=('4005cd050e34ec2be2fa7387d6e5913c77f69d54dff2a407894c67f35fd0f633')
 
 prepare() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-07-20 Thread Jelle van der Waa via arch-commits
Date: Wednesday, July 20, 2022 @ 10:09:06
  Author: jelle
Revision: 1254850

upgpkg: osbuild 60-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-07-20 09:59:34 UTC (rev 1254849)
+++ PKGBUILD2022-07-20 10:09:06 UTC (rev 1254850)
@@ -3,7 +3,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=59
+pkgver=60
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -13,7 +13,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('2e63448c0da1e2e471898a7c6bbe06b6dcb7c5e0fc3cc27834369737d0ccd9cc')
+sha256sums=('8584b5fed404f78ae785f2597eb5a44ca2fb5cb4edabf446ad67dba54986')
 
 prepare() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-06-23 Thread Jelle van der Waa via arch-commits
Date: Thursday, June 23, 2022 @ 14:54:15
  Author: jelle
Revision: 1239262

upgpkg: osbuild 59-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-23 14:54:02 UTC (rev 1239261)
+++ PKGBUILD2022-06-23 14:54:15 UTC (rev 1239262)
@@ -3,7 +3,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=58
+pkgver=59
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -13,7 +13,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('4d32f618f6de163931b6cdb3400514c4b0e2812d78aea9c30776cd47f1207707')
+sha256sums=('2e63448c0da1e2e471898a7c6bbe06b6dcb7c5e0fc3cc27834369737d0ccd9cc')
 
 prepare() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-06-09 Thread Jelle van der Waa via arch-commits
Date: Thursday, June 9, 2022 @ 10:13:40
  Author: jelle
Revision: 1229549

upgpkg: osbuild 58-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-09 10:11:53 UTC (rev 1229548)
+++ PKGBUILD2022-06-09 10:13:40 UTC (rev 1229549)
@@ -3,7 +3,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=56
+pkgver=58
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -13,7 +13,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('1260f51595e35b992d09ea55d05dc35e65c603fd1f972cbcfdedac3f9f54ba50')
+sha256sums=('4d32f618f6de163931b6cdb3400514c4b0e2812d78aea9c30776cd47f1207707')
 
 prepare() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-04-27 Thread Jelle van der Waa via arch-commits
Date: Thursday, April 28, 2022 @ 06:32:50
  Author: jelle
Revision: 1191465

upgpkg: osbuild 55-2

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-04-28 06:31:01 UTC (rev 1191464)
+++ PKGBUILD2022-04-28 06:32:50 UTC (rev 1191465)
@@ -4,11 +4,11 @@
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
 pkgver=55
-pkgrel=1
+pkgrel=2
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
-depends=(bubblewrap curl e2fsprogs qemu python util-linux python-yaml 
python-jsonschema)
+depends=(bubblewrap curl e2fsprogs qemu-img python util-linux python-yaml 
python-jsonschema)
 makedepends=(make python-docutils python-setuptools)
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-04-27 Thread Jelle van der Waa via arch-commits
Date: Thursday, April 28, 2022 @ 06:30:54
  Author: jelle
Revision: 1191463

upgpkg: osbuild 55-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-04-28 06:19:49 UTC (rev 1191462)
+++ PKGBUILD2022-04-28 06:30:54 UTC (rev 1191463)
@@ -3,17 +3,17 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=54
-pkgrel=2
+pkgver=55
+pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
-depends=(bubblewrap curl e2fsprogs qemu-img python util-linux python-yaml 
python-jsonschema)
+depends=(bubblewrap curl e2fsprogs qemu python util-linux python-yaml 
python-jsonschema)
 makedepends=(make python-docutils python-setuptools)
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('60397199ffda7b66deb960abf3f2ae98fb9c994a3b95dd520252ac87283723ee')
+sha256sums=('2e699ed64df28374630a0b80252db243927050b07fd9458037d0468475410905')
 
 prepare() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-04-23 Thread David Runge via arch-commits
Date: Saturday, April 23, 2022 @ 17:01:09
  Author: dvzrv
Revision: 1187655

upgpkg: osbuild 54-2: Rebuild for qemu 7.0.0

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-04-23 16:58:43 UTC (rev 1187654)
+++ PKGBUILD2022-04-23 17:01:09 UTC (rev 1187655)
@@ -4,11 +4,11 @@
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
 pkgver=54
-pkgrel=1
+pkgrel=2
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
-depends=(bubblewrap curl e2fsprogs qemu python util-linux python-yaml 
python-jsonschema)
+depends=(bubblewrap curl e2fsprogs qemu-img python util-linux python-yaml 
python-jsonschema)
 makedepends=(make python-docutils python-setuptools)
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')



[arch-commits] Commit in osbuild/trunk (PKGBUILD no-selinux-distro-fix.patch)

2022-04-13 Thread Jelle van der Waa via arch-commits
Date: Wednesday, April 13, 2022 @ 13:52:31
  Author: jelle
Revision: 1186047

upgpkg: osbuild 54-1

Modified:
  osbuild/trunk/PKGBUILD
Deleted:
  osbuild/trunk/no-selinux-distro-fix.patch

-+
 PKGBUILD|4 ++--
 no-selinux-distro-fix.patch |   42 --
 2 files changed, 2 insertions(+), 44 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-04-13 13:10:57 UTC (rev 1186046)
+++ PKGBUILD2022-04-13 13:52:31 UTC (rev 1186047)
@@ -3,7 +3,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=53
+pkgver=54
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -13,7 +13,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('a7d4faa09feeab993b97bf37b80c665b01c472f7d3c965c9256e385ff04b3053')
+sha256sums=('60397199ffda7b66deb960abf3f2ae98fb9c994a3b95dd520252ac87283723ee')
 
 prepare() {
   cd $pkgname-$pkgver

Deleted: no-selinux-distro-fix.patch
===
--- no-selinux-distro-fix.patch 2022-04-13 13:10:57 UTC (rev 1186046)
+++ no-selinux-distro-fix.patch 2022-04-13 13:52:31 UTC (rev 1186047)
@@ -1,42 +0,0 @@
-From 5cde83a7f8ec29f3aa8c214c6e74921cd734a387 Mon Sep 17 00:00:00 2001
-From: Christian Kellner 
-Date: Thu, 17 Mar 2022 15:22:12 +0100
-Subject: [PATCH] stages/selinux: directly call setfilecon
-
-Instead of using `chcon`, directly call `selinux.setfilecon`. On
-systems without SELinux support, i.e. coreutils was built without
- present, `chcon` will return `ENOTSUP` for all selinux
-related calls like `setfilecon` even if the selinux libraries are
-later installed. Therefore we directly call the library function
-which should ensure that we don't error out as long as the library
-is present.  The only other thing `chcon` is doing besides a cal to
-the `setfilecon` method is to convert the context string to a
-`contex_t` and back to validate it. This should not be needed since
-the kernel will do this for us. On system without SELinux support
-`context_new` will also not validate the context.

- stages/org.osbuild.selinux | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/stages/org.osbuild.selinux b/stages/org.osbuild.selinux
-index 2ca277e7a..64d4fb66f 100755
 a/stages/org.osbuild.selinux
-+++ b/stages/org.osbuild.selinux
-@@ -25,6 +25,8 @@ import pathlib
- import subprocess
- import sys
- 
-+import selinux
-+
- import osbuild.api
- 
- 
-@@ -60,7 +62,7 @@ def main(tree, options):
- 
- for path, label in labels.items():
- fullpath = os.path.join(tree, path.lstrip("/"))
--subprocess.run(["chcon", "-v", label, fullpath], check=True)
-+selinux.setfilecon(fullpath, label)
- 
- if options.get("force_autorelabel", False):
- stamp = pathlib.Path(tree, ".autorelabel")



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-03-24 Thread Jelle van der Waa via arch-commits
Date: Thursday, March 24, 2022 @ 10:13:01
  Author: jelle
Revision: 1173906

upgpkg: osbuild 53-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-24 09:59:22 UTC (rev 1173905)
+++ PKGBUILD2022-03-24 10:13:01 UTC (rev 1173906)
@@ -3,8 +3,8 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=52
-pkgrel=4
+pkgver=53
+pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
@@ -12,14 +12,11 @@
 makedepends=(make python-docutils python-setuptools)
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
-source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz
-./no-selinux-distro-fix.patch)
-sha256sums=('f0cfc3ddf22833b334773dd8b1275b2e2ec3ff192797a362a8c030676ba4abb8'
-'f2b4cf3910673beb8d229ed436cdd6d5f9b35c8ceea28c6dbc4f022c96db0a26')
+source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
+sha256sums=('a7d4faa09feeab993b97bf37b80c665b01c472f7d3c965c9256e385ff04b3053')
 
 prepare() {
   cd $pkgname-$pkgver
-  patch -Np1 -i ${srcdir}/no-selinux-distro-fix.patch
 }
 
 build() {



[arch-commits] Commit in osbuild/trunk (PKGBUILD no-selinux-distro-fix.patch)

2022-03-17 Thread Jelle van der Waa via arch-commits
Date: Thursday, March 17, 2022 @ 18:03:47
  Author: jelle
Revision: 1156765

Fix FS#74147 add missing udev

Added:
  osbuild/trunk/no-selinux-distro-fix.patch
Modified:
  osbuild/trunk/PKGBUILD

-+
 PKGBUILD|   19 ++-
 no-selinux-distro-fix.patch |   42 ++
 2 files changed, 56 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 17:57:25 UTC (rev 1156764)
+++ PKGBUILD2022-03-17 18:03:47 UTC (rev 1156765)
@@ -4,7 +4,7 @@
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
 pkgver=52
-pkgrel=3
+pkgrel=4
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
@@ -12,9 +12,16 @@
 makedepends=(make python-docutils python-setuptools)
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
-source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('f0cfc3ddf22833b334773dd8b1275b2e2ec3ff192797a362a8c030676ba4abb8')
+source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz
+./no-selinux-distro-fix.patch)
+sha256sums=('f0cfc3ddf22833b334773dd8b1275b2e2ec3ff192797a362a8c030676ba4abb8'
+'f2b4cf3910673beb8d229ed436cdd6d5f9b35c8ceea28c6dbc4f022c96db0a26')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ${srcdir}/no-selinux-distro-fix.patch
+}
+
 build() {
   cd $pkgname-$pkgver
   python setup.py build
@@ -25,10 +32,12 @@
   make man
   python setup.py install --skip-build --root="$pkgdir"
 
-  install -m 0755 -d "$pkgdir/usr/lib/osbuild"
-  mkdir "${pkgdir}/usr/lib/osbuild/osbuild"
+  install -m 0755 -d "$pkgdir/usr/lib/osbuild/osbuild"
 
   for group in assemblers devices inputs runners schemas sources stages mounts 
; do
 cp -vdr --no-preserve=ownership "$group" "$pkgdir/usr/lib/osbuild/"
   done
+
+  # udev rules
+  install -Dm644 data/10-osbuild-inhibitor.rules 
"$pkgdir"/usr/lib/udev/rules.d/10-osbuild-inhibitor.rules
 }

Added: no-selinux-distro-fix.patch
===
--- no-selinux-distro-fix.patch (rev 0)
+++ no-selinux-distro-fix.patch 2022-03-17 18:03:47 UTC (rev 1156765)
@@ -0,0 +1,42 @@
+From 5cde83a7f8ec29f3aa8c214c6e74921cd734a387 Mon Sep 17 00:00:00 2001
+From: Christian Kellner 
+Date: Thu, 17 Mar 2022 15:22:12 +0100
+Subject: [PATCH] stages/selinux: directly call setfilecon
+
+Instead of using `chcon`, directly call `selinux.setfilecon`. On
+systems without SELinux support, i.e. coreutils was built without
+ present, `chcon` will return `ENOTSUP` for all selinux
+related calls like `setfilecon` even if the selinux libraries are
+later installed. Therefore we directly call the library function
+which should ensure that we don't error out as long as the library
+is present.  The only other thing `chcon` is doing besides a cal to
+the `setfilecon` method is to convert the context string to a
+`contex_t` and back to validate it. This should not be needed since
+the kernel will do this for us. On system without SELinux support
+`context_new` will also not validate the context.
+---
+ stages/org.osbuild.selinux | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/stages/org.osbuild.selinux b/stages/org.osbuild.selinux
+index 2ca277e7a..64d4fb66f 100755
+--- a/stages/org.osbuild.selinux
 b/stages/org.osbuild.selinux
+@@ -25,6 +25,8 @@ import pathlib
+ import subprocess
+ import sys
+ 
++import selinux
++
+ import osbuild.api
+ 
+ 
+@@ -60,7 +62,7 @@ def main(tree, options):
+ 
+ for path, label in labels.items():
+ fullpath = os.path.join(tree, path.lstrip("/"))
+-subprocess.run(["chcon", "-v", label, fullpath], check=True)
++selinux.setfilecon(fullpath, label)
+ 
+ if options.get("force_autorelabel", False):
+ stamp = pathlib.Path(tree, ".autorelabel")



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-03-17 Thread Jelle van der Waa via arch-commits
Date: Thursday, March 17, 2022 @ 10:57:10
  Author: jelle
Revision: 1156571

upgpkg: osbuild 52-3

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 10:06:39 UTC (rev 1156570)
+++ PKGBUILD2022-03-17 10:57:10 UTC (rev 1156571)
@@ -4,11 +4,11 @@
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
 pkgver=52
-pkgrel=2
+pkgrel=3
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
-depends=(bubblewrap curl e2fsprogs qemu python util-linux python-yaml)
+depends=(bubblewrap curl e2fsprogs qemu python util-linux python-yaml 
python-jsonschema)
 makedepends=(make python-docutils python-setuptools)
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-03-08 Thread Jelle van der Waa via arch-commits
Date: Tuesday, March 8, 2022 @ 10:54:11
  Author: jelle
Revision: 1145461

upgpkg: osbuild 52-2

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-08 10:30:50 UTC (rev 1145460)
+++ PKGBUILD2022-03-08 10:54:11 UTC (rev 1145461)
@@ -1,9 +1,10 @@
 # Maintainer: Jelle van der Waa 
+# Contributor: Achilleas Koutsou 
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
 pkgver=52
-pkgrel=1
+pkgrel=2
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
@@ -25,8 +26,9 @@
   python setup.py install --skip-build --root="$pkgdir"
 
   install -m 0755 -d "$pkgdir/usr/lib/osbuild"
+  mkdir "${pkgdir}/usr/lib/osbuild/osbuild"
 
-  for group in assemblers devices inputs runners schemas sources stages ; do
+  for group in assemblers devices inputs runners schemas sources stages mounts 
; do
 cp -vdr --no-preserve=ownership "$group" "$pkgdir/usr/lib/osbuild/"
   done
 }



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-03-04 Thread Jelle van der Waa via arch-commits
Date: Friday, March 4, 2022 @ 18:20:03
  Author: jelle
Revision: 1141719

upgpkg: osbuild 52-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-04 17:41:20 UTC (rev 1141718)
+++ PKGBUILD2022-03-04 18:20:03 UTC (rev 1141719)
@@ -2,7 +2,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=51
+pkgver=52
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -12,7 +12,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('0f2fe35bb9ed37f4040e19c4dbf52398a9ed21c841a7c38f64fa0b93804a9880')
+sha256sums=('f0cfc3ddf22833b334773dd8b1275b2e2ec3ff192797a362a8c030676ba4abb8')
 
 build() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-03-02 Thread Jelle van der Waa via arch-commits
Date: Wednesday, March 2, 2022 @ 15:33:06
  Author: jelle
Revision: 1139612

upgpkg: osbuild 51-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-02 15:29:05 UTC (rev 1139611)
+++ PKGBUILD2022-03-02 15:33:06 UTC (rev 1139612)
@@ -2,7 +2,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=50
+pkgver=51
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -12,7 +12,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('11615c387d8f1817407187fa8dc8c93304400df9a6debb754b8196af3ad9841c')
+sha256sums=('0f2fe35bb9ed37f4040e19c4dbf52398a9ed21c841a7c38f64fa0b93804a9880')
 
 build() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-02-28 Thread Jelle van der Waa via arch-commits
Date: Monday, February 28, 2022 @ 12:45:39
  Author: jelle
Revision: 1138415

upgpkg: osbuild 50-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-02-28 11:54:28 UTC (rev 1138414)
+++ PKGBUILD2022-02-28 12:45:39 UTC (rev 1138415)
@@ -2,7 +2,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=49
+pkgver=50
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -12,7 +12,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('ab4133f02f58c0ef07ccc1bc98dc2afd14dd7716f5e001cee5922f4718bdc012')
+sha256sums=('11615c387d8f1817407187fa8dc8c93304400df9a6debb754b8196af3ad9841c')
 
 build() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-02-23 Thread Jelle van der Waa via arch-commits
Date: Wednesday, February 23, 2022 @ 20:48:42
  Author: jelle
Revision: 1136310

upgpkg: osbuild 49-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-02-23 20:46:39 UTC (rev 1136309)
+++ PKGBUILD2022-02-23 20:48:42 UTC (rev 1136310)
@@ -2,7 +2,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=48
+pkgver=49
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -12,7 +12,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('479e12528dcc9c6a28d3ced4fd69def0f64f9fe13e63f301b0a60bafa1f3aa7d')
+sha256sums=('ab4133f02f58c0ef07ccc1bc98dc2afd14dd7716f5e001cee5922f4718bdc012')
 
 build() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-02-16 Thread Jelle van der Waa via arch-commits
Date: Wednesday, February 16, 2022 @ 19:53:52
  Author: jelle
Revision: 1133502

upgpkg: osbuild 48-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-02-16 19:50:52 UTC (rev 1133501)
+++ PKGBUILD2022-02-16 19:53:52 UTC (rev 1133502)
@@ -2,7 +2,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=47
+pkgver=48
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -12,7 +12,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('21d68d7afb7fc31208a3f0a388cb73909911bcbb03bf712983a207802118b004')
+sha256sums=('479e12528dcc9c6a28d3ced4fd69def0f64f9fe13e63f301b0a60bafa1f3aa7d')
 
 build() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-02-02 Thread Jelle van der Waa via arch-commits
Date: Wednesday, February 2, 2022 @ 17:25:27
  Author: jelle
Revision: 1122796

upgpkg: osbuild 47-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-02-02 17:25:15 UTC (rev 1122795)
+++ PKGBUILD2022-02-02 17:25:27 UTC (rev 1122796)
@@ -2,7 +2,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=46
+pkgver=47
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -12,7 +12,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('0132d7b8d81855d1534dacbafdd8d8c818664a4ee2665eef238c44027ef55698')
+sha256sums=('21d68d7afb7fc31208a3f0a388cb73909911bcbb03bf712983a207802118b004')
 
 build() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-01-19 Thread Jelle van der Waa via arch-commits
Date: Wednesday, January 19, 2022 @ 15:44:00
  Author: jelle
Revision: 1110489

upgpkg: osbuild 46-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-19 13:46:53 UTC (rev 1110488)
+++ PKGBUILD2022-01-19 15:44:00 UTC (rev 1110489)
@@ -2,7 +2,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=45
+pkgver=46
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -12,7 +12,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('39d61fe7fc7cdff77fec20bd05a72b6872b9e135362d38ee603b028aff3d1abf')
+sha256sums=('0132d7b8d81855d1534dacbafdd8d8c818664a4ee2665eef238c44027ef55698')
 
 build() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2022-01-07 Thread Jelle van der Waa via arch-commits
Date: Friday, January 7, 2022 @ 13:31:17
  Author: jelle
Revision: 1095886

upgpkg: osbuild 45-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-07 13:28:05 UTC (rev 1095885)
+++ PKGBUILD2022-01-07 13:31:17 UTC (rev 1095886)
@@ -2,8 +2,8 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=44
-pkgrel=2
+pkgver=45
+pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
@@ -12,7 +12,7 @@
 optdepends=('dnf: build rpm/dnf images'
 'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('8aeedc827865685d3c835f930d0cfa927580db2058b8a7b87c26a1241b165284')
+sha256sums=('39d61fe7fc7cdff77fec20bd05a72b6872b9e135362d38ee603b028aff3d1abf')
 
 build() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2021-12-20 Thread Jelle van der Waa via arch-commits
Date: Monday, December 20, 2021 @ 09:56:18
  Author: jelle
Revision: 1079747

Fix optdepends

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 09:55:49 UTC (rev 1079746)
+++ PKGBUILD2021-12-20 09:56:18 UTC (rev 1079747)
@@ -3,14 +3,14 @@
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
 pkgver=44
-pkgrel=1
+pkgrel=2
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
 depends=(bubblewrap curl e2fsprogs qemu python util-linux python-yaml)
 makedepends=(make python-docutils python-setuptools)
-optdepends=('rpm: build rpm/dnf images')
-optdepends=('pacman: build pacman images')
+optdepends=('dnf: build rpm/dnf images'
+'pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
 sha256sums=('8aeedc827865685d3c835f930d0cfa927580db2058b8a7b87c26a1241b165284')
 



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2021-12-20 Thread Jelle van der Waa via arch-commits
Date: Monday, December 20, 2021 @ 09:50:43
  Author: jelle
Revision: 1079735

upgpkg: osbuild 44-1

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 09:50:03 UTC (rev 1079734)
+++ PKGBUILD2021-12-20 09:50:43 UTC (rev 1079735)
@@ -2,7 +2,7 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=43
+pkgver=44
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
@@ -10,8 +10,9 @@
 depends=(bubblewrap curl e2fsprogs qemu python util-linux python-yaml)
 makedepends=(make python-docutils python-setuptools)
 optdepends=('rpm: build rpm/dnf images')
+optdepends=('pacman: build pacman images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('7bf85d8042a41bcb7c53f4c04cf879bc9b55fca8664a4757aeec0c5cc53c729b')
+sha256sums=('8aeedc827865685d3c835f930d0cfa927580db2058b8a7b87c26a1241b165284')
 
 build() {
   cd $pkgname-$pkgver



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2021-12-01 Thread Jelle van der Waa via arch-commits
Date: Thursday, December 2, 2021 @ 06:52:39
  Author: jelle
Revision: 1061569

Add yaml dep

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-02 06:33:21 UTC (rev 1061568)
+++ PKGBUILD2021-12-02 06:52:39 UTC (rev 1061569)
@@ -7,7 +7,7 @@
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
-depends=(bubblewrap curl e2fsprogs qemu python util-linux)
+depends=(bubblewrap curl e2fsprogs qemu python util-linux python-yaml)
 makedepends=(make python-docutils python-setuptools)
 optdepends=('rpm: build rpm/dnf images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)



[arch-commits] Commit in osbuild/trunk (PKGBUILD)

2021-12-01 Thread Jelle van der Waa via arch-commits
Date: Wednesday, December 1, 2021 @ 14:02:03
  Author: jelle
Revision: 1059286

Update to latest release

Modified:
  osbuild/trunk/PKGBUILD

--+
 PKGBUILD |   11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-01 13:53:21 UTC (rev 1059285)
+++ PKGBUILD2021-12-01 14:02:03 UTC (rev 1059286)
@@ -2,15 +2,16 @@
 
 pkgname=osbuild
 pkgdesc='Build Pipelines for Operating System Artifacts'
-pkgver=42
+pkgver=43
 pkgrel=1
 url="https://www.osbuild.org";
 arch=(any)
 license=(Apache)
-depends=(python)
+depends=(bubblewrap curl e2fsprogs qemu python util-linux)
 makedepends=(make python-docutils python-setuptools)
+optdepends=('rpm: build rpm/dnf images')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('SKIP')
+sha256sums=('7bf85d8042a41bcb7c53f4c04cf879bc9b55fca8664a4757aeec0c5cc53c729b')
 
 build() {
   cd $pkgname-$pkgver
@@ -22,9 +23,9 @@
   make man
   python setup.py install --skip-build --root="$pkgdir"
 
-  install -v -m 0755 -d "$pkgdir/usr/lib/osbuild"
+  install -m 0755 -d "$pkgdir/usr/lib/osbuild"
 
-  for group in assemblers runners schemas sources stages ; do
+  for group in assemblers devices inputs runners schemas sources stages ; do
 cp -vdr --no-preserve=ownership "$group" "$pkgdir/usr/lib/osbuild/"
   done
 }