]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Extend bootable docs a little
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 3 Apr 2024 09:21:14 +0000 (11:21 +0200)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Wed, 3 Apr 2024 09:39:15 +0000 (11:39 +0200)
Fixes #2581

docs/bootable.md

index 59d4511d857c7ac8f0ec16123f64b6f5701a21d5..ba13558ade65b093a1b9bccc202554d077222b10 100644 (file)
@@ -7,14 +7,19 @@ SPDX-License-Identifier: LGPL-2.1-or-later
 
 # Building a bootable image on different distros
 
-To build a bootable image, you'll need to install a list of packages that differs depending on the
-distribution. We give an overview here of what's needed to generate a bootable image for some common
+To build a bootable image, you'll need to install a list of packages
+that differs depending on the distribution. We give an overview here of
+what's needed to generate a bootable image for some common
 distributions:
 
 ## Arch
 
 ```conf
+[Distribution]
+Distribution=arch
+
 [Content]
+Bootable=yes
 Packages=linux
          systemd
 ```
@@ -22,7 +27,11 @@ Packages=linux
 ## Fedora
 
 ```conf
+[Distribution]
+Distribution=fedora
+
 [Content]
+Bootable=yes
 Packages=kernel
          systemd
          systemd-boot
@@ -33,7 +42,11 @@ Packages=kernel
 ## CentOS
 
 ```conf
+[Distribution]
+Distribution=centos
+
 [Content]
+Bootable=yes
 Packages=kernel
          systemd
          systemd-boot
@@ -43,7 +56,11 @@ Packages=kernel
 ## Debian
 
 ```conf
+[Distribution]
+Distribution=debian
+
 [Content]
+Bootable=yes
 Packages=linux-image-generic
          systemd
          systemd-boot
@@ -55,8 +72,12 @@ Packages=linux-image-generic
 ## Ubuntu
 
 ```conf
-[Content]
+[Distribution]
+Distribution=ubuntu
 Repositories=main,universe
+
+[Content]
+Bootable=yes
 Packages=linux-image-generic
          systemd
          systemd-sysv
@@ -67,7 +88,11 @@ Packages=linux-image-generic
 ## Opensuse
 
 ```conf
+[Distribution]
+Distribution=opensuse
+
 [Content]
+Bootable=yes
 Packages=kernel-default
          systemd
          udev