force fsck on raspberry pi boot
This commit is contained in:
parent
c9e6b105a9
commit
30396e0441
|
@ -1 +1 @@
|
||||||
net.ifnames=0 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc cgroup_memory=1 cgroup_enable=memory
|
net.ifnames=0 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 fsck.mode=force elevator=deadline rootwait fixrtc cgroup_memory=1 cgroup_enable=memory
|
|
@ -6,6 +6,7 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
notify: reboot
|
||||||
|
|
||||||
- name: Configure poe hat fan speed control udev rules
|
- name: Configure poe hat fan speed control udev rules
|
||||||
copy:
|
copy:
|
||||||
|
@ -13,8 +14,8 @@
|
||||||
dest: /etc/udev/rules.d/50-rpi-fan.rules
|
dest: /etc/udev/rules.d/50-rpi-fan.rules
|
||||||
notify: reboot
|
notify: reboot
|
||||||
|
|
||||||
- name: Enable cgroups
|
- name: Configure kernel command line parameters
|
||||||
copy:
|
copy:
|
||||||
src: cmdline.txt
|
src: cmdline.txt
|
||||||
dest: /boot/firmware/cmdline.txt
|
dest: /boot/firmware/cmdline.txt
|
||||||
notify: reboot
|
notify: reboot
|
||||||
|
|
Loading…
Reference in New Issue