initrd: Reorganize and crunch 70 more rescue tools
authorAaron LI <aly@aaronly.me>
Sun, 10 Jun 2018 06:43:02 +0000 (14:43 +0800)
committerAaron LI <aly@aaronly.me>
Wed, 4 Jul 2018 09:46:01 +0000 (17:46 +0800)
commitc91442e9912035bcd659f253abf5fa20ee005193
treea0c603b550f30ab7057d742119e2212600a4905c
parent7a26b80f086a09d4d65a4d13fb7021ab7cab6ff9
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.
Makefile_upgrade.inc
initrd/Makefile
initrd/bin/Makefile [deleted file]
initrd/etc/motd
initrd/rescue.libcrypto/Makefile [new file with mode: 0644]
initrd/rescue/Makefile [new file with mode: 0644]
initrd/rescue/dowpa [moved from initrd/bin/dowpa with 100% similarity]
initrd/sbin.libcrypto/Makefile [deleted file]
initrd/sbin/Makefile [deleted file]