From: Laszlo Gombos Date: Thu, 24 Nov 2022 05:02:39 +0000 (+0000) Subject: ci: add networking to Gentoo test containers X-Git-Tag: 058~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa18c4133dcb6744e1287e5834172cb8f71377f9;p=thirdparty%2Fdracut.git ci: add networking to Gentoo test containers nfs-utils and dhcp is needed to test nfs. nbd is needed to test nbd. --- diff --git a/test/container/Dockerfile-Gentoo b/test/container/Dockerfile-Gentoo index 82c164107..f9a358dbd 100644 --- a/test/container/Dockerfile-Gentoo +++ b/test/container/Dockerfile-Gentoo @@ -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 \