load_linux_kernel() checks using_devsize, so we need to clear it if we are using Artec loader without a file system.
Signed-off-by: Nathan Williams nathan@traverse.com.au
Index: i386/artecboot.c =================================================================== --- i386/artecboot.c (revision 140) +++ i386/artecboot.c (working copy) @@ -126,6 +126,7 @@ part_start = bootHdr.kernelStart >> DEV_SECTOR_BITS; part_length = ((bootHdr.kernelSize-1) >> DEV_SECTOR_BITS) + 1; filemax = bootHdr.kernelSize; + using_devsize = 0; linux_load(file, bootHdr.cmdLine); }
* Nathan Williams nathan@traverse.com.au [110225 03:34]:
load_linux_kernel() checks using_devsize, so we need to clear it if we are using Artec loader without a file system.
Signed-off-by: Nathan Williams nathan@traverse.com.au
Thanks, r142