nrelease: Solve the initial initrd creation better

Operating Systems / DragonFlyBSD - Sascha Wildner [] - 3 March 2015 14:19 EST

Hard links in cd9660, while not taking up more space in the ISO or on the CD, all have distinct inode numbers, which causes them to be treated like individual files when copying them somewhere. This caused the initrd to overflow when we built it from the installer after booting from the ISO.

This commit puts initrd creation into the nrelease process instead, making use of mkinitrd(8)'s -c option which allows us to override the contents directory to the ${ISOROOT}'s /usr/share/initrd.

80357c7 nrelease: Solve the initial initrd creation better.
nrelease/Makefile | 6 ++++++
1 file changed, 6 insertions(+)


  • Share