From c1f8f20d06f5cc59b4394d95e3e6e0c1203ea1d3 Mon Sep 17 00:00:00 2001 From: Michal Cieslakiewicz Date: Wed, 29 Dec 2021 23:08:15 +0100 Subject: [PATCH] ap/crun: updated to current (1.4.16_fafb). Signed-off-by: Michal Cieslakiewicz --- ap/crun/crun.SlackBuild | 2 +- ap/crun/get_sources.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ap/crun/crun.SlackBuild b/ap/crun/crun.SlackBuild index 87403f4..57c56ab 100755 --- a/ap/crun/crun.SlackBuild +++ b/ap/crun/crun.SlackBuild @@ -42,7 +42,7 @@ if [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="$SLKCFLAGS -fPIC -m64" fi -MAKE="make" +MAKE="make -j $(nproc)" if [ "$TMP" = "" ]; then TMP=/tmp diff --git a/ap/crun/get_sources.sh b/ap/crun/get_sources.sh index d4b6cef..bf0a37d 100755 --- a/ap/crun/get_sources.sh +++ b/ap/crun/get_sources.sh @@ -1,6 +1,6 @@ #!/bin/bash SRC=crun -git clone -b master https://github.com/containers/${SRC}.git $SRC +git clone -b main --recurse-submodules https://github.com/containers/${SRC}.git $SRC VERSION=$(cd $SRC && ./build-aux/git-version-gen --prefix "" /dev/null | sed -e 's/-/_/g') mv $SRC ${SRC}-${VERSION} tar cf - ${SRC}-${VERSION} | xz -c9 > ${SRC}-${VERSION}.tar.xz