Commit Graph

2213 Commits

Author SHA1 Message Date
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
cgd
491d56190d address the problems described in PR#7833 and its followups: ftp/nfs
installation would try to continue even if no networking interfaces found,
and, and, when that was fixed, instead of dropping back to the
pick-distribution-medium menu they'd drop all the way back to the opening
menu.
1999-06-22 18:47:07 +00:00
cgd
092b1acdb4 now that msg_window returns a value, check it 1999-06-22 15:04:15 +00:00
bouyer
ab68dc3e40 Translate into french the new stuffs added by cgd. 1999-06-22 12:45:26 +00:00
cgd
3528b5e0cf * make selection of 'none' for installation media type return the user
to the toplevel menu, as promised by the media selection menu, without
  first going through an "installation is aborted" menu.
* when something causes the installation to fail (e.g. missing set or failure
  to extract a set's contents), don't go through N menus
  (missing/failed/aborted, sets didn't install/aborted,
  sanity check failed/aborted) before getting back to the top level.  The
  user only needs to be told once that their life sucks.
1999-06-22 06:57:00 +00:00
cgd
f9227dd6ef kill the "If you see error messages above..." and related chunks from
the disksetupdone message.  If there were errors, sysinst would (or
should) have bailed out.
1999-06-22 04:29:54 +00:00
cgd
72928b1093 nuke ask_ynquestion from orbit. not only was it bogus w.r.t. what is
allowed in C (see PR 6431), but it's also bogus w.r.t. sysinst's message
display style, etc.  XXX the French msg file needs translation.
1999-06-22 02:43:09 +00:00
cgd
1efdb57757 explicitly mention that the domain name requested is the DNS domain name 1999-06-22 02:21:58 +00:00
cgd
59d3c08e03 mark all calls to write 'CL' (the screen-clear escape sequence) to the
screen as XXX.  Where they were not followed by wclear(stdscr), add
wclear(stdscr).  Somebody was let out without adult supervision.  If i
were more adventurous, i'd remove the bits that output 'CL', but i'm not
gonna go there right now.
1999-06-22 00:57:06 +00:00
cgd
afa3578c2f provide a way to ignore tty-generated signals (INTR and QUIT) and/or
forward them on to subprocesses.  nice when running a subprocess in
a display window to allow the user to kill the subprocess w/o nuking
sysinst itself.  add handling for QUIT, which gets handled the same
as intr.  add handling for HUP which just cleans up.  More signals
should be handled.
1999-06-22 00:43:57 +00:00
minoura
5821d4ffc3 Add memswitch and its manpage. 1999-06-21 16:00:12 +00:00
cgd
f337a5c974 actually use all of the action window for command output 1999-06-21 02:55:27 +00:00
cgd
7f0f3a202c simplify the code to display cmd output in subwindows slightly. while
at it, remove the gratuitous inefficiencies.
1999-06-21 02:47:41 +00:00
danw
a70101fd7b const poison login 1999-06-21 02:32:20 +00:00
cgd
9c8517c573 handle CRs properly when running cmds w/output to subwin 1999-06-21 02:31:17 +00:00
cgd
40587021a6 dependencies on BSDSRCDIR should be _removed_, not introduced. Use
paths relative to ${.CURDIR} instead.  Using BSDSRCDIR here means that
it's impossible to compile these programs out of the source tree they're
a part of, unless that sort tree happens to be the one at BSDSRCDIR.
1999-06-21 01:19:36 +00:00
cgd
f4ce9a35ea nuke extra spaces around logging menu title, allow the menu to be
automatically horizontally centered.
1999-06-20 20:26:42 +00:00
cgd
45a8fa11cd reimplement most of get_ifconfig_info() so that it only ignores network
pseudo-devices.  This is done by explicitly listing the driver names
(e.g. "lo") to ignore in an array in this file.  Right now, "eon", "gre",
"ipip", "lo", "nsip", "ppp", "sl", "strip", and "tun" are ignored.
1999-06-20 07:55:00 +00:00
cgd
cdd16f2bf9 clues for the clueless and convenient common-bogon grep list. 1999-06-20 06:53:06 +00:00
cgd
a1d9660ade typos noticed in PR#7248 1999-06-20 06:42:05 +00:00
cgd
a640bc7014 copyright notice typo fixups, as noticed in PR#7248. This software
was developed, not develooped.
1999-06-20 06:08:13 +00:00
cgd
eb1ee6e879 message and menu files now named *.en rather than *.eng (via repository
move).  Fixes PR#7277.
1999-06-20 05:55:51 +00:00
cgd
a28535f4c0 Moved to ./msg.mi.en,v 1999-06-20 05:48:49 +00:00
cgd
f3d8660f1f Moved from ./msg.mi.eng,v 1999-06-20 05:48:48 +00:00
cgd
5bc1f13c47 Moved to ./menus.mi.en,v 1999-06-20 05:48:45 +00:00
cgd
303077ef06 Moved from ./menus.mi.eng,v 1999-06-20 05:48:44 +00:00
cgd
d15ec67e7c Moved to ./arch/mac68k/msg.md.en,v 1999-06-20 05:48:42 +00:00
cgd
36c2855ac2 Moved from ./arch/mac68k/msg.md.eng,v 1999-06-20 05:48:41 +00:00
cgd
4641e1cceb Moved to ./arch/mac68k/menus.md.en,v 1999-06-20 05:48:39 +00:00
cgd
109d4d2820 Moved from ./arch/mac68k/menus.md.eng,v 1999-06-20 05:48:38 +00:00
cgd
f0eb5d2943 Moved to ./arch/bebox/msg.md.en,v 1999-06-20 05:48:36 +00:00
cgd
0ca07199cd Moved from ./arch/bebox/msg.md.eng,v 1999-06-20 05:48:35 +00:00
cgd
1e1bd40fc1 Moved to ./arch/bebox/menus.md.en,v 1999-06-20 05:48:34 +00:00
cgd
d909fb233b Moved from ./arch/bebox/menus.md.eng,v 1999-06-20 05:48:33 +00:00
cgd
7d4a1bcfd0 Moved to ./arch/vax/msg.md.en,v 1999-06-20 05:48:21 +00:00
cgd
e6e1d712f2 Moved from ./arch/vax/msg.md.eng,v 1999-06-20 05:48:20 +00:00
cgd
32c1996a86 Moved to ./arch/vax/menus.md.en,v 1999-06-20 05:48:19 +00:00
cgd
02e778ce3f Moved from ./arch/vax/menus.md.eng,v 1999-06-20 05:48:18 +00:00
cgd
53ad1be219 Moved to ./arch/macppc/msg.md.en,v 1999-06-20 05:48:14 +00:00
cgd
1209c0ae3d Moved from ./arch/macppc/msg.md.eng,v 1999-06-20 05:48:13 +00:00
cgd
9722658a75 Moved to ./arch/macppc/menus.md.en,v 1999-06-20 05:48:13 +00:00
cgd
b26232be40 Moved from ./arch/macppc/menus.md.eng,v 1999-06-20 05:48:12 +00:00
cgd
6979132b6e Moved to ./arch/sparc/msg.md.en,v 1999-06-20 05:48:11 +00:00
cgd
251277862f Moved from ./arch/sparc/msg.md.eng,v 1999-06-20 05:48:10 +00:00
cgd
c991293875 Moved to ./arch/sparc/menus.md.en,v 1999-06-20 05:48:09 +00:00
cgd
9542802224 Moved from ./arch/sparc/menus.md.eng,v 1999-06-20 05:48:08 +00:00
cgd
667ca88f62 Moved to ./arch/pmax/msg.md.en,v 1999-06-20 05:48:07 +00:00
cgd
947338be21 Moved from ./arch/pmax/msg.md.eng,v 1999-06-20 05:48:06 +00:00
cgd
827fb383e3 Moved to ./arch/pmax/menus.md.en,v 1999-06-20 05:48:06 +00:00
cgd
d80758862c Moved from ./arch/pmax/menus.md.eng,v 1999-06-20 05:48:05 +00:00
cgd
caa48ae9df Moved to ./arch/pc532/msg.md.en,v 1999-06-20 05:48:03 +00:00
cgd
95c31e6136 Moved from ./arch/pc532/msg.md.eng,v 1999-06-20 05:48:02 +00:00