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

[Match]
Bootable=auto,yes

[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*