Commit Graph

10 Commits

Author SHA1 Message Date
lukem 6121661138 Improve wording for COPYDIR M.
Inspired by email on tech-install@ from Klaus Heinz <klaus.heinz@onlinehome.de>
2002-04-10 02:01:43 +00:00
lukem deffb66504 parselist.awk
- improve comments
- provide a general purpose variable replacement; replace contents of ${FOO}
  with ENVIRON["FOO"].
- deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE}
  and ${MACHINE_ARCH} instead
- add errx() function; like err(), but doesn't print the line number
- invoke this script with various variables defined via PARSELISTENV

*/Makefile*
- use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR
- other minor tweaks

*/list*
- replace @MACHINE@ with ${MACHINE}
2002-03-14 22:26:08 +00:00
lukem cd5cc87679 in COPYDIR, don't run the find's if the cd failed 2002-03-14 01:24:35 +00:00
lukem 1a1a1a5721 cosmetic tweaks: sort some variable lists, improve descriptions, [...] 2002-03-14 01:07:27 +00:00
lukem a4fb7ad013 add MTREE keyword, which just outputs its args "as is" for mode=mtree 2002-03-07 01:36:34 +00:00
lukem a0ce988331 COPYDIR: output "./destdir" not "./destdir/." for the first entry 2002-03-06 04:47:58 +00:00
lukem fb33595139 implement COPYDIR for mtree and populate modes 2002-03-05 00:19:43 +00:00
lukem 6276be048b - improve error checking
- add support for passing variables to parselist.awk that are used to replace
  text in each line of the lists.  currently supported strings:
	text		variable
	----		--------
	@MACHINE_ARCH@	MACHINE_ARCH
	@MACHINE@	MACHINE
2002-02-07 11:39:17 +00:00
lukem 5bb092ee45 replace /unset mode with /unset all 2002-02-05 23:16:51 +00:00
lukem d691d4a33e distrib/common - shared files for building distribution media, initially
comprising of:

    Makefile.crunch
	build a crunchgen(1)ed binary from the provided lists

    Makefile.image
	build a tree from the provided lists, and
	build an ffs file system image from that tree using makefs(8),
	without requiring root privileges

    parselist.awk
	parse list files generating different output:
		crunchgen config
		mtree specfile
		sh commands to populate a tree
2002-02-03 15:24:43 +00:00