Fixing the top-level expression not to boot only from uImage, but keep on
booting vmlinuz in non armv5tel. svn path=/nixos/trunk/; revision=17393
This commit is contained in:
parent
8b9f510b08
commit
ff1a79ed88
@ -32,11 +32,14 @@ let
|
||||
config.nesting.children;
|
||||
|
||||
|
||||
systemBuilder =
|
||||
''
|
||||
systemBuilder = let
|
||||
kernelfile = if (pkgs.stdenv.system == "armv5tel-linux")
|
||||
then "${config.boot.kernelPackages.kernel}/uImage"
|
||||
else "${config.boot.kernelPackages.kernel}/vmlinuz";
|
||||
in ''
|
||||
ensureDir $out
|
||||
|
||||
ln -s ${config.boot.kernelPackages.kernel}/uImage $out/kernel
|
||||
ln -s ${kernelfile} $out/kernel
|
||||
if [ -n "$grub" ]; then
|
||||
ln -s $grub $out/grub
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user