Skip to content
Snippets Groups Projects
Commit 267bb208 authored by Denis Pynkin's avatar Denis Pynkin Committed by Denis Pynkin
Browse files

Enable rootfs check during boot time


Add options to kernel command line `fsck.mode=auto`
and `fsck.repair=yes` to allow file system check by initramfs script.

Signed-off-by: default avatarDenis Pynkin <denis.pynkin@collabora.com>
parent 6a6b34d3
No related branches found
No related tags found
1 merge request!85Add fsck to images
This commit is part of merge request !91. Comments created here will be created in the context of that merge request.
......@@ -7,7 +7,7 @@
{{ $ospack := or .ospack (printf "ospack_%s-%s-%s_%s" $suite $architecture $type $timestamp) }}
{{ $image := or .image (printf "apertis-%s-%s-%s_%s" $suite $type $architecture $timestamp) }}
{{ $cmdline := or .cmdline "console=tty0 console=ttyS0,115200n8 rootwait ro quiet splash plymouth.ignore-serial-consoles" }}
{{ $cmdline := or .cmdline "console=tty0 console=ttyS0,115200n8 rootwait ro quiet splash plymouth.ignore-serial-consoles fsck.mode=auto fsck.repair=yes" }}
{{ $demopack := or .demopack "disabled" }}
......
......@@ -6,7 +6,7 @@
{{ $ospack := or .ospack (printf "ospack_%s-%s-%s_%s" $suite $architecture $type $timestamp) }}
{{ $image := or .image (printf "apertis-%s-%s-%s_%s" $suite $type $architecture $timestamp) }}
{{ $cmdline := or .cmdline " rootwait ro" }}
{{ $cmdline := or .cmdline " rootwait ro fsck.mode=auto fsck.repair=yes" }}
{{ $demopack := or .demopack "disabled" }}
{{ if eq $type "minimal" }}
......
......@@ -6,7 +6,7 @@
{{ $ospack := or .ospack (printf "ospack_%s-%s-%s_%s" $suite $architecture $type $timestamp) }}
{{ $image := or .image (printf "apertis-%s-%s-%s_%s" $suite $type $architecture $timestamp) }}
{{ $cmdline := or .cmdline "console=tty0 console=ttyS0,115200n8 rootwait ro quiet splash plymouth.ignore-serial-consoles" }}
{{ $cmdline := or .cmdline "console=tty0 console=ttyS0,115200n8 rootwait ro quiet splash plymouth.ignore-serial-consoles fsck.mode=auto fsck.repair=yes" }}
{{ $demopack := or .demopack "disabled" }}
{{ if eq $type "minimal" }}
......
......@@ -9,7 +9,7 @@
{{ $branch := or .branch (printf "%s/%s/%s-%s/%s" $osname $suite $architecture $board $type) }}
{{ $ostree := or .ostree "repo" }}
{{ $cmdline := or .cmdline "rootwait rw quiet splash plymouth.ignore-serial-consoles" }}
{{ $cmdline := or .cmdline "rootwait rw quiet splash plymouth.ignore-serial-consoles fsck.mode=auto fsck.repair=yes" }}
{{ $demopack := or .demopack "disabled" }}
......
......@@ -9,7 +9,7 @@
{{ $branch := or .branch (printf "%s/%s/%s-%s/%s" $osname $suite $architecture $board $type) }}
{{ $ostree := or .ostree "repo" }}
{{ $cmdline := or .cmdline "console=tty0 console=ttyS0,115200n8 rootwait rw quiet splash plymouth.ignore-serial-consoles" }}
{{ $cmdline := or .cmdline "console=tty0 console=ttyS0,115200n8 rootwait rw quiet splash plymouth.ignore-serial-consoles fsck.mode=auto fsck.repair=yes" }}
{{ $demopack := or .demopack "disabled" }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment