-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmkosi.conf
More file actions
101 lines (94 loc) · 2.26 KB
/
Copy pathmkosi.conf
File metadata and controls
101 lines (94 loc) · 2.26 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[Distribution]
Distribution=debian
Release=trixie
[Output]
Format=cpio
CompressOutput=zstd
CompressLevel=19
OutputDirectory=mkosi.output
[Build]
ToolsTree=yes
Incremental=yes
CacheDirectory=mkosi.cache
[Content]
Bootable=no
CleanPackageMetadata=yes
Autologin=yes
# Skips installing documentation/man pages
WithDocs=no
# Do NOT set MakeInitrd=yes — that adds /etc/initrd-release which causes
# systemd to enter initrd mode and try switch-root to a real rootfs.
# CaptainOS uses a custom /init script (mkosi.extra/init) that transitions
# rootfs → tmpfs via switch_root before exec'ing systemd. This makes
# pivot_root(2) work for container runtimes (runc).
# Pre-built kernel modules and tools are injected via separate --extra-tree=
# flags on the CLI:
# --extra-tree=mkosi.output/tools/{arch}/ (tools)
# --extra-tree=mkosi.output/kernel/{ver}/{arch}/modules (kernel modules)
# This keeps mkosi.conf architecture-neutral so both amd64 and arm64 builds
# can coexist under mkosi.output/.
Packages=
# systemd and core
systemd
systemd-sysv # Provides poweroff, shutdown, reboot, halt, etc.
systemd-resolved
systemd-timesyncd
udev
dbus
kmod
dmsetup
acpid
polkitd
# Logging
rsyslog
# Shell and basic userspace
bash
login
less
util-linux
procps
coreutils
findutils
grep
sed
# Filesystem
# e2fsprogs
# dosfstools
# lvm2
# mdadm
# Networking
iproute2
iputils-ping
iptables
nftables
#curl
ca-certificates
# Container runtime: containerd 2.x and runc downloaded in download-tools.sh
# Storage / provisioning tools
# Compression
pigz
#zstd
#xz-utils
fastfetch
RemoveFiles=
/etc/initrd-release
/usr/share/doc
/usr/share/man
/usr/share/info
/usr/share/locale
/usr/share/i18n
/usr/share/zoneinfo
/var/cache
/var/log
/usr/share/bash-completion
/usr/share/zsh
/usr/lib/udev/hwdb.d
/usr/share/lintian
/usr/share/bug
/usr/share/pixmaps
/usr/share/applications
/usr/share/icons
/usr/lib/systemd/catalog
/var/lib/systemd/catalog
/usr/lib/systemd/system/systemd-firstboot.service
/usr/lib/systemd/system/sysinit.target.wants/systemd-firstboot.service