Commit Graph

2264 Commits

Author SHA1 Message Date
abs c15135486d Add generic make_bsd_partitions() in bsddisklabel.c useable by virtually all
orts. Since port specific information is in appropriate arch/.../md.h
bsddisklabel.c is currently #included by arch/.../md.c.
I'm not totally happy about this, but my concience is somewhat salved by the
overall reduction in breakage.
Initially only pmax, sparc, vax and x68k are using bsddisklabel.c.
While I'm here adjust defs.h for more than eight partitions in a generic
fashion.
1999-08-16 08:29:04 +00:00
lukem d890e44637 regen 1999-08-13 02:11:19 +00:00
bouyer d4a5c0f7ec Add wiconfig(8), needed for installs over wawelan networks. 1999-08-12 15:34:19 +00:00
abs 1e7a66ebab Handle the 'custom' case in a sane fashion (do not create zero length
partitions under any circumstances, allow no swap, do not *overwrite* /usr
when listing additional partitions, and try to abstract at least most of the
magic numbers to #defines at the top.
Also sync up as much as possible to make this easier in future.
Still need to attack the other arch's md.c files.
1999-08-10 15:54:55 +00:00
chopps 68746d569a add myself back to the developers list 1999-08-09 17:57:18 +00:00
simonb 098b1598f6 Put tc_machdep.h back in (needed to build the X server). 1999-08-09 09:25:19 +00:00
ross 57291ce60a -lbz2 -lipsec 1999-08-08 01:08:11 +00:00
simonb 89e2eec2fa During a custom partition layout, don't create an empty /usr partition
that newfs fails on if / and swap take up the entire disk.
1999-08-07 15:56:31 +00:00
simonb b2651d5700 Nuke md_copy_filesystem() for the pmax - tested on both a ramdisk kernel
install and NFS diskless client install.
1999-08-07 15:45:26 +00:00
leo b9869f9169 Define NOLIBHACKOPENDIR=1 so instbin is linking again. Found by Julian
Coleman.
1999-08-05 15:00:28 +00:00
abs 98758e9523 RCS Id police, and add md.vax file. Vax X server does not currently support
the keyboard or mouse, but that is not a distrib/sets issue :)
1999-08-01 20:08:15 +00:00
augustss 9449835f0a Add mpu(4) man page. 1999-08-01 18:21:16 +00:00
fvdl 47d416e15d When converting the end of a partition to CHS, use start + size - 1, not
start + size.
1999-07-30 20:46:10 +00:00
enami 4191a1e6d4 - remove duplicated setting for LDSTATIC in ktruss/Makefile.
- fix command name in SYNOPSIS section of man page.
- link ktrace man page to ktruss man page.
- add executable and man page for ktruss in distrib sets.
1999-07-28 01:56:03 +00:00
christos 001e4d5767 add -lbz2; also sort the libraries properly. 1999-07-26 08:07:30 +00:00
lukem 8a7a8ea124 regen 1999-07-26 04:21:21 +00:00
is 805851f4c7 Provide a script to compute the distribution set checksums.
Make the Makefile use it, instead of calling cksum manually.
1999-07-22 20:10:16 +00:00
tron 017c26041b Update for XFree86 3.3.4 changes. 1999-07-22 16:58:05 +00:00
hubertf 1972d67d47 add ./usr/share/info/am-utils.info 1999-07-22 01:17:41 +00:00
mrg 7199fd8f7b add wtf 1999-07-22 01:05:20 +00:00
simonb aaa754c3c9 Include the root-path in the bootptab and dhcpd.conf examples. 1999-07-21 23:41:27 +00:00
tron 04638befd3 Update for XFree86 3.3.4 changes. 1999-07-21 13:10:23 +00:00
is 3379ab3fac Warn people to add at least a /usr when asked (whoever really knows better
will know how to ignore that advice).
Warn people not to use the c partitions for anything.
Advice people to use the look-at-disklabel option to find out about the
NetBSD names of their partitions.
1999-07-21 11:35:27 +00:00
is c7113b3b3a add missing colon 1999-07-21 11:25:23 +00:00
mycroft b28948e638 Make an aliases.db file when we install the aliases file. 1999-07-21 06:51:30 +00:00
kleink d4c515e694 Add links related to link(8)/unlink(8). 1999-07-19 09:16:34 +00:00
abs 538809c8ae Add usr/share/examples/named/named.conf 1999-07-19 04:34:46 +00:00
abs 68801ce8f6 s/makeing/making/ 1999-07-18 07:22:36 +00:00
abs 7bcdffa983 If all disk is allocated to root and/or swap do not prompt for a (bogus) /usr.
Fixed PR#7741
If the default swap is smaller than the remaining disk, truncate to the
available space.
Set rc_configured to YES in md_cleanup_install()
1999-07-14 16:47:37 +00:00
abs 191e23342f Create a symlink of netbsd to netbsd.GENERIC in md_post_newfs().
Not ideal, but do not want to change kern.tgz until we replace the miniroot
install.
1999-07-14 16:41:31 +00:00
abs b148673ade If the first wait4() in launch_subwin() caught the child exiting, the loop
would never exit. This resulted in somewhat suboptimal infinite install times.
1999-07-14 16:30:58 +00:00
kleink adc20bff46 Add Solo-1. 1999-07-13 16:53:14 +00:00
lukem 109518b89d regen 1999-07-13 10:26:05 +00:00
kleink 4c81e7d7df Add eso(4) links. 1999-07-12 15:18:20 +00:00
minoura 93a7108a18 Fixed md_newdisk().
I commited an old debug version by mistake at the last commit.
1999-07-11 14:12:21 +00:00
fvdl d25150d087 Don't try to convert the CHS values if not needed. Add extra flag
to write_mbr to for this.
1999-07-10 23:07:15 +00:00
minoura 4b69c08a24 x68k part of sysinst. 1999-07-09 15:29:44 +00:00
fvdl 6899d20694 Synch with reality. 1999-07-09 11:55:32 +00:00
tsubai 2f247ac8dd Make ramdiskbin smaller to fit into ramdisk. 1999-07-08 16:36:15 +00:00
tsubai f4b682fed8 Add bootloader. 1999-07-08 12:35:21 +00:00
wrstuden 1eda267aa0 Add layer.h to the comp set. 1999-07-08 03:06:02 +00:00
minoura 76875808ab Build INSTALL kernel automatically.
obj directory handling for read-only /usr/src.
Refer DESTDIR.
1999-07-06 16:22:58 +00:00
cgd 392fa3123d one 'domain' -> 'DNS domain' that slipped through the cracks 1999-07-06 06:10:53 +00:00
cgd 891f175906 beware whitespace at ends of lines in messages: it's actually meaningful!
while here, clean up other whitespace at EOLs in msg files to make grepping
easier.
1999-07-06 06:10:04 +00:00
bouyer 8d82c2165f Translate. 1999-07-05 12:08:09 +00:00
fvdl 12e846384a The i386 port does not use ld.so.conf anymore with ELF. 1999-07-05 09:02:55 +00:00
fvdl b663bdb63e Need -lipsec now, for ping. 1999-07-05 08:52:49 +00:00
cgd b62c0ee8ad get hard-coded messages out of the source, into the message file. (Gee,
you'd think that this wouldn't have been a problem to begin with...)
1999-07-04 22:52:22 +00:00
cgd 5ed98e7513 note that msg_printf_add() is going to go away 1999-07-04 22:33:54 +00:00
cgd 945d434250 convert the custom distribution set table to be formatted with
msg_table.  needed slight tweaks in the MD menus, for menu placement.
(one XXX TRANSLATE in msg.mi.fr.)
1999-07-04 22:31:37 +00:00
cgd add839488b instead of using msg_printf_add("\n") to add a newline to the output,
add a 'newline' message and use msg_display_add().
1999-07-04 21:52:11 +00:00
cgd c624190287 convert run_prog's error message from being a "const char *" to a msg.
XXX Only the callers that actually pass strings were fixed, the rest were
XXX left passing 'NULL'.  Eventually they should be cleaned up to pass
XXX MSG_NONE, but I didn't want to do that yet because somebody else
XXX (jonathan) is hacking on the run_prog callers and I didn't want to
XXX cause him a Lot of conflicts.  at least right now, MSG_NONE and NULL
XXX are as equivalent as they need to be.
1999-07-04 21:39:33 +00:00
cgd 1904092f06 message const poisoning, and conversion from integers to an opaque
message type.
1999-07-04 21:32:48 +00:00
fvdl 25b8d43788 Bring setlists up to date for i386 switch to ELF and ipv6. 1999-07-04 20:07:51 +00:00
abs 00f6783cab Remove *.lo in make clean 1999-07-04 16:07:00 +00:00
mrg f3ea75e08a - back out previous for amiga/miniroot/list because:
- sparc now creates /kern in the 'list' file like the amiga, atari,
  mvme68k and pmax ports, and:
