mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-08 19:46:03 +01:00
shuffle kernel params
This commit is contained in:
parent
ee53143215
commit
f872d7748f
2 changed files with 12 additions and 9 deletions
|
|
@ -315,14 +315,8 @@ in
|
|||
kernelParams =
|
||||
if cfg.uboot.enable then [ ]
|
||||
else [
|
||||
# This is ugly and fragile, but the sdImage image has an msdos
|
||||
# table, so the partition table id is a 1-indexed hex
|
||||
# number. So, we drop the hex prefix and stick on a "02" to
|
||||
# refer to the root partition.
|
||||
# "root=PARTUUID=${lib.strings.removePrefix "0x" config.sdImage.firmwarePartitionID}-02"
|
||||
# "rootfstype=ext4"
|
||||
"fsck.repair=yes"
|
||||
"rootwait"
|
||||
"console=tty1"
|
||||
"console=serial0,115200n8"
|
||||
"init=/sbin/init"
|
||||
];
|
||||
initrd = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue