summaryrefslogtreecommitdiffstats
path: root/mkosi.presets/10-initrd.conf
blob: 4201770f2ef2eab4192101d5e3b46168d5acbee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# SPDX-License-Identifier: LGPL-2.1-or-later

[Output]
Format=cpio
# TODO: Switch to zstd once we stop building CentOS Stream 8.
CompressOutput=xz

[Content]
BaseTrees=mkosi.output/base
MakeInitrd=yes

# 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 initrd.
RemoveFiles=
        /usr/lib/libgfortran.so*
        /usr/lib/libgo.so*
        /usr/lib/libgomp.so*
        /usr/lib/libgphobos.so*
        /usr/lib/libobjc.so*
        /usr/lib/libstdc++.so*