- remove /kern from miniroot/mtree.conf
1999-07-04 11:46:23 +00:00
cgd 0f1bc6e9b6 fix slight finger-brain disconnect 1999-07-04 10:45:37 +00:00
cgd 736fd6a4cb replace msg_noecho+msg_prompt+msg_echo with msg_prompt_noecho 1999-07-04 10:29:29 +00:00
is 2e242fe277 Compensate for the addition of /kern to the MI mtree file. 1999-07-04 09:51:45 +00:00
cgd 1517a78b6d minor adjustments to make this stuff display properly with the automatic
formatting now done by the message code.  Also, some minor cleanup of
problems noticed while adjusting things.
1999-07-04 09:41:02 +00:00
cgd 5c3428778d convert tables to use the new table formatting functons. i386 tested,
mac68k and bebox bits compiled to the extent possible.  (bebox seems
broken, with duplicated menu names, but it doesn't look like that's my
fault.)
1999-07-04 08:01:39 +00:00
minoura ed4e8fa6c9 Add mboot and newdisk. 1999-07-04 04:43:53 +00:00
cgd 6b37daf0b6 From Alan Barrett <apb@iafrica.com>, in response to my response to his PR:
>Removing leading slashes in the url_encode() function is bad, because
>they might be part of a password, but somebody else had apparently made
>url_encode() do that.  Here's a patch that stops url_encode() from
>removing leading slashes, changes the encode_leading_slash code to
>fit in with that policy, adds some comments that should dissuade folk
>from removing leading slashes in the future, and fixes a bug where the
>encode_leading_slash code was not decrementing len.
1999-07-03 09:02:23 +00:00
fvdl 5421c40146 Strip the kernel. Nothing on the bootfloppy uses them (except DDB, but
that's rare), and currently it's likely that you need to seek back
in the bootprocess to get the symbols, confusing ustarfs.
1999-07-02 22:00:17 +00:00
itojun 67b57a858e upgrade shlib major version for src/lib/libpcap (0.1 -> 1.0).
document KAME IPv6/IPsec import into INSTALL.txt (installation notes).
1999-07-02 18:53:26 +00:00
itojun 0be14eaf65 (shlib monor)++ for libpcap. 1999-07-02 14:50:25 +00:00
itojun 22b07aaafd upgrade libc minor version (sorry forgot this last day) 1999-07-02 10:00:59 +00:00
fvdl 440bb56d81 Don't use .PATH here, it won't work because of crunchgen. XXX 1999-06-30 22:21:57 +00:00
ross 147f63da42 Add release targets, intended for use by the src/etc/Makefile `make release'. 1999-06-30 18:36:37 +00:00
ross 1128e4c837 Add release targets, intended for use by the src/etc/Makefile `make release'. 1999-06-30 18:23:02 +00:00
ross cd2292889d Harmonize pathnames. 1999-06-30 18:14:26 +00:00
tsubai 09a05c8950 Add newsmips. 1999-06-30 13:53:49 +00:00
augustss aed7c5dbd9 usbd is dead. 1999-06-30 06:48:05 +00:00
wrstuden a131b893fb Reflect libc version bump. 1999-06-29 22:31:32 +00:00
is 0865691db0 Fix loop termination bug.
Won't try any longer to disklabel /dev/rdonec when exiting the
"look at disk label" loop (in md_prep_disklabel).
1999-06-29 20:32:54 +00:00
is 760ccce0b1 Warn user not to use partition c for file systems 1999-06-29 16:08:10 +00:00
is cf9cc23046 Warn users to use 512-byte-sector disks for installation. 1999-06-29 15:44:34 +00:00
minoura dd3893c6df FPU is not required now. 1999-06-29 03:07:01 +00:00
is 2aacd1b595 - we support the parallel HyperCom[34]+ ports now.
- while we're here, fix table formatting.
1999-06-28 21:28:37 +00:00
mrg 9aebf66cbe allow installing sets from already-mounted directory. fixes PR#6313 1999-06-28 07:59:39 +00:00
christos f74ef2f90d increase ramdisk size 1999-06-27 22:37:21 +00:00
augustss c8c147191c Add sound and mixer. 1999-06-27 18:38:24 +00:00
mrg e7e33e2136 miniroot changes:
install.sub:
	- fix interface grovelling, ifmedia support, allow ifmedia and link
	  to have a "none" (-> "") answer (which lets you give nothing when
	  a default answer is given)
	- allow installing more than one set at a time, including "all" as
	  a synonym for all remaining sets
	- mount -o async when extracting sets
    makeconf.awk:
	- put default "libs" section at the end rather than the start, so
	  you can put other "libs" in before this list
	- minor cleanup

    mtree.conf:
	- create /kern

    sparc install.md:
	- MDSETS are now "kern xbase xcomp xcontrib xfont xserver"
	- use /kern & kernfs (replaces dmesg)
	- replace grep & cut pipe lines with sed
	- replace grep hackery with sed hackery
	- grep and cut are no longer required!  yay!
	- deal with no /usr/bin/vi -- call disklabel -i
	- in md_copy_kern() link the netbsd.GENERIC we got from the kern set,
	  rather than the miniroot kernel
    sparc miniroot list:
	- no more dmesg, cut or grep

sparc ramdisk changes:
    Makefile:
	- `ramdiskbin.conf' is now generated by makeconf.awk
	- don't use libhack's opendir, it breaks
    dot.profile:
	- don't assume terminal is `sun'
	- set EDITOR=ed
	-
    list:
	- instbin -> ramdiskbin to make `makeconf.awk' work
	- CRUNCHSPECIAL those special dirs
	- add our LIBS as necessary

libhack changes:
	- if NOLIBHACKOPENDIR is set, don't build opendir.o
1999-06-27 12:55:58 +00:00
mrg 1f2076c283 note the sparc floppy somewhat 1999-06-27 11:24:35 +00:00
cgd 9db718d7b7 arm32 has an X server set 1999-06-27 02:10:58 +00:00
cgd ee2ad4c523 add swapctl 1999-06-27 00:59:45 +00:00
cgd fadb3342f0 add a symlink for pax(!), add swapctl, and clean up some 1999-06-27 00:58:59 +00:00
cgd 721d94b596 nuke md_copy_filesystem()'s contents. it now just returns 0. 1999-06-27 00:23:07 +00:00
cgd 36f7421c84 the memory disk ('md') driver is just the standard machine-independent
driver.  Therefore, create and name its device nodes in the normal way.
1999-06-27 00:17:31 +00:00
cgd ddb7bb9480 since all of the arm32 kernels provide 3400 blocks of ramdisk space, we
ought to use it (and not just 3200 blocks).
1999-06-26 06:50:20 +00:00
cgd 7aa73e55cb after checking and setting DONEPROFILE, export it so that children of the
shell (e.g.  programs and shells invoked via sysinst) don't try to run
sysinst again.  Fixes PR#7805.
1999-06-26 06:12:49 +00:00
nathanw 914e91ea43 'make clean' should also blow away netbsd.gz. 1999-06-25 22:32:40 +00:00
pk 6bbd8d074c libutil.so => version 5.1 1999-06-25 07:36:36 +00:00
simonb 4a8e28d508 The name of the kernel on the diskimage is "netbsd" and not "install". 1999-06-25 02:37:22 +00:00
cgd d87d2f2837 use -DNO_EDITCOMPLETE -DNO_ABOUT rather than -DSMALL. The latter excludes
the progress meter code, which isn't particularly large and which is _very_
useful when downloading distribution sets from a not-local network.
1999-06-25 01:07:56 +00:00
cgd 026efaa662 replace "/sbin/ping -c 2 %s" with "/sbin/ping -v -c 5 -w 5 -o -n %s".
Shouldn't bother doing DNS lookups or wait a really long time,
should display verbose output and quit after the host has been
successfully pinged even once.  count bumped up to 5 to give boards
which take a while to do media autoselection time to do their thing.
1999-06-24 00:16:49 +00:00
cgd 834b871ea5 don't make /etc/hosts's contents a message. there's no point and it
makes some things harder, for instance... Deal correctly with the case
where the user-supplied hostname is already fully qualified with the
domain name they supplied.  Addresses PR#6955.
1999-06-23 22:55:14 +00:00
mrg 0acd344de8 call this "netbsd" so that it is found first time.. 1999-06-23 13:20:18 +00:00
tsubai 6ced982bb2 Add powerpc/cpu.h. 1999-06-23 09:09:44 +00:00
tsubai 3b1a5bd207 Add ofwboot.elf. 1999-06-23 09:08:11 +00:00