summaryrefslogtreecommitdiffstats
path: root/mkosi.images/minimal-base/mkosi.conf.d/10-arch.conf
blob: 9b033975d64c2058cf5ddc812474d66182f2fcc0 (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
# SPDX-License-Identifier: LGPL-2.1-or-later

[Match]
Distribution=arch

[Content]
Packages=
        inetutils
        iproute
        openbsd-netcat

RemoveFiles=
        # Arch Linux doesn't split their gcc-libs package so we manually remove
        # unneeded stuff here to make sure it doesn't end up in the image.
        /usr/lib/libgfortran.so*
        /usr/lib/libgo.so*
        /usr/lib/libgomp.so*
        /usr/lib/libgphobos.so*
        /usr/lib/libobjc.so*
        /usr/lib/libgdruntime.so*

        # Remove all files that are only required for development.
        /usr/lib/*.a
        /usr/include/*

        /usr/share/i18n/*
        /usr/share/hwdata/*
        /usr/share/iana-etc/*
        /usr/share/locale/*
        /usr/share/terminfo/*
        /usr/share/zoneinfo/*