git: DragonFly_RELEASE_4_0 nrelease: Solve the initial initrd creation better.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Mar 3 12:59:03 PST 2015


commit 63c6d0e33670a8ddbb02aa02430319ab85809709
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/63c6d0e33670a8ddbb02aa02430319ab85809709


-- 
DragonFly BSD source repository


More information about the Commits mailing list