Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:tsaupe:branches:Base:System:systemd-openqa-v255
systemd
0001-add-af_packet-kernel-module-needed-for-tes...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-add-af_packet-kernel-module-needed-for-test-dhcp-ser.patch of Package systemd
From 575c3767338af268f8d7fd57029987b39b2a7957 Mon Sep 17 00:00:00 2001 From: Thomas Blume <Thomas.Blume@suse.com> Date: Thu, 28 Sep 2023 11:23:10 +0200 Subject: [PATCH 1/6] add af_packet kernel module needed for test-dhcp-server in TEST-02-UNITTESTS (cherry picked from commit c3cbe6acf1dd75337cce5e259e2f19e694defb74) --- test/test-functions | 2 +- test/units/testsuite-02.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test-functions b/test/test-functions index 1777982684..f5a86c7d54 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1118,7 +1118,7 @@ install_fs_tools() { install_modules() { dinfo "Install modules" - instmods bridge dummy ipvlan macvlan vfat veth + instmods bridge dummy ipvlan macvlan vfat veth af_packet instmods loop =block instmods nls_ascii =nls instmods overlay =overlayfs diff --git a/test/units/testsuite-02.sh b/test/units/testsuite-02.sh index 2a3cb08c43..11e278c3a3 100755 --- a/test/units/testsuite-02.sh +++ b/test/units/testsuite-02.sh @@ -30,6 +30,9 @@ if ! systemd-detect-virt -qc; then sysctl net.ipv4.ping_group_range="0 2147483647" fi +VIRT=$(systemd-detect-virt) +[[ "$VIRT" == "qemu" ]] && modprobe af_packet + # Check & report test results # Arguments: # $1: test path -- 2.43.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor