]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Add erofs and fat utils to initrd
authorSeptatrix <24257556+Septatrix@users.noreply.github.com>
Fri, 11 Oct 2024 11:02:41 +0000 (13:02 +0200)
committerSeptatrix <24257556+Septatrix@users.noreply.github.com>
Fri, 11 Oct 2024 11:02:41 +0000 (13:02 +0200)
These provide the respective fsck progs

mkosi/resources/mkosi-initrd/mkosi.conf.d/10-azure-centos-fedora.conf
mkosi/resources/mkosi-initrd/mkosi.conf.d/10-centos/20-epel-packages.conf [new file with mode: 0644]
mkosi/resources/mkosi-initrd/mkosi.conf.d/10-fedora.conf

index 251881f59de66e36b0e212c265519a8290e097da..b0bf974efb2f9d0426c3ab5c25c0765f3460e70b 100644 (file)
@@ -16,7 +16,6 @@ Packages=
         # File system checkers for supported root file systems
         e2fsprogs
         xfsprogs
-        erofs-utils
         dosfstools
 
         # fsck.btrfs is a dummy, checking is done in the kernel.
diff --git a/mkosi/resources/mkosi-initrd/mkosi.conf.d/10-centos/20-epel-packages.conf b/mkosi/resources/mkosi-initrd/mkosi.conf.d/10-centos/20-epel-packages.conf
new file mode 100644 (file)
index 0000000..a3a75a4
--- /dev/null
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+Repositories=epel
+
+[Content]
+Packages=
+        # provides fsck.erofs
+        erofs-utils
index 228a0ec87169a79f2ba9a217e848ff45891ab8b7..4bc811d53175db26f78afafb493c556084d0d500 100644 (file)
@@ -7,6 +7,7 @@ Distribution=fedora
 Packages=
         libfido2
         util-linux-core
+        erofs-utils
 
 RemovePackages=
         # Various packages pull in shadow-utils to create users, we can remove it afterwards