Commit Graph

264 Commits

Author SHA1 Message Date
bouyer
a17071efea Sync with .eng versions. 1999-04-08 12:54:52 +00:00
simonb
1c15941926 Remove any leading '/'s in the pathname component of the FTP URL.
When the complete URL is constructed, and '/' is inserted between
the hostname and the pathname components.
1999-04-07 13:09:55 +00:00
simonb
f04624dfbf Remove single quotes from the ftp URL and remove the comment about
"protecting the URL from the shell."  run_prog() now breaks up it's
argument and calls execvp() directly, so there's no shell to be wary
off...
1999-04-07 05:18:49 +00:00
tsubai
b8f166d4da Fix menu item number. 1999-04-06 09:31:40 +00:00
simonb
e8f5904d9e Move prototype for disp_cur_part() from defs.h to mbr.h. 1999-04-05 06:59:36 +00:00
simonb
277c24dc4c Don't include <sys/disklabel.h> - "defs.h" does this us with the
right #defines so that we get the filesystem type names.
s/fstype/fstypenames/
1999-04-05 06:24:17 +00:00
fvdl
2eef6a3ee1 Make sure to get the magic MBR number right (i.e. use u_int16_t). 1999-04-03 22:56:22 +00:00
fvdl
793f57a4e6 Adapt setting of active partition to newer MBR handling. 1999-04-01 11:33:02 +00:00
fvdl
a5d73e00eb Rework the MBR code, and some of the labelling code.
* Use structures, not 2-dimensional arrays..
	* Use the DIOCGDEFLABEL ioctl to get the disk information,
	  to avoid confusion with (older) labels.
	* Don't ever call fdisk for partitioning. This was the
	  source of much confusion.
	* For the i386, use the BIOS geometry information passed by
	  the bootblocks.

Lots of things left to do, but it's a start.
1999-03-31 00:44:48 +00:00
kleink
270c5e6806 Typo. 1999-03-28 17:12:12 +00:00
minoura
632ad8cde6 Use pax(1) instead of tar(1).
MD parts already have this change.  /usr/bin/tar can be removed from
the miniroot.
1999-03-26 09:24:27 +00:00
ender
c32aac7964 Uncomment some file copies now that the files actually exist. 1999-03-26 08:52:44 +00:00
mark
f7644e2429 Allow various X11 sets to be installed. 1999-03-26 03:03:37 +00:00
mark
1f8be737e2 Pull in cgd's improved filecore bootblock checksumming code from
sys/arch/arm32/arm32/disksubr_acorn.c
1999-03-26 03:02:45 +00:00
garbled
d1407362ba More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:43:46 +00:00
ross
ac722a849a Bug fix: deal with race-like (select(2) vs wait4(2)) error flow bogon. 1999-03-22 09:02:47 +00:00
ender
e7a6b35eae The sysinst utility for NetBSD/mac68k. From Bob Nestor <rnestor@metronet.com>
in PR #6867 with some cleanup by me.
1999-03-22 08:37:31 +00:00
he
2efafeabaa Add note about /usr/include/machine and e.g. /usr/include/i386 on upgrade. 1999-03-19 15:44:59 +00:00
perry
0547e6d3b2 URLs can't safely contain certain characters unless they are %XX hex
encoded. This means certain passwords, usernames, etc., will not work
with "ftp ftp://...."

