Commit Graph

4916 Commits

Author SHA1 Message Date
lukem
c7ab75bebc need to pass DISTRIBREV and DISTRIBVER to parselist as well 2002-03-16 01:32:21 +00:00
gmcgarry
4681a321e2 .WAIT between targets. 2002-03-15 06:40:42 +00:00
gmcgarry
b5dfc7ec7b Replace inappropriate comment about floppy with warning about failure
on low-memory machines.
2002-03-15 05:26:37 +00:00
gmcgarry
923c2a794d Remove debugging goo 2002-03-15 05:24:31 +00:00
gmcgarry
68616a4ba3 Increase number of inodes 2002-03-14 23:17:00 +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
uebayasi
7c2860c21f Add myself.
(And sort while I'm here.)
2002-03-14 13:19:15 +00:00
uwe
8307c93fb8 Add audiocs(4) and ebus(4). 2002-03-14 12:19:55 +00:00
simonb
b7d5e86b60 Add the /etc/ssh directory. 2002-03-14 06:48:28 +00:00
gmcgarry
56a097150f Use INSTALL kernel in miniroot; add image_md_post target 2002-03-14 04:51:20 +00:00
simonb
fe523d7ec2 The forms library's manual pages are also installed as form.3. 2002-03-14 04:06:11 +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
reinoud
a89c6bc776 Only select the RPC_WSCONS as default to prevent confusion and ending up
with an NC_WSCONS kernel (ahum)
2002-03-12 19:35:55 +00:00
reinoud
4a02810f4c Some extra comments 2002-03-12 19:33:54 +00:00
reinoud
04a3a4cd64 Add a comment about the unpacking and settyping of the archive. 2002-03-12 19:20:10 +00:00
reinoud
fc9881cf50 Created RAM discs are not versioned anymore .... 2002-03-12 14:28:27 +00:00
reinoud
86c61262b7 Remove the -p flag ... not interesting for install media 2002-03-12 12:53:08 +00:00
lukem
2383085e6e cosmetic consistency tweak 2002-03-12 12:52:52 +00:00
lukem
50fa8390ff tweak the size from 4500k to 4480k, which is on a cyl group boundary 2002-03-12 12:51:57 +00:00
reinoud
f671f099d7 Update the ramdisk building procedure after tips/hints of luke. 2002-03-12 12:44:19 +00:00
lukem
d448399edb - set IMAGESIZE (grew by 24K) and a few more free inodes, as per discussion
with Reinoud
- minor reorder
2002-03-12 12:31:57 +00:00
lukem
bea10a7dc8 consistency cleanups 2002-03-12 06:39:18 +00:00
lukem
031fce2675 collapse some lines together 2002-03-12 06:28:32 +00:00
lukem
57a7dc2329 convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
2002-03-12 06:26:34 +00:00
lukem
3f267f7add as we don't need local version of REV and VER any more, read in
distrib/Makefile.inc directly and remove the now-unnecessary
Makefile.inc from here
2002-03-11 07:11:37 +00:00
lukem
0a2de544dd remove now-unused files 2002-03-11 07:06:19 +00:00
lukem
ceed08717c - convert to New Distrib World Order, which allows this directory to be
cross-built without root privileges.  (tested i386->sparc cross-build).
- remove now-unused cruft

XXX: there's still other parts of distrib/sparc that need fixing.
2002-03-11 07:04:21 +00:00
itojun
e35048b143 note ssh config pathname change 2002-03-11 07:02:12 +00:00
itojun
0a2445c3b6 move sshd config files to /etc/ssh 2002-03-11 04:57:55 +00:00
itojun
ce418d6d8e dig /etc/ssh 2002-03-11 04:38:41 +00:00
lukem
91c57b31d0 rcsid 2002-03-10 20:23:28 +00:00
lukem
62aa4e74be don't need this any more 2002-03-07 23:53:44 +00:00
lukem
dee3f84c6f remove now-unnecessary cruft 2002-03-07 23:52:48 +00:00
lukem
ccfd870e0f convert to using the New Distrib World Order.
this directory can now be built UNPRIVED.
2002-03-07 23:51:48 +00:00
simonb
38469044f3 Add entries for evbarm and evbmips. 2002-03-07 14:46:10 +00:00
tron
dd9cafc939 Add manual pages for ipip(4) which got removed. 2002-03-07 12:34:26 +00:00
lukem
2f2730312f cleanup to use check_RELEASEDIR 2002-03-07 02:24:25 +00:00
lukem
21e9386c5c remove some unnnecessary variable assignments, and use ${NM} instead of nm 2002-03-07 01:58:30 +00:00
lukem
41669694d3 restore functionality lost in my previous rototill:
run pwd_mkdb to provide full /etc/{s,}pwd.db rather than using libhack.

xxx; still not tested
2002-03-07 01:48:36 +00:00
lukem
3566e993db use parselist.awk's newly added MTREE arg rather than having an
mtree.conf fragment for one file
2002-03-07 01:41:48 +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
28c8f6950f replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 23:50:55 +00:00
lukem
4438a8dcca replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 22:55:17 +00:00
lukem
521853db1d simply VERDEP calculation by using ${_SRC_TOP_} 2002-03-06 22:36:58 +00:00
wiz
3f3656ac20 Add i4bisp(4). 2002-03-06 14:35:22 +00:00
lukem
4e53825732 only descend into miniroot if ${MACHINE}/miniroot/Makefile.inc exists 2002-03-06 13:32:51 +00:00
lukem
8a4df7f4da use check_RELEASEDIR, and minor whitespace cleanup 2002-03-06 13:31:04 +00:00
lukem
9c0d5339f3 cleanup and use some more appropriate variables and targets 2002-03-06 13:27:22 +00:00
lukem
c8200aaa83 remove unnecessary stuff 2002-03-06 13:25:49 +00:00
lukem
87e13d110a Convert to new common ramdisk build infrastructure, which supports
unprivileged cross builds.

XXX: untested as yet; probably needs minor image sizing tweaks
2002-03-06 13:21:00 +00:00
lukem
29173b1fb0 add more IMAGEDEPENDS, and some more cosmetic tweaks 2002-03-06 13:17:01 +00:00
lukem
b627dc63c4 cosmetic tweak 2002-03-06 13:11:34 +00:00
lukem
0a7bf05cec clarify why we avoid gethost.o from libhack 2002-03-06 13:09:34 +00:00
lukem
b86c835122 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:39:10 +00:00
lukem
92208672a9 don't need to provide ${REV} here anymore 2002-03-06 12:32:02 +00:00
lukem
044bc4a6c1 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:27:08 +00:00
lukem
49b82438e7 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:14:26 +00:00
lukem
a8025d95ae Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
  crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
  as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
  common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
  host tool versions of installboot and any appropriate host disk labelling
  tools.
	XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
  It should work, but it is extremely likely that the file system
  parameters may need tweaking to get things to fit.
  See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
  If assistance is required, please ask!
2002-03-06 12:04:48 +00:00
lukem
a0ce988331 COPYDIR: output "./destdir" not "./destdir/." for the first entry 2002-03-06 04:47:58 +00:00
lukem
23a0a8fb2e replace ${_SRC_TOP_}/distrib with ${DISTRIBDIR} 2002-03-06 04:29:35 +00:00
simonb
24e9625626 Add entries for sbmips. 2002-03-06 02:41:00 +00:00
wiz
da6ea33f69 Remove g711conv (hi martin!) 2002-03-05 23:57:49 +00:00
thorpej
1d1d02da94 Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used. 2002-03-05 21:23:28 +00:00
thorpej
0d1f6a757d Use ${PRINTOBJDIR}. 2002-03-05 21:16:51 +00:00
thorpej
22a7a11f35 Use ${PRINTOBJDIR}. 2002-03-05 20:41:28 +00:00
thorpej
bdf6ab32ff Use ${PRINTOBJDIR}. 2002-03-05 20:29:33 +00:00
thorpej
f44b824188 Use ${PRINTOBJDIR}. 2002-03-05 19:53:19 +00:00
lukem
4b99ad4ad4 provide check_DESTDIR and check_RELEASEDIR targets in <bsd.own.mk>
and use those rather than local versions
2002-03-05 03:51:21 +00:00
lukem
fb33595139 implement COPYDIR for mtree and populate modes 2002-03-05 00:19:43 +00:00
shiba
c6fac1444f Clean up make release procedure. But just make through
in distrib/mac68k/miniroot.

Reviewed by fredb, briggs
2002-03-04 16:43:06 +00:00
sommerfeld
3406f0a3dd The "gif*" tunnelling interface does everything ipip does.
Move usage example from ipip.4 to gif.4
Excise ipip and stitch up the scars.
2002-03-04 13:24:06 +00:00
lukem
3f4dba701e cosmetic sort 2002-03-04 04:49:26 +00:00
mhitch
5013dbd1bb Adjust for change in kernel set naming. 2002-03-02 18:41:41 +00:00
ad
cc996740a3 Add entries for pkill & pgrep. 2002-03-01 11:26:48 +00:00
lukem
a5fc5a8af0 - use numeric rather than symbolic trap names; it's more portable
- read NetBSD.dist from ${DESTDIR}/etc/mtree instead of /usr/src/etc/mtree
- run mtree with "-N ${DESTDIR}/etc" instead of using the host user databases
2002-03-01 07:21:14 +00:00
scw
8d5828f101 MD set lists for mvmeppc. 2002-02-27 21:57:09 +00:00
scw
e2e2a20d7f Add mvmeppc distrib Makefile.
This is just a placeholder for now.
2002-02-27 21:41:52 +00:00
scw
5183aa7b10 Add mvmeppc. 2002-02-27 21:26:09 +00:00
lukem
1ee852b54c pull in bsd.own.mk first, incase RELEASEDIR is defined there 2002-02-27 13:42:35 +00:00
shiba
a4cb5b7072 add myself(Takeshi Shibagaki). This is a practice of cvs. 2002-02-27 12:21:36 +00:00
lukem
c71e0408fb Fixes to allow unprivileged building of the binary tar files to
contain the correct permissions.

Makefile:
- set SETSENV to the list of variables we wish to pass to each shell
  script and use that, rather than duplicating the effort below
- call maketars with "-M ${METALOG}" if UNPRIVED is set.

getdirs.awk:
- takes a list of filenames and outputs the list along with all the
  directories used by those filenames

maketars:
- support "-M metalog"
- merge etc/mtree/NetBSD.dist with the "-M metalog" for use in the tgz build
- for a given set, find the union between the set list and the metalog
  generated above and use that as the list of files to ${PAX} up as the
  tgz file.
2002-02-27 10:51:47 +00:00
lukem
6cfea188a7 - fix the comment describing what this does
- " egrep ... | awk "  can be replaced by a smarter bit of awk...
2002-02-27 10:43:42 +00:00
lukem
2d86ced5d9 " egrep ... | awk" can be replaced by a smarter bit of awk... 2002-02-27 10:42:55 +00:00
lukem
9918e3a90e use CLEANFILES as appropriate 2002-02-26 22:54:05 +00:00
lukem
0242a73525 cosmetic cleanup 2002-02-26 22:52:52 +00:00
lukem
e1ab92e728 minor whitespace cleanup 2002-02-26 22:52:10 +00:00
he
e0e10bde3f Wait with exiting on error until all the install sets have been
attempted to be created.

This way, in "discover missing files" mode, you'll get the benefit
of getting all the missing files listed before this script bombs
out with a non-zero exit status, something which can be of benefit
on slow machines.
2002-02-26 20:03:08 +00:00
lukem
e77cbad9fa add check_RELEASEDIR to targets that require RELEASEDIR to be set 2002-02-26 13:27:50 +00:00
lukem
8e7564ec57 add check_DESTDIR and check_RELEASEDIR targets 2002-02-26 13:25:03 +00:00
lukem
b719f1f08d explain why gethost.o is disabled 2002-02-25 23:00:59 +00:00
lukem
6d0e6a9481 add rc.subr(8) 2002-02-25 12:07:45 +00:00
lukem
a771f7472b remove USE_SYSINST goop that was obviously copied from the i386 stuff
and unconditionally add the sysinst list to LISTS; the goop is only in
the i386 stuff because that has some ramdisks which don't use sysinst,
where here on the hp300 it's not an optional item :)
2002-02-24 09:57:18 +00:00
gmcgarry
a530714247 Trim the ramdisk down even smaller. Include the device files on
the ramdisk, since we don't have enough memory to dynamically build
/dev on mfs.
2002-02-23 22:02:08 +00:00
gmcgarry
b85e9644ab Don't use tset, since it's not on the ramdisk. Might have to rethink
this for serial consoles.
2002-02-23 22:00:28 +00:00
he
2328e1f7fb Replace a tab with 8 spaces inside a .(disp to get more sane formatting. 2002-02-23 19:36:16 +00:00
chs
7b2a130dc8 make this work in the new build system. 2002-02-23 17:27:42 +00:00
tsutsui
33842e660f Add "release" targets. 2002-02-21 15:07:36 +00:00
thorpej
72a1f227a8 pxeboot -> pxeboot_ia32, and add pxeboot_ia32_com0 2002-02-20 03:07:08 +00:00
joda
38b981482c fix past-o: netboot_pcnet_wd80x3.rom -> netboot_wd80x3.rom 2002-02-19 08:30:23 +00:00