mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-04-22 07:05:06 +00:00
Merge branch 'cherry-pick-1.12.1' into 'release-1.12'
Bump version to 1.12.1 and cherry-pick changes See merge request nvidia/container-toolkit/container-toolkit!311
This commit is contained in:
commit
3ffc8cf86d
@ -70,20 +70,6 @@ stages:
|
|||||||
DIST: debian10
|
DIST: debian10
|
||||||
PACKAGE_REPO_TYPE: debian
|
PACKAGE_REPO_TYPE: debian
|
||||||
|
|
||||||
.dist-debian9:
|
|
||||||
rules:
|
|
||||||
- !reference [.main-or-manual, rules]
|
|
||||||
variables:
|
|
||||||
DIST: debian9
|
|
||||||
PACKAGE_REPO_TYPE: debian
|
|
||||||
|
|
||||||
.dist-fedora35:
|
|
||||||
rules:
|
|
||||||
- !reference [.main-or-manual, rules]
|
|
||||||
variables:
|
|
||||||
DIST: fedora35
|
|
||||||
PACKAGE_REPO_TYPE: rpm
|
|
||||||
|
|
||||||
.dist-opensuse-leap15.1:
|
.dist-opensuse-leap15.1:
|
||||||
rules:
|
rules:
|
||||||
- !reference [.main-or-manual, rules]
|
- !reference [.main-or-manual, rules]
|
||||||
@ -99,13 +85,6 @@ stages:
|
|||||||
CVE_UPDATES: "cyrus-sasl-lib"
|
CVE_UPDATES: "cyrus-sasl-lib"
|
||||||
PACKAGE_REPO_TYPE: rpm
|
PACKAGE_REPO_TYPE: rpm
|
||||||
|
|
||||||
.dist-ubuntu16.04:
|
|
||||||
rules:
|
|
||||||
- !reference [.main-or-manual, rules]
|
|
||||||
variables:
|
|
||||||
DIST: ubuntu16.04
|
|
||||||
PACKAGE_REPO_TYPE: debian
|
|
||||||
|
|
||||||
.dist-ubuntu18.04:
|
.dist-ubuntu18.04:
|
||||||
variables:
|
variables:
|
||||||
DIST: ubuntu18.04
|
DIST: ubuntu18.04
|
||||||
@ -113,8 +92,6 @@ stages:
|
|||||||
PACKAGE_REPO_TYPE: debian
|
PACKAGE_REPO_TYPE: debian
|
||||||
|
|
||||||
.dist-ubuntu20.04:
|
.dist-ubuntu20.04:
|
||||||
rules:
|
|
||||||
- !reference [.main-or-manual, rules]
|
|
||||||
variables:
|
variables:
|
||||||
DIST: ubuntu20.04
|
DIST: ubuntu20.04
|
||||||
CVE_UPDATES: "libsasl2-2 libsasl2-modules-db"
|
CVE_UPDATES: "libsasl2-2 libsasl2-modules-db"
|
||||||
@ -259,22 +236,15 @@ release:staging-ubi8:
|
|||||||
needs:
|
needs:
|
||||||
- image-ubi8
|
- image-ubi8
|
||||||
|
|
||||||
release:staging-ubuntu18.04:
|
|
||||||
extends:
|
|
||||||
- .release:staging
|
|
||||||
- .dist-ubuntu18.04
|
|
||||||
needs:
|
|
||||||
- test-toolkit-ubuntu18.04
|
|
||||||
- test-containerd-ubuntu18.04
|
|
||||||
- test-crio-ubuntu18.04
|
|
||||||
- test-docker-ubuntu18.04
|
|
||||||
|
|
||||||
release:staging-ubuntu20.04:
|
release:staging-ubuntu20.04:
|
||||||
extends:
|
extends:
|
||||||
- .release:staging
|
- .release:staging
|
||||||
- .dist-ubuntu20.04
|
- .dist-ubuntu20.04
|
||||||
needs:
|
needs:
|
||||||
- image-ubuntu20.04
|
- test-toolkit-ubuntu20.04
|
||||||
|
- test-containerd-ubuntu20.04
|
||||||
|
- test-crio-ubuntu20.04
|
||||||
|
- test-docker-ubuntu20.04
|
||||||
|
|
||||||
release:staging-packaging:
|
release:staging-packaging:
|
||||||
extends:
|
extends:
|
||||||
|
@ -116,12 +116,6 @@ package-amazonlinux2-x86_64:
|
|||||||
- .dist-amazonlinux2
|
- .dist-amazonlinux2
|
||||||
- .arch-x86_64
|
- .arch-x86_64
|
||||||
|
|
||||||
package-centos7-ppc64le:
|
|
||||||
extends:
|
|
||||||
- .package-build
|
|
||||||
- .dist-centos7
|
|
||||||
- .arch-ppc64le
|
|
||||||
|
|
||||||
package-centos7-x86_64:
|
package-centos7-x86_64:
|
||||||
extends:
|
extends:
|
||||||
- .package-build
|
- .package-build
|
||||||
@ -152,42 +146,12 @@ package-debian10-amd64:
|
|||||||
- .dist-debian10
|
- .dist-debian10
|
||||||
- .arch-amd64
|
- .arch-amd64
|
||||||
|
|
||||||
package-debian9-amd64:
|
|
||||||
extends:
|
|
||||||
- .package-build
|
|
||||||
- .dist-debian9
|
|
||||||
- .arch-amd64
|
|
||||||
|
|
||||||
package-fedora35-aarch64:
|
|
||||||
extends:
|
|
||||||
- .package-build
|
|
||||||
- .dist-fedora35
|
|
||||||
- .arch-aarch64
|
|
||||||
|
|
||||||
package-fedora35-x86_64:
|
|
||||||
extends:
|
|
||||||
- .package-build
|
|
||||||
- .dist-fedora35
|
|
||||||
- .arch-x86_64
|
|
||||||
|
|
||||||
package-opensuse-leap15.1-x86_64:
|
package-opensuse-leap15.1-x86_64:
|
||||||
extends:
|
extends:
|
||||||
- .package-build
|
- .package-build
|
||||||
- .dist-opensuse-leap15.1
|
- .dist-opensuse-leap15.1
|
||||||
- .arch-x86_64
|
- .arch-x86_64
|
||||||
|
|
||||||
package-ubuntu16.04-amd64:
|
|
||||||
extends:
|
|
||||||
- .package-build
|
|
||||||
- .dist-ubuntu16.04
|
|
||||||
- .arch-amd64
|
|
||||||
|
|
||||||
package-ubuntu16.04-ppc64le:
|
|
||||||
extends:
|
|
||||||
- .package-build
|
|
||||||
- .dist-ubuntu16.04
|
|
||||||
- .arch-ppc64le
|
|
||||||
|
|
||||||
package-ubuntu18.04-amd64:
|
package-ubuntu18.04-amd64:
|
||||||
extends:
|
extends:
|
||||||
- .package-build
|
- .package-build
|
||||||
@ -240,7 +204,6 @@ image-centos7:
|
|||||||
- .package-artifacts
|
- .package-artifacts
|
||||||
- .dist-centos7
|
- .dist-centos7
|
||||||
needs:
|
needs:
|
||||||
- package-centos7-ppc64le
|
|
||||||
- package-centos7-x86_64
|
- package-centos7-x86_64
|
||||||
|
|
||||||
image-ubi8:
|
image-ubi8:
|
||||||
@ -254,17 +217,6 @@ image-ubi8:
|
|||||||
- package-centos8-x86_64
|
- package-centos8-x86_64
|
||||||
- package-centos8-ppc64le
|
- package-centos8-ppc64le
|
||||||
|
|
||||||
image-ubuntu18.04:
|
|
||||||
extends:
|
|
||||||
- .image-build
|
|
||||||
- .package-artifacts
|
|
||||||
- .dist-ubuntu18.04
|
|
||||||
needs:
|
|
||||||
- package-ubuntu18.04-amd64
|
|
||||||
- package-ubuntu18.04-arm64
|
|
||||||
- job: package-ubuntu18.04-ppc64le
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
image-ubuntu20.04:
|
image-ubuntu20.04:
|
||||||
extends:
|
extends:
|
||||||
- .image-build
|
- .image-build
|
||||||
@ -273,7 +225,8 @@ image-ubuntu20.04:
|
|||||||
needs:
|
needs:
|
||||||
- package-ubuntu18.04-amd64
|
- package-ubuntu18.04-amd64
|
||||||
- package-ubuntu18.04-arm64
|
- package-ubuntu18.04-arm64
|
||||||
- package-ubuntu18.04-ppc64le
|
- job: package-ubuntu18.04-ppc64le
|
||||||
|
optional: true
|
||||||
|
|
||||||
# The DIST=packaging target creates an image containing all built packages
|
# The DIST=packaging target creates an image containing all built packages
|
||||||
image-packaging:
|
image-packaging:
|
||||||
@ -290,26 +243,14 @@ image-packaging:
|
|||||||
optional: true
|
optional: true
|
||||||
- job: package-amazonlinux2-x86_64
|
- job: package-amazonlinux2-x86_64
|
||||||
optional: true
|
optional: true
|
||||||
- job: package-centos7-ppc64le
|
|
||||||
optional: true
|
|
||||||
- job: package-centos7-x86_64
|
- job: package-centos7-x86_64
|
||||||
optional: true
|
optional: true
|
||||||
- job: package-centos8-ppc64le
|
- job: package-centos8-ppc64le
|
||||||
optional: true
|
optional: true
|
||||||
- job: package-debian10-amd64
|
- job: package-debian10-amd64
|
||||||
optional: true
|
optional: true
|
||||||
- job: package-debian9-amd64
|
|
||||||
optional: true
|
|
||||||
- job: package-fedora35-aarch64
|
|
||||||
optional: true
|
|
||||||
- job: package-fedora35-x86_64
|
|
||||||
optional: true
|
|
||||||
- job: package-opensuse-leap15.1-x86_64
|
- job: package-opensuse-leap15.1-x86_64
|
||||||
optional: true
|
optional: true
|
||||||
- job: package-ubuntu16.04-amd64
|
|
||||||
optional: true
|
|
||||||
- job: package-ubuntu16.04-ppc64le
|
|
||||||
optional: true
|
|
||||||
- job: package-ubuntu18.04-ppc64le
|
- job: package-ubuntu18.04-ppc64le
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
@ -343,31 +284,31 @@ image-packaging:
|
|||||||
TEST_CASES: "crio"
|
TEST_CASES: "crio"
|
||||||
|
|
||||||
# Define the test targets
|
# Define the test targets
|
||||||
test-toolkit-ubuntu18.04:
|
test-toolkit-ubuntu20.04:
|
||||||
extends:
|
extends:
|
||||||
- .test:toolkit
|
- .test:toolkit
|
||||||
- .dist-ubuntu18.04
|
- .dist-ubuntu20.04
|
||||||
needs:
|
needs:
|
||||||
- image-ubuntu18.04
|
- image-ubuntu20.04
|
||||||
|
|
||||||
test-containerd-ubuntu18.04:
|
test-containerd-ubuntu20.04:
|
||||||
extends:
|
extends:
|
||||||
- .test:containerd
|
- .test:containerd
|
||||||
- .dist-ubuntu18.04
|
- .dist-ubuntu20.04
|
||||||
needs:
|
needs:
|
||||||
- image-ubuntu18.04
|
- image-ubuntu20.04
|
||||||
|
|
||||||
test-crio-ubuntu18.04:
|
test-crio-ubuntu20.04:
|
||||||
extends:
|
extends:
|
||||||
- .test:crio
|
- .test:crio
|
||||||
- .dist-ubuntu18.04
|
- .dist-ubuntu20.04
|
||||||
needs:
|
needs:
|
||||||
- image-ubuntu18.04
|
- image-ubuntu20.04
|
||||||
|
|
||||||
test-docker-ubuntu18.04:
|
test-docker-ubuntu20.04:
|
||||||
extends:
|
extends:
|
||||||
- .test:docker
|
- .test:docker
|
||||||
- .dist-ubuntu18.04
|
- .dist-ubuntu20.04
|
||||||
needs:
|
needs:
|
||||||
- image-ubuntu18.04
|
- image-ubuntu20.04
|
||||||
|
|
||||||
|
@ -79,11 +79,6 @@ image-ubi8:
|
|||||||
- .dist-ubi8
|
- .dist-ubi8
|
||||||
- .image-pull
|
- .image-pull
|
||||||
|
|
||||||
image-ubuntu18.04:
|
|
||||||
extends:
|
|
||||||
- .dist-ubuntu18.04
|
|
||||||
- .image-pull
|
|
||||||
|
|
||||||
image-ubuntu20.04:
|
image-ubuntu20.04:
|
||||||
extends:
|
extends:
|
||||||
- .dist-ubuntu20.04
|
- .dist-ubuntu20.04
|
||||||
@ -230,12 +225,12 @@ release:packages:kitmaker:
|
|||||||
extends:
|
extends:
|
||||||
- .release:packages
|
- .release:packages
|
||||||
|
|
||||||
release:staging-ubuntu18.04:
|
release:staging-ubuntu20.04:
|
||||||
extends:
|
extends:
|
||||||
- .release:staging
|
- .release:staging
|
||||||
- .dist-ubuntu18.04
|
- .dist-ubuntu20.04
|
||||||
needs:
|
needs:
|
||||||
- image-ubuntu18.04
|
- image-ubuntu20.04
|
||||||
|
|
||||||
# Define the external release targets
|
# Define the external release targets
|
||||||
# Release to NGC
|
# Release to NGC
|
||||||
@ -244,11 +239,6 @@ release:ngc-centos7:
|
|||||||
- .dist-centos7
|
- .dist-centos7
|
||||||
- .release:ngc
|
- .release:ngc
|
||||||
|
|
||||||
release:ngc-ubuntu18.04:
|
|
||||||
extends:
|
|
||||||
- .dist-ubuntu18.04
|
|
||||||
- .release:ngc
|
|
||||||
|
|
||||||
release:ngc-ubuntu20.04:
|
release:ngc-ubuntu20.04:
|
||||||
extends:
|
extends:
|
||||||
- .dist-ubuntu20.04
|
- .dist-ubuntu20.04
|
||||||
|
10
CHANGELOG.md
10
CHANGELOG.md
@ -1,5 +1,15 @@
|
|||||||
# NVIDIA Container Toolkit Changelog
|
# NVIDIA Container Toolkit Changelog
|
||||||
|
|
||||||
|
## v1.12.1
|
||||||
|
|
||||||
|
* Don't fail chmod hook if paths are not injected
|
||||||
|
* Fix possible blank `nvidia-ctk` path in generated CDI specifications
|
||||||
|
* Fix error in postun scriplet on RPM-based systems
|
||||||
|
* Fix missing NVML symbols when running `nvidia-ctk` on some platforms [#49]
|
||||||
|
* Discover all `gsb*.bin` GSP firmware files when generating CDI specification.
|
||||||
|
* Remove `fedora35` packaging targets
|
||||||
|
* [libnvidia-container] Include all `gsp*.bin` firmware files if present
|
||||||
|
|
||||||
## v1.12.0
|
## v1.12.0
|
||||||
|
|
||||||
* Promote `v1.12.0-rc.5` to `v1.12.0`
|
* Promote `v1.12.0-rc.5` to `v1.12.0`
|
||||||
|
2
Makefile
2
Makefile
@ -61,7 +61,7 @@ cmd-%: COMMAND_BUILD_OPTIONS = -o $(PREFIX)/$(*)
|
|||||||
endif
|
endif
|
||||||
cmds: $(CMD_TARGETS)
|
cmds: $(CMD_TARGETS)
|
||||||
$(CMD_TARGETS): cmd-%:
|
$(CMD_TARGETS): cmd-%:
|
||||||
GOOS=$(GOOS) go build -ldflags "-s -w -X $(CLI_VERSION_PACKAGE).gitCommit=$(GIT_COMMIT) -X $(CLI_VERSION_PACKAGE).version=$(CLI_VERSION)" $(COMMAND_BUILD_OPTIONS) $(MODULE)/cmd/$(*)
|
GOOS=$(GOOS) go build -ldflags "-extldflags=-Wl,-z,lazy -s -w -X $(CLI_VERSION_PACKAGE).gitCommit=$(GIT_COMMIT) -X $(CLI_VERSION_PACKAGE).version=$(CLI_VERSION)" $(COMMAND_BUILD_OPTIONS) $(MODULE)/cmd/$(*)
|
||||||
|
|
||||||
build:
|
build:
|
||||||
GOOS=$(GOOS) go build ./...
|
GOOS=$(GOOS) go build ./...
|
||||||
|
@ -44,7 +44,7 @@ OUT_IMAGE = $(OUT_IMAGE_NAME):$(OUT_IMAGE_TAG)
|
|||||||
|
|
||||||
##### Public rules #####
|
##### Public rules #####
|
||||||
DEFAULT_PUSH_TARGET := ubuntu20.04
|
DEFAULT_PUSH_TARGET := ubuntu20.04
|
||||||
DISTRIBUTIONS := ubuntu20.04 ubuntu18.04 ubi8 centos7
|
DISTRIBUTIONS := ubuntu20.04 ubi8 centos7
|
||||||
|
|
||||||
META_TARGETS := packaging
|
META_TARGETS := packaging
|
||||||
|
|
||||||
@ -146,10 +146,7 @@ test-packaging:
|
|||||||
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/centos8/ppc64le" || echo "Missing centos8/ppc64le"
|
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/centos8/ppc64le" || echo "Missing centos8/ppc64le"
|
||||||
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/centos8/x86_64" || echo "Missing centos8/x86_64"
|
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/centos8/x86_64" || echo "Missing centos8/x86_64"
|
||||||
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/debian10/amd64" || echo "Missing debian10/amd64"
|
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/debian10/amd64" || echo "Missing debian10/amd64"
|
||||||
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/debian9/amd64" || echo "Missing debian9/amd64"
|
|
||||||
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/opensuse-leap15.1/x86_64" || echo "Missing opensuse-leap15.1/x86_64"
|
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/opensuse-leap15.1/x86_64" || echo "Missing opensuse-leap15.1/x86_64"
|
||||||
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/ubuntu16.04/amd64" || echo "Missing ubuntu16.04/amd64"
|
|
||||||
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/ubuntu16.04/ppc64le" || echo "Missing ubuntu16.04/ppc64le"
|
|
||||||
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/ubuntu18.04/amd64" || echo "Missing ubuntu18.04/amd64"
|
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/ubuntu18.04/amd64" || echo "Missing ubuntu18.04/amd64"
|
||||||
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/ubuntu18.04/arm64" || echo "Missing ubuntu18.04/arm64"
|
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/ubuntu18.04/arm64" || echo "Missing ubuntu18.04/arm64"
|
||||||
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/ubuntu18.04/ppc64le" || echo "Missing ubuntu18.04/ppc64le"
|
@$(DOCKER) run --rm $(IMAGE) test -d "/artifacts/packages/ubuntu18.04/ppc64le" || echo "Missing ubuntu18.04/ppc64le"
|
||||||
|
@ -87,7 +87,7 @@ func NewDriverLibraryDiscoverer(logger *logrus.Logger, driverRoot string, nvidia
|
|||||||
|
|
||||||
// NewDriverFirmwareDiscoverer creates a discoverer for GSP firmware associated with the specified driver version.
|
// NewDriverFirmwareDiscoverer creates a discoverer for GSP firmware associated with the specified driver version.
|
||||||
func NewDriverFirmwareDiscoverer(logger *logrus.Logger, driverRoot string, version string) discover.Discover {
|
func NewDriverFirmwareDiscoverer(logger *logrus.Logger, driverRoot string, version string) discover.Discover {
|
||||||
gspFirmwarePath := filepath.Join("/lib/firmware/nvidia", version, "gsp.bin")
|
gspFirmwarePath := filepath.Join("/lib/firmware/nvidia", version, "gsp*.bin")
|
||||||
return discover.NewMounts(
|
return discover.NewMounts(
|
||||||
logger,
|
logger,
|
||||||
lookup.NewFileLocator(
|
lookup.NewFileLocator(
|
||||||
|
@ -122,6 +122,8 @@ func (m command) validateFlags(r *cli.Context, cfg *config) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cfg.nvidiaCTKPath = discover.FindNvidiaCTK(m.logger, cfg.nvidiaCTKPath)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ package chmod
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
"syscall"
|
"syscall"
|
||||||
@ -133,7 +134,12 @@ func (m command) run(c *cli.Context, cfg *config) error {
|
|||||||
func (m command) getPaths(root string, paths []string) []string {
|
func (m command) getPaths(root string, paths []string) []string {
|
||||||
var pathsInRoot []string
|
var pathsInRoot []string
|
||||||
for _, f := range paths {
|
for _, f := range paths {
|
||||||
pathsInRoot = append(pathsInRoot, filepath.Join(root, f))
|
path := filepath.Join(root, f)
|
||||||
|
if _, err := os.Stat(path); err != nil {
|
||||||
|
m.logger.Debugf("Skipping path %q: %v", path, err)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
pathsInRoot = append(pathsInRoot, path)
|
||||||
}
|
}
|
||||||
|
|
||||||
return pathsInRoot
|
return pathsInRoot
|
||||||
|
@ -47,6 +47,9 @@ func FindNvidiaCTK(logger *logrus.Logger, nvidiaCTKPath string) string {
|
|||||||
return nvidiaCTKPath
|
return nvidiaCTKPath
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if nvidiaCTKPath == "" {
|
||||||
|
nvidiaCTKPath = nvidiaCTKExecutable
|
||||||
|
}
|
||||||
logger.Debugf("Locating NVIDIA Container Toolkit CLI as %v", nvidiaCTKPath)
|
logger.Debugf("Locating NVIDIA Container Toolkit CLI as %v", nvidiaCTKPath)
|
||||||
lookup := lookup.NewExecutableLocator(logger, "")
|
lookup := lookup.NewExecutableLocator(logger, "")
|
||||||
hookPath := nvidiaCTKDefaultFilePath
|
hookPath := nvidiaCTKDefaultFilePath
|
||||||
|
@ -65,7 +65,9 @@ rm -rf %{_localstatedir}/lib/rpm-state/nvidia-container-toolkit
|
|||||||
ln -sf %{_bindir}/nvidia-container-runtime-hook %{_bindir}/nvidia-container-toolkit
|
ln -sf %{_bindir}/nvidia-container-runtime-hook %{_bindir}/nvidia-container-toolkit
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ -L %{_bindir}/nvidia-container-toolkit ] then; rm -f %{_bindir}/nvidia-container-toolkit; fi
|
if [ "$1" = 0 ]; then # package is uninstalled, not upgraded
|
||||||
|
if [ -L %{_bindir}/nvidia-container-toolkit ]; then rm -f %{_bindir}/nvidia-container-toolkit; fi
|
||||||
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
@ -29,18 +29,12 @@ SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../scripts && pwd )"
|
|||||||
all=(
|
all=(
|
||||||
amazonlinux2-aarch64
|
amazonlinux2-aarch64
|
||||||
amazonlinux2-x86_64
|
amazonlinux2-x86_64
|
||||||
centos7-ppc64le
|
|
||||||
centos7-x86_64
|
centos7-x86_64
|
||||||
centos8-aarch64
|
centos8-aarch64
|
||||||
centos8-ppc64le
|
centos8-ppc64le
|
||||||
centos8-x86_64
|
centos8-x86_64
|
||||||
debian10-amd64
|
debian10-amd64
|
||||||
debian9-amd64
|
|
||||||
fedora35-aarch64
|
|
||||||
fedora35-x86_64
|
|
||||||
opensuse-leap15.1-x86_64
|
opensuse-leap15.1-x86_64
|
||||||
ubuntu16.04-amd64
|
|
||||||
ubuntu16.04-ppc64le
|
|
||||||
ubuntu18.04-amd64
|
ubuntu18.04-amd64
|
||||||
ubuntu18.04-arm64
|
ubuntu18.04-arm64
|
||||||
ubuntu18.04-ppc64le
|
ubuntu18.04-ppc64le
|
||||||
@ -52,14 +46,6 @@ else
|
|||||||
targets=${all[@]}
|
targets=${all[@]}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Updating components"
|
|
||||||
"${SCRIPTS_DIR}/update-components.sh"
|
|
||||||
if [[ -n $(git status -s third_party) && ${ALLOW_LOCAL_COMPONENT_CHANGES} != "true" ]]; then
|
|
||||||
echo "ERROR: Building with local component changes."
|
|
||||||
echo "Commit pending changes or rerun with ALLOW_LOCAL_COMPONENT_CHANGES='true'"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
eval $(${SCRIPTS_DIR}/get-component-versions.sh)
|
eval $(${SCRIPTS_DIR}/get-component-versions.sh)
|
||||||
|
|
||||||
|
|
||||||
|
@ -152,18 +152,12 @@ function sync() {
|
|||||||
all=(
|
all=(
|
||||||
amazonlinux2-aarch64
|
amazonlinux2-aarch64
|
||||||
amazonlinux2-x86_64
|
amazonlinux2-x86_64
|
||||||
centos7-ppc64le
|
|
||||||
centos7-x86_64
|
centos7-x86_64
|
||||||
centos8-aarch64
|
centos8-aarch64
|
||||||
centos8-ppc64le
|
centos8-ppc64le
|
||||||
centos8-x86_64
|
centos8-x86_64
|
||||||
debian10-amd64
|
debian10-amd64
|
||||||
debian9-amd64
|
|
||||||
fedora35-aarch64
|
|
||||||
fedora35-x86_64
|
|
||||||
opensuse-leap15.1-x86_64
|
opensuse-leap15.1-x86_64
|
||||||
ubuntu16.04-amd64
|
|
||||||
ubuntu16.04-ppc64le
|
|
||||||
ubuntu18.04-amd64
|
ubuntu18.04-amd64
|
||||||
ubuntu18.04-arm64
|
ubuntu18.04-arm64
|
||||||
ubuntu18.04-ppc64le
|
ubuntu18.04-ppc64le
|
||||||
|
2
third_party/libnvidia-container
vendored
2
third_party/libnvidia-container
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 7678e1af094d865441d0bc1b97c3e72d15fcab50
|
Subproject commit 7440a1ead8e4fe35edf1c973c73a662108b21a1f
|
@ -13,7 +13,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
LIB_NAME := nvidia-container-toolkit
|
LIB_NAME := nvidia-container-toolkit
|
||||||
LIB_VERSION := 1.12.0
|
LIB_VERSION := 1.12.1
|
||||||
|
|
||||||
# Specify the nvidia-docker2 and nvidia-container-runtime package versions.
|
# Specify the nvidia-docker2 and nvidia-container-runtime package versions.
|
||||||
# Note: The build tooling uses `LIB_TAG` above as the version tag.
|
# Note: The build tooling uses `LIB_TAG` above as the version tag.
|
||||||
|
Loading…
Reference in New Issue
Block a user