]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Replace conf tag with ini in markdown
authorSeptatrix <24257556+Septatrix@users.noreply.github.com>
Sat, 15 Mar 2025 14:12:40 +0000 (15:12 +0100)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Sat, 15 Mar 2025 14:56:25 +0000 (15:56 +0100)
No markdown renderer has any clue which highlighting to use for conf files
whereas INI is well defined and results in proper highlighting.

blog/content/a-reintroduction-to-mkosi.md
docs/building-rpms-from-source.md
docs/initrd.md
docs/root-verity.md
docs/sysext.md

index ac55b388ecf19dbdbae0c084199020ffab5cbb92..f946209da281906a60628fb132205ad00f5f1e0a 100644 (file)
@@ -112,7 +112,7 @@ written down.
 For example, the command we used above can be written down in a
 configuration file `mkosi.conf`:
 
-```conf
+```ini
 [Distribution]
 Distribution=arch
 
@@ -132,7 +132,7 @@ also be conditionalized using the `[Match]` section. For example, to
 only install a specific package on Arch Linux, you can write the
 following to `mkosi.conf.d/10-arch.conf`:
 
-```conf
+```ini
 [Match]
 Distribution=arch
 
@@ -311,7 +311,7 @@ extension in one go.
 We start by creating a temporary directory with a base configuration
 file `mkosi.conf` with some shared settings:
 
-```conf
+```ini
 [Output]
 OutputDirectory=mkosi.output
 CacheDirectory=mkosi.cache
@@ -320,7 +320,7 @@ CacheDirectory=mkosi.cache
 Now let's continue with the base image definition by writing the
 following to `mkosi.images/base/mkosi.conf`:
 
-```conf
+```ini
 [Output]
 Format=directory
 
@@ -336,7 +336,7 @@ so that we can build our extension without needing root privileges.
 Now that we have our base image, we can define a sysext that builds on
 top of it by writing the following to `mkosi.images/btrfs/mkosi.conf`:
 
-```conf
+```ini
 [Config]
 Dependencies=base
 
index 5ff5f7cbad70ee3e4d596b82265515c7fc967427..9455e27d749a85b9946dc48145de094d72490c1b 100644 (file)
@@ -28,7 +28,7 @@ related files. These can be mounted into the current working directory
 when running mkosi scripts by using the `BuildSources=` setting. For
 example, in `mkosi.local.conf`, we could have the following settings:
 
-```conf
+```ini
 [Build]
 BuildSources=../mkosi:mkosi
              ../fedora/mkosi:mkosi/rpm
@@ -48,7 +48,7 @@ from outside of the image that the RPM is being built in, so we have to
 make sure they're available inside the image by adding the following to
 `mkosi.conf`:
 
-```conf
+```ini
 [Content]
 Packages=rpm-build
 # If you don't want rpm-build in the final image.
index 3472ae6a4e4feae0d013a21de31d2199a4ed3e93..d23ac9d3e47a2bae34e9be04a6b6e399b8319019 100644 (file)
@@ -10,7 +10,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
 Building an image with a mkosi-built initrd is a two step process, because you will build two images - the initrd and your distribution image.
 1. Build an initrd image using the `cpio` output format with the same target distributions as you want to use for your distribution image. mkosi compresses the `cpio` output format by default.
 
-```conf
+```ini
 [Output]
 Format=cpio
 
index 27b762987f547b28a75efe32d78151d8ecd1747d..0cf490c689ee327f14cd02325fed95fcedb90d8c 100644 (file)
@@ -3,7 +3,7 @@
 First of all, to build a disk image with a verity protected root
 partition, put the following in mkosi.repart:
 
-```conf
+```ini
 # mkosi.repart/00-esp.conf
 [Partition]
 Type=esp
@@ -49,7 +49,7 @@ it runs after the root partition has been mounted, so let's create an
 initrd with `mkosi.images` where we customize systemd-repart to behave
 like this:
 
-```conf
+```ini
 # mkosi.images/initrd/mkosi.conf
 [Include]
 Include=mkosi-initrd
@@ -63,7 +63,7 @@ ConditionDirectoryNotEmpty=|/sysroot/usr/lib/repart.d
 To use the initrd in the top level image, add the following to
 mkosi.conf:
 
-```conf
+```ini
 [Content]
 Initrds=%O/initrd
 ```
@@ -73,7 +73,7 @@ create an A/B update setup and an encrypted `/var`. This includes the
 definitions from mkosi.repart in a reduced form solely for matching the
 existing partitions:
 
-```conf
+```ini
 # mkosi.extra/usr/lib/repart.d/00-esp.conf
 [Partition]
 Type=esp
@@ -143,7 +143,7 @@ will differ depending on how the image is updated but we list some
 example definitions here. These are all missing a `[Source]` section
 whose contents will depend on how updates are deployed:
 
-```conf
+```ini
 # /usr/lib/sysupdate.d/10-root-verity-sig.conf
 [Transfer]
 ProtectVersion=%A
index b82e162db56645027a0c4683b69149dc80bda94d..d4be3fe8cd0d2754c21ff6e96d8156acc8a21731 100644 (file)
@@ -21,7 +21,7 @@ in one go.
 Start by creating a temporary directory with a base configuration file
 `mkosi.conf` with some shared settings:
 
-```conf
+```ini
 [Output]
 OutputDirectory=mkosi.output
 CacheDirectory=mkosi.cache
@@ -33,7 +33,7 @@ directory.
 Now let's continue with the base image definition by writing the
 following to `mkosi.images/base/mkosi.conf`:
 
-```conf
+```ini
 [Output]
 Format=directory
 
@@ -49,7 +49,7 @@ so that we can build our extension without needing root privileges.
 Now that we have our base image, we can define a sysext that builds on
 top of it by writing the following to `mkosi.images/btrfs/mkosi.conf`:
 
-```conf
+```ini
 [Config]
 Dependencies=base
 
@@ -81,7 +81,7 @@ What we can do now is package up the base image as the main image, but
 in another format, for example an initrd, we can do that by adding the
 following to `mkosi.conf`:
 
-```conf
+```ini
 [Output]
 Format=cpio
 Output=initrd