summarylogtreecommitdiffstats
path: root/linux.install
blob: f725875729887bfc7eae980007b4a5f32b1d3f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

post_install() {
  echo ":: Adjust kernel command line in your bootloader to Clear Linux kernel default:"
  echo "   quiet console=tty0 console=ttyS0,115200n8 cryptomgr.notests initcall_debug"
  echo "   intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check noreplace-smp"
  echo "   rcu_nocbs=0-64 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs tsc=reliable rw"
}

post_upgrade() {
  if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then
    echo "WARNING: /boot appears to be a separate partition but is not mounted."
  fi
}