mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Fixing the init= in raspberrypi loader.
This commit is contained in:
parent
fe85f4be6c
commit
2c27a41686
@ -77,7 +77,7 @@ addEntry() {
|
||||
copyForced $kernel /boot/kernel.img
|
||||
# copyForced $initrd /boot/initrd
|
||||
cp "$(readlink -f "$path/init")" /boot/nixos-init
|
||||
cp $path/kernel-params /boot/cmdline.txt
|
||||
echo "`cat $path/kernel-params` init=$path/init" >/boot/cmdline.txt
|
||||
|
||||
echo "$2" > /boot/defaultgeneration
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user