Skip to content

Commit 527cfd9

Browse files
committed
Add mount utility to minimal image
This change adds the mount utility to the minimal image used by the device plugin and GFD. This is needed to set up the mounts for the MPS control daemon. Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent c0e4aac commit 527cfd9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deployments/container/cleanup/cleanup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ microdnf remove -y \
5252
microdnf remove -y \
5353
$(rpm -qa | sort | grep -v -f package-names.minimal -e gpg-pubkey)
5454

55+
# We need mount for our init container and install it here.
56+
# TODO: We need to provide a better way to install this / skip the cleanup of this package.
57+
microdnf install -y util-linux-core
58+
5559
# We don't want to add third-party content to the base image and only remove packages.
5660
# We therefore skip running microdnf update here
5761
# microdnf update

0 commit comments

Comments
 (0)