Dynamic root: Build /bin and /sbin dynamically
authorFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 13 Apr 2014 07:01:55 +0000 (09:01 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 13 Apr 2014 07:08:08 +0000 (09:08 +0200)
commit92a4a26422e1e1298e05101fec64b5443df39730
treec2b7b50e2737798b0bbf476875cf54229d70811e
parent16dbe6a928240d2203ae04fada72427e278b6f55
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
bin/Makefile.inc
sbin/Makefile.inc
sbin/cryptdisks/Makefile
sbin/init/Makefile
sbin/mount_cd9660/Makefile
sbin/mount_msdos/Makefile
sbin/mount_ntfs/Makefile
sbin/udevd/Makefile