git: initrd: Reorganize and crunch 70 more rescue tools

Aaron LI aly at crater.dragonflybsd.org
Wed Jul 4 02:50:45 PDT 2018


commit c91442e9912035bcd659f253abf5fa20ee005193
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Jun 10 14:43:02 2018 +0800

    initrd: Reorganize and crunch 70 more rescue tools
    
    * Merge "rescue.sbin" into "rescue" to save space (avoid duplicated
      libraries to be linked).
    
    * Move "lvm" out of "rescue.libcrypto" since lvm(8) doesn't need libcrypto.
    
    * Crunch 70 more tools (aliases not counted):
    
      awk, basename, bc, bzip2, cap_mkdb, chflags, chown, cmp, cpio, cut,
      date, dirname, dmsetup, dump, ed, env, expr, false, find, fstyp, gzip,
      head, hexdump, hostname, id, join, kcollect, kdump, kenv, ktrace,
      ldconfig, lsvfs, mount_devfs, nc, paste, patch, pax, pkill, printf,
      pw, pwd_mkdb, rcorder, realpath, relpath, restore, rtsold, savecore,
      sed, sort, stat, stty, tail, tar, tee, touch, tput, tr, traceroute,
      traceroute6, true, truss, uname, uniq, varsym, vi, vipw, vnconfig, wc,
      xz, yes
    
      Highlights:
      awk, bzip2, chown, cpio, find, gzip, nc, pw, sed, tar, vi, xz
    
      Now the total number of crunched rescue tools more than 230 (including
      aliases), but the total size remains almost the same :-)
    
    * Improve the makefiles to be much cleaner.

Summary of changes:
 Makefile_upgrade.inc             |   1 +
 initrd/Makefile                  |   6 +-
 initrd/bin/Makefile              |  66 -----------
 initrd/etc/motd                  |   1 +
 initrd/rescue.libcrypto/Makefile |  75 +++++++++++++
 initrd/rescue/Makefile           | 237 +++++++++++++++++++++++++++++++++++++++
 initrd/{bin => rescue}/dowpa     |   0
 initrd/sbin.libcrypto/Makefile   |  51 ---------
 initrd/sbin/Makefile             |  76 -------------
 9 files changed, 317 insertions(+), 196 deletions(-)
 delete mode 100644 initrd/bin/Makefile
 create mode 100644 initrd/rescue.libcrypto/Makefile
 create mode 100644 initrd/rescue/Makefile
 rename initrd/{bin => rescue}/dowpa (100%)
 delete mode 100644 initrd/sbin.libcrypto/Makefile
 delete mode 100644 initrd/sbin/Makefile

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c91442e9912035bcd659f253abf5fa20ee005193


-- 
DragonFly BSD source repository



More information about the Commits mailing list