This code, submitted by Alan Barrett <apb@iafrica.com>, fixes this by
hex encoding unsafe strings in a clean fashion. This should close a
couple of outstanding PRs. Thanks Alan!
1999-03-19 14:49:07 +00:00
simonb
826dd9708b Add "Set root's shell and password." 1999-03-17 12:42:42 +00:00
fvdl
a4ca20e23e Start cleaning up geometry code by storing the disk geometry in a structure
with proper names, not an integer array with is numerically indexed.
1999-03-14 14:19:05 +00:00
ender
5a333883e0 Fix a typo. 1999-03-13 23:17:04 +00:00
sommerfe
93c6dea365 Make it more clear where this came from. 1999-03-13 19:11:54 +00:00
sommerfe
a8ff351bae Warnsify.
Add reduced version of getcap routines, so sysinst need not drag in
the database goop via libtermcap.
1999-03-13 19:08:43 +00:00
marc
a08745a0e8 if exec fails, perror() and _exit(). exit() is no good, because if
the child runs the atexit cleanup() function, the filesystems get
unmounted and things lose.
1999-03-11 16:48:27 +00:00
he
1a36836b8e If TIOCGWINSIZE returns 0 x 0, default to 80 x 24 instead of crashing. 1999-03-09 19:30:00 +00:00
garbled
c6d6153ab6 Found another case of shell redirection in a run_prog. Tidy it up with
do_system, and appropriate logging calls.
1999-03-08 19:42:30 +00:00
is
2c7fa23c38 Fix Copyright dates 1999-02-16 23:34:10 +00:00
is
dc068e0d1f Assign my files to The NetBSD Foundation, Inc. 1999-02-16 22:46:55 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
kleink
b75d68301e <sys/fcntl.h> -> <fcntl.h> 1999-02-12 15:04:00 +00:00
he
ff15f486fc Move extern declaration of do_system() from run.c to defs.h, used by i386/md.c 1999-02-01 14:08:35 +00:00
garbled
ed77015dc8 When special casing these commands with do_system, remember to add
manual logging and scripting calls, so everything is recorded in it's
proper location.
1999-01-25 23:55:10 +00:00
garbled
851ee9e397 1) Remove all vestiges of tar from src/distrib. Use pax and appropriate
commandlines for all tar operations.  (work supplied by Matt Green)
2) Update arch/*/md.c to deal with new sysinst/run.c.  Special case
anything that needs to do a redirect or a pipe.
3) #if 0 some unused code in target.c. This code will need to be updated,
or special cased with do_system.

Big thank you to Matt for all his work on this.
1999-01-25 23:34:20 +00:00
garbled
5a277f5dfd Fix thinko. Thanks to mrg. 1999-01-23 15:54:31 +00:00
garbled
10218daeef Correct some oversights in the sysinst conversion. arch/alpha/md.c and
others allready had these fixes.
1999-01-23 06:19:17 +00:00
garbled
232877f475 Forgot to check this one file into the tree with sysinst. 1999-01-23 06:11:51 +00:00
tsubai
da7b796faf Uncomment X11 stuff. 1999-01-21 08:55:40 +00:00
garbled
37a95fd205 Oops.. missed an external declaration in the merge.. compiles now. ;) 1999-01-21 08:13:02 +00:00
garbled
865c31ac7b This change includes the following:
Scripting and logging functionality for sysinst.
Child programs are run in a "display window" so you can actually see what
	they did before the screen flashes back and you loose it all.
Lots of curses fixups.  Removed nasty endwins that mangled the tty upon
	rentry.
Change the yes/no box to accept Y or N, and not require cursor motion to
	decide one or the other.
Perform curses redraws when doing things that could cause the kernel to
	spew printfs onto your screen.
1999-01-21 08:02:17 +00:00
mrg
2e85a68f15 ignatios' tool to build bootable sparc/sun3 cdroms. 1999-01-18 07:37:23 +00:00
tron
25e26cd4d4 NetBSD-current uses 169 as MBR partition ID, not 165.
Fixes PR install/6737 by Soren S. Jorvang.
1999-01-11 23:23:28 +00:00
mrg
a17ace088d move gzip_s to x_gzip via repository copy. gzip_s was the wrong name from the start. 1999-01-11 13:02:03 +00:00
mrg
747cbac661 add a -DSMALL netstat. saves ~30k of text/data for me, on the sparc. 1999-01-10 13:50:35 +00:00
simonb
309b01ee4b Add handling raid's as well 1999-01-10 00:52:33 +00:00
simonb
9e61ed141a Add handling ccd's 1999-01-09 12:58:03 +00:00
simonb
b520d1bbc1 s/sprintf/snprintf/ 1998-12-16 22:35:26 +00:00
ragge
42b291e36f Sysinst support for vax. 1998-11-30 22:36:00 +00:00
jonathan
2b381dd5ae Copy script-based installer from i386 ramdisk to MI directory. 1998-11-28 01:38:30 +00:00
bouyer
07b6364862 A few line overflow fixes, for 1.3.3. 1998-11-25 12:50:54 +00:00