git: nrelease: Solve the initial initrd creation better.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Mar 3 12:20:01 PST 2015


commit 80357c7e4165aabb38f6f59acda9adc94b47554a
Author: Sascha Wildner <saw at online.de>
Date:   Tue Mar 3 21:19:09 2015 +0100

    nrelease: Solve the initial initrd creation better.
    
    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.
    
    Reported-by:   opvalues
    Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2798>

Summary of changes:
 nrelease/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/80357c7e4165aabb38f6f59acda9adc94b47554a


-- 
DragonFly BSD source repository



More information about the Commits mailing list