summaryrefslogtreecommitdiffstats
path: root/test/mkosi.default.networkd-test
blob: e728e16aa575b6d13f1fd079ee5a1478573c2126 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Puts together an nspawn container and runs networkd-test.py in it, inside a
# network namespace and everything. Run this with
#
#   mkosi -C test --default=mkosi.default.networkd-test boot
#
# This will start the test and eventually exit with success in case the test
# succeeded.

[Distribution]
Distribution=fedora
Release=33

[Output]
Format=raw_btrfs
Bootable=yes
OutputDirectory=../mkosi.output
Output=networkd-test.raw

[Partitions]
RootSize=3G

[Packages]
BuildPackages=
        audit-libs-devel
        bzip2-devel
        cryptsetup-devel
        dbus-devel
        diffutils
        docbook-style-xsl
        elfutils-devel
        gcc
        gettext
        git
        gnu-efi
        gnu-efi-devel
        gnutls-devel
        gperf
        hostname
        iptables-devel
        kmod-devel
        libacl-devel
        libblkid-devel
        libcap-devel
        libcurl-devel
        libgcrypt-devel
        libidn2-devel
        libmicrohttpd-devel
        libmount-devel
        libseccomp-devel
        libselinux-devel
        libxkbcommon-devel
        libxslt
        lz4
        lz4-devel
        m4
        meson
        ninja-build
        pam-devel
        pcre2-devel
        perl(IPC::SysV)
        perl(Time::HiRes)
        pkgconfig
        python3-devel
        python3-lxml
        qrencode-devel
        tree

Packages=
        dnsmasq
        iproute
        libidn2
        polkit
        python3

# Share caches with the top-level mkosi
BuildDirectory=../mkosi/mkosi.builddir
Cache=../mkosi/mkosi.cache

# Run our own script
BuildScript=mkosi.build.networkd-test

BuildSources=..
NSpawnSettings=mkosi.nspawn.networkd-test