Fixing the init= in raspberrypi loader.

This commit is contained in:
Lluís Batlle i Rossell 2013-01-29 20:08:38 +01:00
parent fe85f4be6c
commit 2c27a41686

View File

@ -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