]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
ci: add networking to Gentoo test containers
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Thu, 24 Nov 2022 05:02:39 +0000 (05:02 +0000)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Mon, 19 Dec 2022 09:00:52 +0000 (10:00 +0100)
nfs-utils and dhcp is needed to test nfs.
nbd is needed to test nbd.

test/container/Dockerfile-Gentoo

index 82c164107d251dd773536068928dd790d1183ecc..f9a358dbdc13c3e19985b55f38465b67f5ca5534 100644 (file)
@@ -20,12 +20,17 @@ RUN echo 'export DRACUT_NO_XATTR=1 KVERSION=$(cd /lib/modules; ls -1 | tail -1)'
 # Only install `dmsetup`: attempting to install all of lvm2 fails due to missing kernel headers.
 RUN echo 'sys-fs/lvm2 device-mapper-only -thin' > /etc/portage/package.use/lvm2
 
+RUN echo 'net-fs/nfs-utils -nfsv4' > /etc/portage/package.use/nfs-utils
+
 # Install needed packages for the dracut CI container
 RUN emerge -qv \
     app-arch/cpio \
     app-emulation/qemu \
     app-shells/dash \
+    net-fs/nfs-utils \
+    net-misc/dhcp \
     sys-apps/busybox \
+    sys-block/nbd \
     sys-block/parted \
     sys-block/thin-provisioning-tools \
     sys-fs/btrfs-progs \