diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2023-08-03 14:16:10 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2023-08-03 14:16:10 +0200 |
commit | 0f6826b93feb0c72a3c325a67ea0602db91d2c6b (patch) | |
tree | ec3f8caf2e4a172c1095323a8bc0e636256b6f95 | |
parent | a5892e63b47b567d61a6c0c3757cbcade1181a7c (diff) |
hello: build without root
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | hello/PKGBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hello/PKGBUILD b/hello/PKGBUILD index e6a3fa8..3e23f95 100644 --- a/hello/PKGBUILD +++ b/hello/PKGBUILD @@ -32,10 +32,8 @@ build(){ ./configure --prefix=/ LDFLAGS=-static make - sudo podman build --tag=hello . - sudo podman save -o hello.tar hello - sudo chmod 777 hello.tar - sudo chown "$(id -u):$(id -g)" hello.tar + buildah unshare podman build --tag=hello . + buildah unshare podman save -o hello.tar hello xz -f -9e --verbose -T 0 hello.tar } |