From 2c27a416864916db3c8e7ed4c6c8a4cf00f47990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Tue, 29 Jan 2013 20:08:38 +0100 Subject: [PATCH] Fixing the init= in raspberrypi loader. --- modules/system/boot/loader/raspberrypi/builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/boot/loader/raspberrypi/builder.sh b/modules/system/boot/loader/raspberrypi/builder.sh index 2a32fcd540e..f6ccfe493d8 100644 --- a/modules/system/boot/loader/raspberrypi/builder.sh +++ b/modules/system/boot/loader/raspberrypi/builder.sh @@ -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