freebsd-dev/usr.bin/mkimg
Enji Cooper 430f7286a5 Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed
after r298107

Summary of changes:

- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that
  namespacing is kept with FILES appropriately, and that this shouldn't need
  to be repeated if the namespace changes -- only the definition of PACKAGE
  needs to be changed
- Allow PACKAGE to be overridden by callers instead of forcing it to always be
  `tests`. In the event we get to the point where things can be split up
  enough in the base system, it would make more sense to group the tests
  with the blocks they're a part of, e.g. byacc with byacc-tests, etc
- Remove PACKAGE definitions where possible, i.e. where FILES wasn't used
  previously.
- Remove unnecessary TESTSPACKAGE definitions; this has been elided into
  bsd.tests.mk
- Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES;
  ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk.
- Fix installation of files under data/ subdirectories in lib/libc/tests/hash
  and lib/libc/tests/net/getaddrinfo
- Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup)

Document the proposed changes in share/examples/tests/tests/... via examples
so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of
replacing FILES. share/mk/bsd.README didn't seem like the appropriate method
of communicating that info.

MFC after: never probably
X-MFC with: r298107
PR: 209114
Relnotes: yes
Tested with: buildworld, installworld, checkworld; buildworld, packageworld
Sponsored by: EMC / Isilon Storage Division
2016-05-04 23:20:53 +00:00
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
apm.c Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00
bsd.c Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00
ebr.c mkimg: support fat16b partitions (MBR type 06h) 2015-10-15 01:09:14 +00:00
format.c Don't resize again prior to writing. Resizing may not be idempotent 2015-06-21 01:35:32 +00:00
format.h MFuser/marcel/mkimg: 2014-05-15 19:19:57 +00:00
gpt.c Add the ntfs alias and support it with the MBR and GPT schemes 2015-06-27 03:28:04 +00:00
image.c Make image_copyout_zeroes() an interface function. 2015-08-03 01:24:48 +00:00
image.h Make image_copyout_zeroes() an interface function. 2015-08-03 01:24:48 +00:00
Makefile Microsoft Azure expects the creator OS to be "Wi2k" and not "FBSD". 2015-06-21 02:45:31 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
mbr.c Add ppcboot FAT type. Needed to create a bootable powerpc image. 2015-12-11 05:39:42 +00:00
mkimg.1 Fix a ton of speelling errors 2015-10-21 05:37:09 +00:00
mkimg.c Add the -c option for specifying the capacity of the disk image. When 2015-02-22 04:50:47 +00:00
mkimg.h Add mkimg_chs() for those schemes that need the LBA broken down into 2014-10-03 20:48:11 +00:00
pc98.c Add mkimg_chs() for those schemes that need the LBA broken down into 2014-10-03 20:48:11 +00:00
qcow.c The size of the first level reference count table is given in terms of the 2014-12-12 06:13:31 +00:00
raw.c Add VHD support to mkimg(1). VHD is used by Xen and Microsoft's Hyper-V 2014-07-03 20:31:43 +00:00
scheme.c Add ppcboot FAT type. Needed to create a bootable powerpc image. 2015-12-11 05:39:42 +00:00
scheme.h Add ppcboot FAT type. Needed to create a bootable powerpc image. 2015-12-11 05:39:42 +00:00
vhd.c Fix the dynamic VHD format to work with qemu. The size of the disk 2015-08-07 04:27:51 +00:00
vmdk.c Create a redundant grain directory and table. Previously we were 2014-08-09 04:47:12 +00:00
vtoc8.c Fix partition alignment and image rounding when any of -P (block size), 2014-09-19 23:16:02 +00:00