Accepting request 1109555 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1109555 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crun?expand=0&rev=14
This commit is contained in:
commit
6b55546207
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 5 11:41:14 UTC 2023 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
|
||||||
|
|
||||||
|
- Enable WasmEdge support to run Wasm compat containers.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 14 12:55:14 UTC 2023 - Danish Prakash <danish.prakash@suse.com>
|
Mon Aug 14 12:55:14 UTC 2023 - Danish Prakash <danish.prakash@suse.com>
|
||||||
|
|
||||||
|
11
crun.spec
11
crun.spec
@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define with_wasmedge 1
|
||||||
|
|
||||||
Name: crun
|
Name: crun
|
||||||
Version: 1.8.6
|
Version: 1.8.6
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -48,6 +50,9 @@ BuildRequires: criu-devel >= 3.15
|
|||||||
BuildRequires: libkrun-devel
|
BuildRequires: libkrun-devel
|
||||||
Requires: libkrun1
|
Requires: libkrun1
|
||||||
%endif
|
%endif
|
||||||
|
%if %with_wasmedge
|
||||||
|
BuildRequires: wasmedge-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
crun is a runtime for running OCI containers. It is built with libkrun support
|
crun is a runtime for running OCI containers. It is built with libkrun support
|
||||||
@ -59,8 +64,12 @@ crun is a runtime for running OCI containers. It is built with libkrun support
|
|||||||
%ifarch x86_64 aarch64
|
%ifarch x86_64 aarch64
|
||||||
export LIBKRUN="--with-libkrun"
|
export LIBKRUN="--with-libkrun"
|
||||||
%endif
|
%endif
|
||||||
|
%if %with_wasmedge
|
||||||
|
export WASMEDGE="--with-wasmedge"
|
||||||
|
%endif
|
||||||
|
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
%configure --disable-silent-rules $LIBKRUN CFLAGS='-I %{_includedir}/libseccomp'
|
%configure --disable-silent-rules $LIBKRUN $WASMEDGE CFLAGS='-I %{_includedir}/libseccomp'
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
# TODO:
|
# TODO:
|
||||||
|
Loading…
Reference in New Issue
Block a user