increase maximum size of zfsboot
Previous to the switch from sys/boot to stand/ zfsboot (used for MBR) did not support GELI. Now that it is compiled with GELI, it is running out of space. zfsldr (which loads zfsboot) was modified to load 256kb in r304321
This commit is contained in:
parent
90edb2ac5b
commit
6f3d4ec84d
@ -62,10 +62,10 @@ zfsldr.out: zfsldr.o
|
||||
CLEANFILES+= zfsboot2 zfsboot.ld zfsboot.ldr zfsboot.bin zfsboot.out \
|
||||
zfsboot.o zfsboot.s zfsboot.s.tmp sio.o cons.o drv.o
|
||||
|
||||
# We currently allow 128k bytes for zfsboot - in practice it could be
|
||||
# We currently allow 256k bytes for zfsboot - in practice it could be
|
||||
# any size up to 3.5Mb but keeping it fixed size simplifies zfsldr.
|
||||
#
|
||||
BOOT2SIZE= 131072
|
||||
BOOT2SIZE= 262144
|
||||
|
||||
zfsboot2: zfsboot.ld
|
||||
@set -- `ls -l ${.ALLSRC}`; x=$$((${BOOT2SIZE}-$$5)); \
|
||||
|
Loading…
Reference in New Issue
Block a user