CONFIG_BLANKING='yes' # check for bootoption noblank to disable console blanking
CONFIG_CONFIG='yes' # do we want config unpacking to work?
CONFIG_CONSOLE='yes' # activate mgetty when using console=... as bootparam
+CONFIG_CONFIGFS='yes' # automatically mount configfs
CONFIG_DEBOOTSTRAP='yes' # support automatic installation of Debian via grml-deboostrap
CONFIG_DEBNET='yes' # search for /etc/network/interfaces on partitions and set up network afterwards
CONFIG_DEBS='yes' # check for bootoption debs for installing .debs
}
# }}}
+# {{{ mount configfs
+config_configfs() {
+ einfo "Mounting configfs"
+ CONFIGFS_DIR=/sys/kernel/config/
+ modprobe configfs 2>/dev/null 1>&2
+ if ! [ -d "$CONFIGFS_DIR" ] ; then
+ eindent
+ einfo "$CONFIGFS_DIR does not exist, can't mount directory"
+ eend 1
+ eoutdent
+ else
+ mount -t configfs configfs "$CONFIGFS_DIR" 2>/dev/null 1>&2
+ eend $?
+ fi
+}
+# }}}
+
# {{{ Set clock (Local time is more often used than GMT, so it is default)
config_time(){
# don't touch the files if running from harddisk:
checkvalue $CONFIG_USERFSTAB && config_userfstab
+checkvalue $CONFIG_CONFIGFS && config_configfs
+
checkvalue $CONFIG_TIME && config_time
checkvalue $CONFIG_KERNEL && config_kernel