]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
dracut: Update dracut.conf
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 20 Aug 2014 19:42:49 +0000 (21:42 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 20 Aug 2014 19:42:49 +0000 (21:42 +0200)
config/rootfiles/common/dracut
lfs/dracut
src/dracut/dracut.conf

index 2192763be11433de92b68f9e085157f41ba2f82b..e2b9162fee0fbe1b71af98920a0d54c00316f5c8 100644 (file)
@@ -1,6 +1,5 @@
 etc/dracut.conf
 etc/dracut.conf.d
-#etc/dracut.conf.d/dracut.conf
 usr/bin/dracut
 usr/bin/dracut-catimages
 #usr/bin/lsinitrd
index 397b63c94567a6ec302cba99c62240a326477bee..95e8e3ab6e603d07e20f9689ab53b8db7b80027f 100644 (file)
@@ -76,7 +76,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
        rm -rf /usr/lib/dracut/modules.d/*{bootchart,dash,fips*,modsign,busybox,convertfs,network,ifcfg,url-lib,gensplash,cms,plymouth,btrfs,crypt*,dm,dmraid,dmsquash-live,livenet,lvm,multipath,qemu*,cifs,dasd*,fcoe*,iscsi,nbd,nfs,resume,ssh-client,zfcp*,systemd*,znet,securityfs,masterkey,selinux,usrmount,uefi-lib}
 
-       cp -vf $(DIR_SRC)/src/dracut/dracut.conf /etc/dracut.conf.d/
+       cp -vf $(DIR_SRC)/src/dracut/dracut.conf /etc/dracut.conf
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
index b671b7a977b61b56a534ddcdf09fa604a1ce9219..34e6a667d84600e56b8a38425bd54d7b00c3f243 100644 (file)
@@ -1,26 +1,51 @@
-# dracut config file
+# PUT YOUR CONFIG HERE OR IN separate files named *.conf
+# in /etc/dracut.conf.d
+# SEE man dracut.conf(5)
 
-# Specific list of dracut modules to use
+# Sample dracut config file
+
+#logfile=/var/log/dracut.log
+#fileloglvl=6
+
+# Exact list of dracut modules to use.  Modules not listed here are not going
+# to be included.  If you only want to add some optional modules use
+# add_dracutmodules option instead.
 #dracutmodules+=""
 
-# Dracut modules to omit
+# dracut modules to omit
 #omit_dracutmodules+=""
 
-# Dracut modules to add to the default
+# dracut modules to add to the default
 #add_dracutmodules+=""
 
 # additional kernel modules to the default
 #add_drivers+=""
 
 # list of kernel filesystem modules to be included in the generic initramfs
-filesystems+="ext2 ext3 ext4 reiserfs reiser4 iso9660 vfat"
+filesystems+="reiserfs vfat xfs"
 
 # build initrd only to boot current hardware
 #hostonly="yes"
 #
 
 # install local /etc/mdadm.conf
-mdadmconf="no"
+#mdadmconf="no"
 
 # install local /etc/lvm/lvm.conf
-lvmconf="no"
+#lvmconf="no"
+
+# A list of fsck tools to install. If it's not specified, module's hardcoded
+# default is used, currently: "umount mount /sbin/fsck* xfs_db xfs_check
+# xfs_repair e2fsck jfs_fsck reiserfsck btrfsck". The installation is
+# opportunistic, so non-existing tools are just ignored.
+#fscks=""
+
+# inhibit installation of any fsck tools
+#nofscks="yes"
+
+# mount / and /usr read-only by default
+#ro_mnt="no"
+
+# set the directory for temporary files
+# default: /var/tmp
+#tmpdir=/tmp