From 81527052d78f9328d2b90aaef70329682725be5a Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 4 Jan 2023 17:55:52 +0100 Subject: contrib: install more package in "nm-in-container.sh" NM-ci wants to install a lot of packages when running the first test. In particular, NM-ci has no nice script that lists all the dependencies, so it's not immediately clear which packages are required. Still, install some of those packages so that they are already present when running the first NM-ci test. --- contrib/scripts/nm-in-container.sh | 62 +++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/scripts/nm-in-container.sh b/contrib/scripts/nm-in-container.sh index 94c18b8be1..129eb33c99 100755 --- a/contrib/scripts/nm-in-container.sh +++ b/contrib/scripts/nm-in-container.sh @@ -315,6 +315,8 @@ ENTRYPOINT ["/sbin/init"] RUN sed -i 's/^tsflags=.*/tsflags=/' /etc/dnf/dnf.conf RUN dnf install -y \\ + --skip-broken \\ + \\ /usr/bin/python \\ ModemManager-devel \\ ModemManager-glib-devel \\ @@ -386,10 +388,68 @@ RUN dnf install -y \\ vala-devel \\ valgrind \\ vim \\ - which + which \\ + \\ + 'dbus*' \\ + 'openvswitch2*' \\ + /usr/bin/debuginfo-install \\ + NetworkManager-openvpn \\ + NetworkManager-pptp \\ + NetworkManager-strongswan \\ + NetworkManager-vpnc \\ + NetworkManager-ovs \\ + NetworkManager-wifi \\ + NetworkManager-team \\ + NetworkManager-ppp \\ + cryptsetup \\ + dhcp-client \\ + dhcp-relay \\ + dhcp-server \\ + dnsmasq \\ + dracut-network \\ + ethtool \\ + firewalld \\ + gcc \\ + gdb \\ + gdb \\ + git \\ + hostapd \\ + iproute-tc \\ + ipsec-tools \\ + iputils \\ + iscsi-initiator-utils \\ + iw \\ + ldns \\ + libreswan \\ + libyaml-devel \\ + logrotate \\ + lvm2 \\ + mdadm \\ + net-tools \\ + nfs-utils \\ + nmap-ncat \\ + nss-tools \\ + openvpn \\ + perl-IO-Pty-Easy \\ + perl-IO-Tty \\ + psmisc \\ + python3-dbus \\ + python3-gobject \\ + python3-netaddr \\ + qemu-kvm \\ + radvd \\ + rp-pppoe \\ + scsi-target-utils \\ + tcpdump \\ + tcpreplay \\ + tuned \\ + wireguard-tools \\ + wireshark-cli RUN dnf debuginfo-install --skip-broken \$(ldd /usr/sbin/NetworkManager | sed -n 's/.* => \\(.*\\) (0x[0-9A-Fa-f]*)$/\1/p' | xargs -n1 readlink -f) -y +RUN dnf clean all + RUN pip3 install --user behave_html_formatter || true COPY data-NM-log "/usr/bin/NM-log" -- cgit v1.2.1