summaryrefslogtreecommitdiffstats
path: root/mkosi.images/minimal-base
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.images/minimal-base')
-rw-r--r--mkosi.images/minimal-base/mkosi.conf13
-rw-r--r--mkosi.images/minimal-base/mkosi.conf.d/10-arch.conf5
-rw-r--r--mkosi.images/minimal-base/mkosi.conf.d/10-centos-fedora.conf5
-rw-r--r--mkosi.images/minimal-base/mkosi.conf.d/10-debian-ubuntu.conf (renamed from mkosi.images/minimal-base/mkosi.conf.d/10-debian-ubuntu-opensuse.conf)6
-rw-r--r--mkosi.images/minimal-base/mkosi.conf.d/10-opensuse.conf6
-rw-r--r--mkosi.images/minimal-base/mkosi.conf.d/20-build.conf9
6 files changed, 31 insertions, 13 deletions
diff --git a/mkosi.images/minimal-base/mkosi.conf b/mkosi.images/minimal-base/mkosi.conf
index 7eb1473..d841f9b 100644
--- a/mkosi.images/minimal-base/mkosi.conf
+++ b/mkosi.images/minimal-base/mkosi.conf
@@ -1,24 +1,19 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
-[Config]
-ConfigureScripts=
-
[Output]
Format=directory
[Content]
Bootable=no
-@Locale=C.UTF-8
+Locale=C.UTF-8
WithDocs=no
CleanPackageMetadata=yes
-BuildSources=
-Packages=
-BuildPackages=
-VolatilePackages=
-
Packages=
bash
coreutils
grep
util-linux
+
+[Config]
+Include=%D/mkosi.sanitizers
diff --git a/mkosi.images/minimal-base/mkosi.conf.d/10-arch.conf b/mkosi.images/minimal-base/mkosi.conf.d/10-arch.conf
index 9b03397..044199a 100644
--- a/mkosi.images/minimal-base/mkosi.conf.d/10-arch.conf
+++ b/mkosi.images/minimal-base/mkosi.conf.d/10-arch.conf
@@ -7,7 +7,10 @@ Distribution=arch
Packages=
inetutils
iproute
- openbsd-netcat
+ nmap
+
+VolatilePackages=
+ systemd-libs
RemoveFiles=
# Arch Linux doesn't split their gcc-libs package so we manually remove
diff --git a/mkosi.images/minimal-base/mkosi.conf.d/10-centos-fedora.conf b/mkosi.images/minimal-base/mkosi.conf.d/10-centos-fedora.conf
index 3a3e528..e9893ad 100644
--- a/mkosi.images/minimal-base/mkosi.conf.d/10-centos-fedora.conf
+++ b/mkosi.images/minimal-base/mkosi.conf.d/10-centos-fedora.conf
@@ -9,4 +9,7 @@ Packages=
hostname
iproute
iproute-tc
- netcat
+ nmap-ncat
+
+VolatilePackages=
+ systemd-libs
diff --git a/mkosi.images/minimal-base/mkosi.conf.d/10-debian-ubuntu-opensuse.conf b/mkosi.images/minimal-base/mkosi.conf.d/10-debian-ubuntu.conf
index a715ec1..d524ec1 100644
--- a/mkosi.images/minimal-base/mkosi.conf.d/10-debian-ubuntu-opensuse.conf
+++ b/mkosi.images/minimal-base/mkosi.conf.d/10-debian-ubuntu.conf
@@ -9,4 +9,8 @@ Packages=
hostname
iproute2
mount
- netcat-openbsd
+ ncat
+
+VolatilePackages=
+ libsystemd0
+ libudev1
diff --git a/mkosi.images/minimal-base/mkosi.conf.d/10-opensuse.conf b/mkosi.images/minimal-base/mkosi.conf.d/10-opensuse.conf
index 2e370ec..9bd40cf 100644
--- a/mkosi.images/minimal-base/mkosi.conf.d/10-opensuse.conf
+++ b/mkosi.images/minimal-base/mkosi.conf.d/10-opensuse.conf
@@ -7,5 +7,9 @@ Distribution=opensuse
Packages=
hostname
iproute2
- netcat-openbsd
+ ncat
patterns-base-minimal_base
+
+VolatilePackages=
+ libsystemd0
+ libudev1
diff --git a/mkosi.images/minimal-base/mkosi.conf.d/20-build.conf b/mkosi.images/minimal-base/mkosi.conf.d/20-build.conf
new file mode 100644
index 0000000..8c16d9b
--- /dev/null
+++ b/mkosi.images/minimal-base/mkosi.conf.d/20-build.conf
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+# Add a dependency on the build image unless NO_BUILD=1.
+
+[Match]
+Environment=!NO_BUILD=1
+
+[Config]
+Dependencies=build