git: stand: Generate boot2_{32,64}.ldr without using /dev/zero
Aaron LI
aly at crater.dragonflybsd.org
Sun Mar 29 06:55:24 PDT 2026
commit d3d82d2b7f103a80ff98ffb369a4030d9c7d04e7
Author: Aaron LI <aly at aaronly.me>
Date: Sun Mar 29 14:34:27 2026 +0800
stand: Generate boot2_{32,64}.ldr without using /dev/zero
Use 'awk' instead of 'dd' to generate the 512-byte zero-filled files.
This avoids the '/dev/zero' dependency and helps build the world in a
chroot environment without mounting '/dev'.
Summary of changes:
stand/boot/pc32/boot2/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d3d82d2b7f103a80ff98ffb369a4030d9c7d04e7
--
DragonFly BSD source repository
More information about the Commits
mailing list