git: Dynamic root: Build /bin and /sbin dynamically

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sun Apr 13 00:13:33 PDT 2014


commit 92a4a26422e1e1298e05101fec64b5443df39730
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sun Apr 13 09:01:55 2014 +0200

    Dynamic root: Build /bin and /sbin dynamically
    
    * Introduce a NO_DYNAMICROOT variable for people wanting to keep
      fully static /bin and /sbin directories
    
    * Keep building /sbin/init statically
    
    * Keep a few other binaries static to avoid moving too many libraries
      to /lib and/or creating many symlinks.
      Those few binaries do not handle user names and thus don't need to be
      NSS aware/dynamically linked.
    
    * In particular, keeping udevd static allow us to avoid moving libpthread
      and its associated links to libc_r or libthread_xu

Summary of changes:
 bin/Makefile.inc           | 3 ++-
 sbin/Makefile.inc          | 2 ++
 sbin/cryptdisks/Makefile   | 1 +
 sbin/init/Makefile         | 2 ++
 sbin/mount_cd9660/Makefile | 2 ++
 sbin/mount_msdos/Makefile  | 2 ++
 sbin/mount_ntfs/Makefile   | 2 ++
 sbin/udevd/Makefile        | 2 ++
 8 files changed, 15 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/92a4a26422e1e1298e05101fec64b5443df39730


-- 
DragonFly BSD source repository


More information about the Commits mailing list