forked from pool/apptainer
Accepting request 1143083 from home:eeich:branches:network:cluster
- Updated apptainer to version 1.2.5 * Added `libnvidia-nvvm` to `nvliblist.conf`. Newer NVIDIA Drivers (known with >= 525.85.05) require this lib to compile OpenCL programs against NVIDIA GPUs, i.e. `libnvidia-opencl` depends on `libnvidia-nvvm`. * Disable the usage of cgroup in instance creation when `--fakeroot` is passed. * Disable the usage of cgroup in instance creation when `hidepid` mount option on `/proc` is set. * Fixed a regression introduced in 1.2.0 where the user's password file information was not copied in to the container when there was a parent root-mapped user namespace (as is the case for example in `cvmfsexec`). * Added the upcoming NVIDIA driver library `libnvidia-gpucomp.so` to the list of libraries to add to NVIDIA GPU-enabled containers. Fixed missing error handling during the creation of an encrypted image that lead to the generation of corrupted images. * Use `APPTAINER_TMPDIR` for temporary files during privileged image encryption. * If rootless unified cgroups v2 is available when starting an image but `XDG_RUNTIME_DIR` or `DBUS_SESSION_BUS_ADDRESS` is not set, print an info message that stats will not be available instead of exiting with a fatal error. * Allow templated build arguments to definition files to have empty values. OBS-URL: https://build.opensuse.org/request/show/1143083 OBS-URL: https://build.opensuse.org/package/show/network:cluster/apptainer?expand=0&rev=64
This commit is contained in:
parent
ff83ae4140
commit
58d17c44a2
@ -1,40 +0,0 @@
|
|||||||
BootStrap: zypper
|
|
||||||
OSVersion: 12.5
|
|
||||||
Include: zypper
|
|
||||||
Product: SLE-HPC/12.5/x86_64
|
|
||||||
User: EMAIL
|
|
||||||
Regcode: REGCODE
|
|
||||||
Modules: \n\
|
|
||||||
sle-module-hpc/12/x86_64,\n\
|
|
||||||
sle-module-web-scripting/12/x86_64,\n\
|
|
||||||
sle-module-legacy/12/x86_64,\n\
|
|
||||||
sle-sdk/12.5/x86_64,\n\
|
|
||||||
sle-module-toolchain/12/x86_64
|
|
||||||
|
|
||||||
ProductPGP:\n\
|
|
||||||
SLEpgp: -----BEGIN PGP PUBLIC KEY BLOCK-----\n\
|
|
||||||
Version: rpm-4.11.2 (NSS-3)\n\
|
|
||||||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----
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
ln -s /etc/products.d/SLE-HPC.prod /etc/products.d/baseproduct
|
|
||||||
echo "Hello from post boot strap"
|
|
||||||
zypper install -y vim
|
|
@ -1,10 +1,10 @@
|
|||||||
BootStrap: zypper
|
BootStrap: zypper
|
||||||
OSVersion: 15.5
|
OSVersion: 15.6
|
||||||
Include: zypper
|
Include: zypper
|
||||||
Product: SLES/15.5/x86_64
|
Product: SLES/15.6/x86_64
|
||||||
User: EMAIL
|
User: EMAIL
|
||||||
Regcode: REGCODE
|
Regcode: REGCODE
|
||||||
MirrorURL: https://updates.suse.com/SUSE/Products/SLE-BCI/15-SP3/x86_64/product/
|
MirrorURL: https://updates.suse.com/SUSE/Products/SLE-BCI/15-SP6/x86_64/product/
|
||||||
# Just base modules here, other modules are installed in post
|
# Just base modules here, other modules are installed in post
|
||||||
Modules: \n\
|
Modules: \n\
|
||||||
sle-module-basesystem,\n\
|
sle-module-basesystem,\n\
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e1e55aa1d688f9f485f247ca1a568707f275bf0c55400d049e88ade920ddaa8b
|
|
||||||
size 5060807
|
|
3
apptainer-1.2.5.tar.gz
Normal file
3
apptainer-1.2.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9daebdd688cfcf646d87c0c1cc5f3f4eb274aceb9e3483e58e53da293cc4f310
|
||||||
|
size 5061186
|
@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 31 14:14:20 UTC 2024 - Egbert Eich <eich@suse.com>
|
||||||
|
|
||||||
|
- Updated apptainer to version 1.2.5
|
||||||
|
* Added `libnvidia-nvvm` to `nvliblist.conf`. Newer NVIDIA
|
||||||
|
Drivers (known with >= 525.85.05) require this lib to compile
|
||||||
|
OpenCL programs against NVIDIA GPUs, i.e. `libnvidia-opencl`
|
||||||
|
depends on `libnvidia-nvvm`.
|
||||||
|
* Disable the usage of cgroup in instance creation when
|
||||||
|
`--fakeroot` is passed.
|
||||||
|
* Disable the usage of cgroup in instance creation when `hidepid`
|
||||||
|
mount option on `/proc` is set.
|
||||||
|
* Fixed a regression introduced in 1.2.0 where the user's
|
||||||
|
password file information was not copied in to the container
|
||||||
|
when there was a parent root-mapped user namespace (as is the
|
||||||
|
case for example in `cvmfsexec`).
|
||||||
|
* Added the upcoming NVIDIA driver library `libnvidia-gpucomp.so`
|
||||||
|
to the list of libraries to add to NVIDIA GPU-enabled
|
||||||
|
containers. Fixed missing error handling during the creation
|
||||||
|
of an encrypted image that lead to the generation of corrupted
|
||||||
|
images.
|
||||||
|
* Use `APPTAINER_TMPDIR` for temporary files during privileged
|
||||||
|
image encryption.
|
||||||
|
* If rootless unified cgroups v2 is available when starting an
|
||||||
|
image but `XDG_RUNTIME_DIR` or `DBUS_SESSION_BUS_ADDRESS` is
|
||||||
|
not set, print an info message that stats will not be available
|
||||||
|
instead of exiting with a fatal error.
|
||||||
|
* Allow templated build arguments to definition files to have
|
||||||
|
empty values.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 24 06:02:44 UTC 2023 - Egbert Eich <eich@suse.com>
|
Tue Oct 24 06:02:44 UTC 2023 - Egbert Eich <eich@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package apptainer
|
# spec file for package apptainer
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -25,7 +25,7 @@ Summary: Application and environment virtualization
|
|||||||
License: BSD-3-Clause-LBNL AND OpenSSL
|
License: BSD-3-Clause-LBNL AND OpenSSL
|
||||||
Group: Productivity/Clustering/Computing
|
Group: Productivity/Clustering/Computing
|
||||||
Name: apptainer
|
Name: apptainer
|
||||||
Version: 1.2.3
|
Version: 1.2.5
|
||||||
Release: 0
|
Release: 0
|
||||||
# https://spdx.org/licenses/BSD-3-Clause-LBNL.html
|
# https://spdx.org/licenses/BSD-3-Clause-LBNL.html
|
||||||
URL: https://apptainer.org
|
URL: https://apptainer.org
|
||||||
@ -35,12 +35,11 @@ Conflicts: singularity-ce
|
|||||||
Conflicts: singularity-runtime
|
Conflicts: singularity-runtime
|
||||||
Source0: https://github.com/apptainer/apptainer/archive/v%{version}%{?vers_suffix}/apptainer-%{version}%{?vers_suffix}.tar.gz
|
Source0: https://github.com/apptainer/apptainer/archive/v%{version}%{?vers_suffix}/apptainer-%{version}%{?vers_suffix}.tar.gz
|
||||||
Source1: README.SUSE
|
Source1: README.SUSE
|
||||||
Source2: SLE-12SP5.def
|
Source2: SLE-15SP6.def
|
||||||
Source3: SLE-15SP5.def
|
Source3: SLE.def
|
||||||
Source4: SLE.def
|
Source4: leap.def
|
||||||
Source5: leap.def
|
Source20: %{name}-rpmlintrc
|
||||||
Source8: %{name}-rpmlintrc
|
Source21: vendor.tar.gz
|
||||||
Source9: vendor.tar.gz
|
|
||||||
BuildRequires: cryptsetup
|
BuildRequires: cryptsetup
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -71,7 +70,7 @@ containers that can be used across host environments.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?vers_suffix}
|
%setup -q -n %{name}-%{version}%{?vers_suffix}
|
||||||
cp %{S:1} %{S:2} %{S:3} %{S:4} %{S:5} .
|
cp %{S:1} %{S:2} %{S:3} %{S:4} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -79,7 +78,7 @@ cp %{S:1} %{S:2} %{S:3} %{S:4} %{S:5} .
|
|||||||
echo %version > VERSION
|
echo %version > VERSION
|
||||||
# Not all of these parameters currently have an effect, but they might be
|
# Not all of these parameters currently have an effect, but they might be
|
||||||
# used someday. They are the same parameters as in the configure macro.
|
# used someday. They are the same parameters as in the configure macro.
|
||||||
tar xzf %{S:9}
|
tar xzf %{S:21}
|
||||||
./mconfig -V %{version}-%{release} \
|
./mconfig -V %{version}-%{release} \
|
||||||
-P release \
|
-P release \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
|
Loading…
Reference in New Issue
Block a user