dsl
0e07cf9a65
Delete unused menus (the i386 bootselect ones)
2003-05-07 08:40:41 +00:00
shin
acabf4765c
struct mbr_bootsel et al were moved to sys/disklabel_mbr.h, adapt.
2003-05-07 03:34:23 +00:00
shin
c1bb0fc7a0
struct mbr_bootsel et al were moved to sys/disklabel_mbr.h, adapt.
2003-05-07 02:13:32 +00:00
itojun
6f4441e278
change address for IPv6 DNS servers. many of them are obsolete...
2003-05-06 05:35:09 +00:00
fvdl
21670652bf
struct mbr_bootsel et al were moved to sys/disklabel_mbr.h, adapt.
2003-05-03 17:04:09 +00:00
fvdl
043f21d9ea
x86_64 -> amd64
2003-04-26 19:14:17 +00:00
fvdl
0945a6df17
x86_64 -> amd64
2003-04-26 19:02:50 +00:00
fvdl
046ec6c887
FIx kernel set names. Add 'toolchain' set for the time being.
2003-04-17 19:30:19 +00:00
thorpej
6a324a98cb
* Add ADI_BRH to the list of kernel sets.
...
* Add "ld" to the list of acceptable disk names.
2003-04-10 17:05:25 +00:00
jmmv
2b250668c1
When installing from floppy disks, let the user say which is the last one
...
on a set, instead of hardcoding the number of parts in sysinst (which gets
out of sync easily). The fdlast field of the distinfo struct has been
removed.
This solution is a bit simplistic but... anybody using the floppy
installation method will have to split sets himself (as we don't provide
them), so he will know which is the last one. Also, he will be able to
use whatever chunk size he wants.
Closes PR install/5050. Ok'ed by fvdl.
2003-04-06 16:12:36 +00:00
fvdl
fbea38c96e
Revert previous; it was bogusly based on a misplaced msg.def file.
2003-03-18 20:03:30 +00:00
fvdl
a51c2397e0
Don't bother looking at the superblock directly, just run fsck (and
...
not fsck_lfs or fsck_ffs), it'll figure it out. Also, upgrading from
the old inode format is only needed for 0.9 or older. Noone is going
to do that.
2003-03-18 01:13:23 +00:00
fvdl
099d07f374
Apparently, due to a recent change in crunchgen, msg.def needs ${.CURDIR}
...
prepended in the explicit rule that creates target files from it.
2003-03-18 00:55:09 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
lukem
4f6381b784
all:
...
Use /var/db/obsolete instead of /etc/obsolete
etc/Makefile:
Create separate target "install-obsolete-files" to populate
/var/db/obsolete, instead of using "install-etc-files".
Makefile:
Add do-obsolete target, to run "cd etc && make install-obsolete-files",
and add this to BUILDTARGETS.
This moves the "obsolete files" creation from "distribution" to "build".
Per discussion with Andrew Brown.
2003-02-22 03:20:45 +00:00
lukem
ab020dd57c
fix previous; target_prefix() returns const char *, not char *.
2003-02-20 22:21:25 +00:00
lukem
87d530f065
cleanup_dist():
...
- filenames in obsolete sets start with "./" not "/" (i changed that a
while ago, and forgot to update this)
- only call target_prefix() once, not for each filename parsed...
- look for obsolete lists in /etc/obsolete/%s instead of /dist/%s_obsolete
2003-02-20 12:02:56 +00:00
grant
d1d5ade4cf
remove -O arg in pax->tar change.
...
also noted by MOCHIZUKI Tomomitsu.
2003-02-20 11:03:34 +00:00
grant
5bb479a60f
add missing '-' (stdin) to progress/tar command line.
...
noted by MOCHIZUKI Tomomitsu in PR install/20442.
2003-02-20 11:00:35 +00:00
elric
bbf4f2d867
Sync this file up with its counterpart in libc,
...
src/lib/libc/gen/getgrent.c
Patch and PR provided by: FUKAUMI Naoki
Addresses PR lib/20365
2003-02-19 08:04:29 +00:00
mrg
6f05c73b55
fix a couple of sparc sysinst bugs:
...
- md_set_no_x() was turning off the "misc" and "text" sets and
not turning off the "xcomp" and "xmisc" sets.
- now that a kernel is installed as "/netbsd" by default, do not
try to symlink (!) from /netbsd-GENERIC (which does not exist)
to /netbsd.
also:
- instead of printing the 3 kernel sets all as "Kernel : ",
now use "Kernel : ", "Kernel(SCSI3): " and "Kernel(SUN4U): "
- add a note to md.c and the menus.md.* files to keep these lists
in sync (so that the first problem above does not occur again.)
missing:
- a way to force that one and only one of the 3 kernel sets are
selected. at least the default install works now.
2003-02-19 02:09:46 +00:00
grant
e245be8651
we really should install the GENERIC kernel by default.
...
fixes PR install/18502 from Jay R. Fink.
2003-02-17 16:31:05 +00:00
grant
d2af5da2ad
use pas-as-tar to extract sets rather than pax-as-pax, and pass
...
-e arg to abort after first error.
This means the extract process doesn't spew seemingly-endless
"No space left on device" if the destination partition fills.
2003-02-14 00:17:56 +00:00
bouyer
a82a445995
Use the real size of the disk, not cyl*head*sect.
...
Handle the "use existing" option for partitions (but keep d as the
boot partition).
While I'm there use get_real_geom() instead of custom code to get the
existing disklabel.
2003-02-12 11:10:08 +00:00
jmc
c3afc4ab88
Put a retry loop around the cd mount to try and handle slow cd spinup's that
...
might return EIO on some systems. Fixes PR#20165
2003-02-11 11:30:54 +00:00
jmc
4aa8ba861b
After dhcp'ing rerun the interface get routine to pick up any new values
...
like IP/netmask/etc. Fixes PR#20133
2003-02-11 11:29:35 +00:00
shin
e6e2ffad7b
fix typo in comment.
2003-02-10 02:24:27 +00:00
martin
246aa3ebe9
Avoid a spurious warning (with random errno) if read(2) returns 0
...
(i.e. at EOF).
This should close PR install/20054.
2003-02-09 16:31:05 +00:00
shin
d1f3739431
fix typo.
2003-02-08 09:53:08 +00:00
perry
8a49ec08e4
"Utilize" has exactly the same meaning as "use," but it is more
...
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
jhawk
5541e55b38
Allow the user to select a progress bar for file extraction, rather
...
than simply silence or maximum verbosity. Leverage progress(1).
2003-01-22 05:59:07 +00:00
simonb
276fd1665c
The Double-Semi-Colon Police.
2003-01-20 05:29:53 +00:00
tsutsui
6b54faae89
EOL x_mount.
2003-01-19 12:35:00 +00:00
thorpej
8f4d94ed22
Allow the user to select the console speed of the boot blocks.
2003-01-15 00:09:30 +00:00
christos
cc9b9c6553
hack to have only one copy of fstypenames[]
2003-01-12 21:49:50 +00:00
christos
d9edafd3d3
check for strdup returning null
2003-01-11 22:32:43 +00:00
christos
440c3bcc16
check for malloc returning null
2003-01-11 22:32:25 +00:00
christos
774782c3bc
Make everything compile again. All platforms compile on i386 now.
2003-01-11 19:44:04 +00:00
christos
d5c5392912
make compile on !playstation
2003-01-11 19:37:48 +00:00
christos
848b0d8582
use the <sys/bootblock.h> names.
2003-01-11 19:31:52 +00:00
christos
83b0b99b3b
use definitions from <sys/bootblock.h>; don't require <machine/disklabel.h>
...
mac68k machine/disklabel.h contains duplicate definitions that also exist
in <sys/disklabel.h> and <sys/bootblock.h> and should be removed.
2003-01-11 19:28:04 +00:00
christos
405768deca
remove i386'isms; make link again.
2003-01-11 19:06:54 +00:00
christos
2d7e213ded
pass lint[pass1]
2003-01-10 20:00:27 +00:00
jmmv
a9a3a6a120
Remember the administrator to look at the afterboot(8) manpage after a
...
successful installation, upgrade or extraction of sets.
Reviewed by wiz (and tech-install).
2003-01-04 10:07:45 +00:00
jdolecek
b42b75087b
make the description text for special label offset a bit more explicit
...
adresses install/13026 by John P. Refling
2002-12-23 10:29:57 +00:00
lukem
1903b2f616
Add '-O' to pax command line, so that various error conditions don't try
...
and prompt the user for a new archive.
(No idea if this solves the infamous "sysinst random coredump" problem,
but it's worth a shot, and makes sense in any case)
2002-12-22 12:07:34 +00:00
fvdl
1922972e59
if 0 out the X sets for the time being.
2002-12-10 20:08:46 +00:00
scw
1d4f4f766c
The walnut port has been subsumed by the new evbppc port.
2002-12-09 14:08:02 +00:00
fvdl
a4da65a9cc
sysinst glue for x86_64.
2002-12-05 02:05:56 +00:00
fvdl
171b46b525
FILE *log -> FILE *logfp, to avoid warnings about gcc-current's
...
builtin log() function.
2002-12-05 01:17:15 +00:00
chris
e1f2f4db9e
As sys/locale.h no longer includes some extraneous headers, localeconv.c
...
needs to include limits.h itself.
2002-11-19 23:15:59 +00:00
lukem
c7ad6e6337
Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
2002-11-18 12:39:43 +00:00
chris
62fa2583b2
pleasemountroot has 4 %s's in it. Note that the fr translation needs
...
updating to 4.
2002-11-13 00:43:09 +00:00
rnestor
75cd879de4
Fixed problem initializing the Partition Map on a blank disk and added
...
a driver entry for an ATA driver used on Macs with IDE disks. Also did
some cleanup to facilitate use of code on the Macppc port.
2002-10-20 22:06:17 +00:00
provos
32b88027c7
use readlink with bufsize - 1; approved thorpej.
2002-10-19 20:33:17 +00:00
lukem
ea0637c5af
Now that usr.bin/ftp/Makefile supports SMALLPROG and SMALLPROG_INET6,
...
we don't need distrib/utils/x_ftp anymore...
2002-10-17 06:38:15 +00:00
lukem
f36008676d
Remove these, since platforms using the New Distrib World Order have
...
been building these using the basesrc Makefiles with SMALLPROG defined
for a while now.
2002-10-17 06:02:34 +00:00
lukem
ed56ec3a05
Rework how SMALLPROG was being used and how INET6 support was enabled.
...
There's two variables added to Makefile.crunch:
SMALLPROG If 1, add SMALLPROG=1 to CRUNCHENV. [default: 1]
This can be used by various Makefiles to
determine if a `small' version of the program
is required.
SMALLPROG_INET6 If 1 and SMALLPROG == 1, add SMALLPROG_INET6=1
to CRUNCHENV. [default: 0]
This can be used by various Makefiles to
determine if the `small' version has INET6
support enabled.
Only enable SMALLPROG_INET6 for programs on the ramdisks that have INET6 in
the appropriate kernel, and cleanup INET6 setting.
(Note: this means that sysinst won't get INET6 support if the kernel
it's running on doesn't have it).
This change saves a fair bit of space on various install images
(including i386 ramdisk-{ps2,small,tiny}) that didn't have INET6 in
the kernel but were unconditionally getting INET6 support in their tools.
2002-10-17 02:05:35 +00:00
itojun
bfe85e26f6
remove sh1.iijlab.net's old address (what is the best way to maintain
...
the list of publically-usable DNS server addresses?)
2002-10-16 08:04:26 +00:00
wiz
0da5ac2408
Add dot in abbreviation.
2002-10-10 07:55:50 +00:00
lukem
30f103aea1
some clarifications & roff cleanups (yes, there's a problem with .Oo .. .Oc).
...
sparc64 does NOT appear to need a slicemap, so comment out that entire
section.
XXX: this program needs a rewrite. the argument handling is suboptimal.
that's coming next...
2002-10-10 01:25:03 +00:00
augustss
b0eef0bfaa
Use unsigned variable for memory size, so > 2M memory isn't negative.
2002-10-09 13:28:48 +00:00
grant
a94624a921
during timezone selection, only update the clock once per minute. once
...
per second is painful and annoying over a serial line.
2002-10-05 02:41:54 +00:00
grant
b81826593e
s/unused/inutilis'e/
...
from Stoned Elipot.
2002-09-27 15:21:52 +00:00
grant
6f98f8dffe
update French translation, add "don't change" option to mbr partition
...
type selection.
from install/18192.
2002-09-27 15:20:01 +00:00
christos
09f431f5bf
Add libutil.
2002-09-20 21:23:02 +00:00
grant
5e3818a6e0
add "don't change" option to mbr partition type selection.
...
addresses part of install/18192.
2002-09-09 10:53:48 +00:00
grant
3404913871
add explanation of normal vs. serial bootblocks.
...
addresses part of install/18192.
2002-09-09 10:32:49 +00:00
jdolecek
ae25afd5a6
Do not get confused by empty MBR when gathering information for disk layout.
...
This fixes install/18153 by Johnny C. Lam.
Base for fix provided by Tyler Retzlaff. Tested by Tyler, Grant Beattie & me.
2002-09-04 14:22:20 +00:00
rnestor
4ca44777d6
Correct the printout of the partition start and size values.
2002-09-03 00:35:53 +00:00
grant
da7c095365
remove setting root's shell, as this was addressed in install/17676.
2002-08-27 00:22:53 +00:00
mrg
d4c1463d23
if the type of either partition is 0 ("unused"), then these partitions
...
do not overlap. from Tyler Retzlaff <rtr@wasabisystems.com> and fixes
PR#12386.
2002-08-13 03:58:56 +00:00
grant
6b0d856a30
use current values for start/size/bsize/fsize as defaults when editing
...
disklabel partitions.
2002-08-12 02:45:17 +00:00
grant
2df65a0a6e
make mbr and disklabel editor consistently use Start, End, Size in
...
that order.
"offset" -> "start" where applicable.
2002-08-12 02:22:52 +00:00
gmcgarry
26945b2c8b
Bootblock is called uboot.lif. Problem reported by
...
Sageev T. George <sageev@bmsrs.usc.edu>.
2002-08-04 01:24:57 +00:00
itojun
9b10247223
have setloginx() and friends to avoid linking *.o from libutil. PR 17820
2002-08-03 11:37:17 +00:00
grant
c095f9f3cc
make 'use existing partitions' work on i386.
...
patch provided by Tyler Retzlaff, fixes install/17747.
2002-08-02 10:28:17 +00:00
mrg
81cda3082a
fix PR#11945 Tyler Retzlaff <rtr@wasabisystems.com>:
...
>The reason this occurs is because of left over scum in unused partition
>table slots for host system parts. This should clean it up.
2002-08-02 05:38:18 +00:00
grant
0b81a2c68e
set root partition default bsize and fsize.
2002-08-02 05:11:29 +00:00
grant
f4e0ef0aad
allow unsetting of mountpoints in disklabel editor.
...
partially addresses install/17801.
2002-08-02 04:08:47 +00:00
grant
c8c81b4a57
nullify ftp passwd whenever user is changed, not only when user is
...
changed to 'ftp'.
2002-07-31 12:44:14 +00:00
grant
2a31902244
nullify ftp password when changing user to 'ftp', from Thomas Klausner
...
in install/11436.
2002-07-29 03:24:47 +00:00
grant
f9419717d2
add setting of root's shell, from Julio Merino in install/17676 with
...
minor changes by me.
2002-07-29 03:05:16 +00:00
grant
56ad586e08
filesystem -> file system
...
(www.m-w.com)
2002-07-29 02:51:07 +00:00
grant
39427aa237
whitespace and comment cleanup.
2002-07-29 01:30:25 +00:00
grant
b4dfc38d21
add blank lines to editpart, ala editparttable.
...
this stops the table of partitions jumping about while using the mbr
editor.
2002-07-28 08:58:59 +00:00
grant
32c14ac1fc
refresh screen before processing menus.
2002-07-27 10:02:50 +00:00
grant
8136155741
move password cipher menu down to avoid overwriting text.
2002-07-27 10:02:05 +00:00
wiz
5db23d2c5d
enouth -> enough.
2002-07-26 01:00:39 +00:00
grant
9676dd8001
typo in comment.
2002-07-26 00:42:04 +00:00
grant
b0f2d974df
allow partitions i-p to be modified, from Masanori Kanaoka in
...
port-i386/17689, with minor changes by me.
2002-07-25 15:19:17 +00:00
grant
e5d316be94
allow partitions i-p to be modified, from Masanori Kanaoka in
...
port-i386/17689, with minor changes by me.
add_rc_conf() needs a trailing \n.
2002-07-25 14:31:10 +00:00
rafal
04d70c3689
Fix PR port-sgimips/17567: sysinst wasn't installing/upgrading bootblocks on
...
the new disk. This requires my previous changes to sgivol to get a non-
interactive mode. While here, change the way sysinst invoked sgivol (it
called system(), now it uses run_prog()) so we don't mess up the logging
and scripting contexts.
2002-07-18 16:23:36 +00:00
scottr
9f0a09b27b
Automatically select the appropriate kernel set based on the
...
kernel used to do the installation.
2002-07-18 05:35:00 +00:00
rafal
21b586407d
Since the O2 kernel doesn't work, don't bother giving users a choice to
...
install it. Discussed with Soren and Scott G. Taylor (who originally
suggested we do this).
2002-07-15 04:51:41 +00:00
rafal
4d8aea6332
Fix PR port-sgimips/17566: Install the INDY kernel set by default, since we
...
need one of the kernel sets installed (and since O2 support is currently not
working, it's easy to figure out which we should install 8-).
2002-07-12 14:22:16 +00:00
wiz
148bbc0647
Typos.
2002-07-09 14:49:24 +00:00
scottr
fc9da5f33b
If a valid file system type is found for a particular partition but no
...
mount point was specified, make sure to add only a commented-out entry for
that partition when building fstab. This prevents sysinst from generating
an otherwise invalid fstab. This problem was originally reported by
Frederick Bruckman and fixed by Bob Nestor.
2002-06-30 04:02:47 +00:00
scottr
23b6b38874
Correct fsck_num() implementation; return the fs_passno value as defined
...
in fstab(5). Noticed by Frederick Bruckman.
2002-06-30 03:57:46 +00:00
scottr
2a946905e4
Back out last; inadvertantly committed. This will be resurrected
...
in the future, in all likelihood, but it wasn't ready yet.
2002-06-29 20:16:41 +00:00
scottr
7de06b16d5
If a valid file system type is found for a particular partition but no
...
mount point was specified, make sure to add only a commented-out entry for
that partition when building fstab. This prevents sysinst from generating
an otherwise invalid fstab. Bob Nestor found this while working on sysinst
for mac68k, and as such there is no corresponding PR.
2002-06-29 20:12:57 +00:00
scottr
0aafec883d
A malloc() return value wasn't checked properly in cleanup_dist() while
...
reading the file list. Bob Nestor found this by inspection while working on
sysinst for NetBSD/mac68k, and as such there is no corresponding PR.
2002-06-29 20:04:56 +00:00
scottr
e307d4c847
Rework sysinst so that it actually works for common cases. Notably, the
...
partition handling has been completely rewritten to address serious data
loss issues with Mac HFS partitions, and the a.out -> ELF upgrade has
been addressed. From Bob Nestor; part 1 of 2 of a fix for PR 15528.
2002-06-29 17:00:18 +00:00
itojun
d002e9349c
enable IPv6.
2002-06-21 08:20:09 +00:00
itojun
072cf558ff
logic mistake in 1.60 -> 1.61; ask media type if needed.
...
From: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
2002-06-19 16:30:52 +00:00
leo
07ad9a1532
Make it clear which Milan kernel (PCIIDE or ISAIDE) is selected.
2002-06-19 11:44:26 +00:00
itojun
0c74b798cb
make macppc install floppy IPv6 ready
...
(we have two floppies anyways, and there's plenty of space in 2nd floppy)
2002-06-18 02:02:20 +00:00
itojun
e1a37a37f9
no need for extra paren
2002-06-18 01:53:35 +00:00
lukem
1f5cf5c78c
Setup default mbr_bootsel labels for used partitions, since the previous
...
default was for them to be empty, and that meant that they wouldn't get shown
at boot time. Fix from Tyler Retzlaff <rtr@wasabisystems.com>
2002-06-14 03:29:28 +00:00
lukem
29f550aa8c
- Replace make(1) and -D FTP_HOST with SYSINST_FTP_HOST.
...
Defaults to "ftp.netbsd.org"
- Replace make(1) and -D FTP_DIR with SYSINST_FTP_DIR.
Defaults to "pub/NetBSD/NetBSD-" + VER + "/" + MACH.
(FTP_DIR used to override "pub/NetBSD/NetBSD-", which meant the
path name had to contain the release version in it)
- Add make(1) and -D SYSINST_CDROM_DIR.
Defaults to "/" + mach.
- only append ftp_prefix to ftp_dir and cdrom_dir once, just after
the options are parsed. Do this in newly added set_defaults().
2002-06-06 09:53:22 +00:00
enami
3ba7997d55
`des'' isn't a valid parameter as cipher name. Use
`old'' instead as per
...
pwd_gensalt.c (or passwd.conf(5)). Compile test only.
2002-06-05 10:00:43 +00:00
scw
39e26586a0
Use target_expand() when referring to files on the target filesystem.
2002-06-05 09:39:04 +00:00
scw
276ff16bb9
Quell a warning when a partition starts at sector zero.
...
This is perfectly legitimate on mvme68k.
2002-06-05 08:50:09 +00:00
tsutsui
9a006c64a6
Enable "kern-GENERIC" by default, otherwise "Full installation" will not
...
extract any kernel sets.
2002-06-02 17:28:35 +00:00
tsutsui
e66a5b39e8
Don't call toggle_getit() for X11 fonts and servers in md_set_no_x().
...
They are disabled by default.
2002-06-02 16:01:00 +00:00
zuntum
0c075655ba
Polish translation of 'option to leave passwd.conf unchanged,
...
particularly for upgrading'.
2002-06-02 15:05:24 +00:00
itojun
589e4e32b8
typo
2002-06-02 14:14:04 +00:00
itojun
0b9753daf3
have an option to leave passwd.conf unchanged, particularly for upgrading.
...
From: Tetsuya Isaki <isaki@par.odn.ne.jp>
XXX translation needed
2002-06-02 14:12:54 +00:00
eeh
58d15437bc
Add sysinst support for the walnut port.
2002-05-30 16:13:06 +00:00
tv
3a92d39fd3
Rip out the "special_kernel_list" code, as we now have differently named
...
kernel sets in dist_list[] instead. If we want logic like this, it needs
to be re-added as twiddling the "on" state of the correctly named kernel.
2002-05-29 20:36:40 +00:00
zuntum
3984662c21
typo, whitespaces, and one fix
2002-05-27 09:21:34 +00:00
zuntum
77d5abd5af
Change variants of "zamontowac" to "zamountowac"
2002-05-27 09:18:59 +00:00
zuntum
69703d3555
Argh! Replace sophisticated, although weird-looking "punkt montazu" word with
...
just "mountpoint". Even english term is easier to understand in this case.
2002-05-27 09:15:40 +00:00
zuntum
69afabd0cd
more fixes to translation
2002-05-27 09:09:13 +00:00
zuntum
b2cf503dd7
grammar & misc
...
Closes PR#17064 by dawszy@arhea.net
2002-05-27 08:55:57 +00:00
wiz
bf840df2cd
__STDC__ is always defined on NetBSD.
2002-05-26 00:02:06 +00:00
itojun
382ff1f23c
let users choose blowfish password option.
...
XXX msg.mi.fr is out of sync
2002-05-24 08:07:48 +00:00
itojun
5fb3536fb3
remove obsolete comment. use "!rtsol $int" instead of actual interface name.
2002-05-24 07:58:23 +00:00
rafal
4a3f0ef3a4
sysinst updates for sgimips from Scott Taylor with some tweaks from me.
...
For now, we keep the GENERIC/GENERIC_INDY sets, but make the labels a
bit clearer as to their purposes.
XXX: Still need code to install bootloader into volhdr; need either to
integrate into MI installboot or fix up sgivol (I have changes from Scott
for sgivol, just haven't folded them in yet).
2002-05-21 21:59:03 +00:00
lukem
9f9c6e35b1
convert to using usr/sbin/installboot.
...
(from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 16:10:33 +00:00
lukem
4af2890237
use new installboot
2002-05-20 13:31:26 +00:00
uch
e27184bfd6
use MI make_bsd_partitions(). clean up the code.
2002-05-18 07:14:31 +00:00
elric
7836706b6a
Modified pwmatchline to return the value to pw_class. This is not
...
strictly necessary for the install floppy, but it enables one to
build a rescue floppy with ssh(1) on it. ssh dereferences pw->pw_class
and will therefore core dump if it is not set to something.
Reviewed By: simonb@NetBSD.ORG
2002-05-13 06:38:14 +00:00
lukem
073a06669e
migrate to usr/sbin/installboot
2002-05-07 14:50:39 +00:00
bjh21
c778d09734
Synchronise the various lists of sets with reality.
2002-05-04 21:35:27 +00:00
bjh21
3785c22214
sysinst bits for acorn26. Basically the same as acorn32 for now.
2002-05-02 23:02:50 +00:00
sommerfeld
bf3e3eb4dc
Make all elements of SRCS (set in arch-specific makefile) depend on
...
the message headers; previous list was woefully incomplete and caused
parallel builds to explode.
2002-04-29 04:40:00 +00:00
lukem
9e5598221a
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
2002-04-26 15:50:21 +00:00
leo
76fe1572d8
Add aout->ELF upgrade support.
2002-04-25 20:16:08 +00:00
shin
883a9619e2
make "kern-GENERIC" selected by default.
2002-04-21 11:21:53 +00:00
leo
177bcf6b76
Handle the atari kernel-sets.
2002-04-20 20:35:00 +00:00
mycroft
1d4148b8f4
Run reboot(8) and halt(8) from system(), not run_prog().
2002-04-16 02:20:17 +00:00
mycroft
6b51f6a75b
Use reboot -q' and
halt -q' to make it reboot faster.
2002-04-16 02:06:09 +00:00
lukem
0e901f7d9b
Clean up which .o members are built for each of the "fake" libraries;
...
.o files containing unused functions are still linked in (unlike a .a file)
Saves a bit of space by culling unused .c references.
(Required .o members determined by looking at the mapfile generated by
adding LDFLAGS+=-Wl,-Map,mapfile in dhcp/client/Makefile.)
2002-04-14 23:44:25 +00:00
thorpej
bf27601931
* Fix the kernel set selection.
...
* Default X sets to "no".
2002-04-13 02:34:17 +00:00
thorpej
4dc58c48c7
First draft sysinst for evbarm -- more work needs to be done.
2002-04-13 01:47:52 +00:00
leo
e6531b9a88
atari sysinst md-part
2002-04-12 21:15:52 +00:00
mycroft
73b187a06a
Install kern-GENERIC by default.
2002-04-11 18:16:05 +00:00
mycroft
8d3ca86950
Add a DPADD for the libraries we use.
2002-04-11 18:14:18 +00:00
skrll
ac60400580
The results of my cats NWDO hacking.
...
This was tested using a custom INSTALL kernel. The current one is >4Mb
which the cats firmware can't currently boot. We need to decide what
needs to be removed from INSTALL.
2002-04-11 16:33:58 +00:00
hubertf
f0799e74a5
Polish language translation of sysinst. Build with
...
make release SYSINSTLANG=pl
Contributed by Dawid Szymanski <dawszy@arhea.net> in PR 16237.
2002-04-09 19:47:57 +00:00
hubertf
3929182069
Polish language translation of sysinst. Build with
...
make release SYSINSTLANG=pl
Contributed by Dawid Szymanski <dawszy@arhea.net> in PR 16237.
2002-04-08 23:30:38 +00:00
tsutsui
b85c5addbb
Don't override DBG here. It should be defined in parent Makefiles.
2002-04-06 18:12:50 +00:00
ad
f14b71f762
Remember to free strdup()'ed string.
2002-04-05 00:12:14 +00:00
ad
6fcf2c1799
Allow the password cipher to be chosen at install time. XXX Not tested for
...
real yet, and the French files need updating.
2002-04-04 14:26:43 +00:00
thorpej
875238901e
Garbage-collect the Filecore stuff, and make /usr the "d" partition
...
(RAW_PART == "c").
2002-04-02 17:46:20 +00:00
thorpej
c7eb256693
Add aout2elf upgrade support.
2002-04-02 17:02:54 +00:00
thorpej
556ff2a401
The default kernel for Shark is now GENERIC.
2002-03-31 02:14:06 +00:00
matt
1da9c3f8d0
Add support for auto2elf UPGRADE support.
2002-03-30 21:55:11 +00:00
shin
73fb891f58
fix warning message. kern.tgz does not exits.
2002-03-29 01:03:14 +00:00
lukem
484f8db2eb
- Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
...
required, define them before pulling in libhack/Makefile.inc so that the
dependencies work correctly.
- Other minor cleanups
2002-03-28 04:33:21 +00:00
lukem
25c4cc30b2
Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
...
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines. Add gethost.o back to Really Small media which
appears to need the space savings.
2002-03-25 07:43:39 +00:00
lukem
7e4ac704fe
correct comment
2002-03-25 07:39:50 +00:00
scw
26e4cbfa71
sysinst for mvme68k, based mostly on hp300's sysinst.
...
XXX: French language support needs some attention.
XXX: sysinst needs to be taught how to get sets from tape...
2002-03-24 22:04:04 +00:00
shin
842442d1c5
'kern.tgz' no longer exists.
...
don't check 'kern.tgz'.
2002-03-23 05:18:23 +00:00
shin
50838200f5
delete kern-TX3922.
...
sync with i386.
2002-03-23 03:24:34 +00:00
gmcgarry
e111c9550d
Allow a complete cylinder for the boot code.
2002-03-17 05:38:11 +00:00
tsutsui
fd7bd6f395
Handle a.out -> ELF library upgrade in md_update().
...
XXX No French message for emulbackup?
2002-03-16 17:26:55 +00:00
tsutsui
010ec39dbb
First cut at sysinst for newsmips. Mostly copied from news68k.
2002-03-16 15:47:56 +00:00
tsutsui
b322db6bea
s/macppc/news68k/ in comments. (Oops)
2002-03-16 08:51:07 +00:00
tsutsui
1cdefcf3a6
Fix toggle_getit() args for md_set_no_x().
...
XXX It seems this should be handled without magic numbers..
2002-03-16 08:42:52 +00:00
tsutsui
72fc77e730
Fix typo in toggle_getit() arg.
2002-03-16 08:40:12 +00:00
tsutsui
fd0eb9f1bd
- Use common sysinst/bsddisklabel.c for md_make_bsd_partitions()
...
- Prepare md_cleanup_install() (XXX not tested)
2002-03-16 08:25:00 +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
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
lukem
521853db1d
simply VERDEP calculation by using ${_SRC_TOP_}
2002-03-06 22:36:58 +00:00
reinoud
42dd65f262
Implement (/copy) from the generic way the option to keep the existing disk
...
layout... this was missing for quite some time.
2002-02-15 00:40:23 +00:00
reinoud
7ffc54f047
Fix typo....
2002-02-14 15:28:31 +00:00
reinoud
b9a12f956d
Let the user choose between the other kernels available than just
...
`GENERIC'.
2002-02-14 15:25:02 +00:00
skrll
4cd25cd0e8
First cut at cats support.
2002-02-11 13:50:18 +00:00
thorpej
3fcc2a907a
arm32 -> shark
2002-02-10 19:20:52 +00:00
gmcgarry
3101b620cc
hp300 machine-dependent components
2002-02-10 01:14:05 +00:00
lukem
8f25f0f1e6
use ${INSTALL_FILE} as appropriate
2002-02-09 13:49:28 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
mrg
c0099774ec
allow the user to continue the install, even if sysinst thinks that the
...
network has not been configured (due to what ever local condition that
causes ping to fail, or whatever.) requested by kre in private email
many many months ago.
2002-02-04 14:35:10 +00:00
skrll
03ecb39a1f
Don't go mad with the includes...
2002-02-03 22:44:21 +00:00
lukem
a23934fd2a
permanently disable opendir.o until its link bugs (on ELF platforms
...
only?) are sorted out. speculation (based on some analysis by simonb)
is that it's because fts calls _opendir2 directly, which forces both
the libhack and the libc versions of opendir.o to be linked in.
in any case, there's space saves to be had elsewhere...
2002-02-03 22:39:52 +00:00
skrll
a3a8c36b17
Factor out the aout library moving code for use in other platforms.
2002-02-03 22:21:55 +00:00
wormey
3beb955c29
Add definition to a variable.
2002-02-03 20:04:31 +00:00
lukem
3ec71ac24d
replace previous "cut down" getpwent.c with a version which is closer
...
to libc/gen/getpwent.c. this version reads from master.passwd instead
of passwd (thus removing the need to keep both in the mini file system
and having to run pwd_mkdb to generate the latter)
2002-02-02 15:57:54 +00:00
lukem
d50281b041
sync closer to libc version
2002-02-02 15:31:58 +00:00
lukem
6d6c0437fa
ansify
2002-02-02 15:08:06 +00:00
reinoud
187b0b9771
Fix typo
2002-01-31 01:56:43 +00:00
reinoud
b97d535232
Create a sysinstall part of our own... not my own choise (maintainability)
...
but since arm32's gonna go i'll have to.
2002-01-31 00:33:49 +00:00
wiz
f5bbe120f9
Whitespace nit, sort sections, drop trailing dot in SEE ALSO.
2002-01-15 02:31:31 +00:00
wiz
68f1efb939
Use standard headers and sort sections.
2002-01-15 02:31:04 +00:00
wiz
05d870e7f6
Use .Nx for NetBSD, use standard headers, sort sections and SEE ALSO.
2002-01-15 02:30:45 +00:00
atatat
043e7e58b6
Redefine MENUC and MSGC so that non-new-toolchain platforms don't
...
lose.
2001-12-24 00:47:42 +00:00
mrg
07f129f94a
clean up a couple of items.
2001-12-13 14:02:02 +00:00
tv
7ec460046d
Major readability cleanup; nuke redundancies; MKfoo=no -> NOfoo=.
2001-12-12 00:05:09 +00:00
minoura
9d9c30bd81
Correct argument order of installboot.
2001-12-10 03:09:03 +00:00
minoura
7d3c9783e0
Use new boot system.
2001-12-06 04:15:31 +00:00
jhawk
55b9072766
s/change a partition/change partitions/
...
otherwise it looks like you're being asked to change
partition 'a'.
2001-12-03 06:12:19 +00:00
thorpej
3a4956a5c8
On platforms for which there is more than one kernel set choice,
...
default the kernel sets to "no", thus requiring that the user
explicitly enable the one that is right for their system.
2001-11-29 23:24:23 +00:00
thorpej
0f33bc5dfa
Update for the new kernel set names.
2001-11-29 23:20:56 +00:00
lukem
75033974ce
Add strsuftoull.c. Thanks to Launey Thomas for the reminder.
2001-11-27 03:33:08 +00:00
soren
4004df64a0
Add sgimips sysinst support from Scott G. Taylor.
2001-11-20 15:53:22 +00:00
perry
b4109e020f
XXX if a color term, do color. horrible kludge.
2001-11-17 02:06:47 +00:00
briggs
7bd7e68996
First cut at sysinst for sandpoint.
2001-10-24 19:43:40 +00:00
hubertf
7dfbd02819
Only turn ttyE[1-9] on, and explicitly leave ttyE0 off, as recommended
...
in PR #14075 . (Since PR #13249 was fixed, we have /dev/console enabled
in /etc/ttys on i386 by default!)
2001-10-15 22:49:36 +00:00
uch
0cbd019fc3
playstation2 support
2001-10-15 16:22:50 +00:00
jmc
0eadbed94d
Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization
...
levels
2001-10-05 01:17:27 +00:00
jdolecek
785b85c14a
glue in necessary IBM PS/2 kern set bits
2001-09-13 18:09:19 +00:00
jdolecek
b29d271447
change launch_subwin() to pass failure reason back to caller, add check
...
pipe(2) call was successful
make launch_subwin(), va_prog_cmdstr() static
2001-09-13 18:07:26 +00:00
simonb
e5592e5454
Use "sd" only in disk_names.
2001-08-26 11:58:47 +00:00
martin
c45ea630d3
Drop ``-Os'' on sparc64 due to toolchain issues.
...
The same change has already been applied on the 1.5 branch. The problems
(i.e. ifconfig not showing IP addresses) have been verified to still exist
with the new toolchain.
2001-08-20 12:19:43 +00:00
wiz
1e378c4c12
precede, not preceed.
2001-08-20 12:00:46 +00:00
drochner
22c120406f
use dhcp sources from src/dist/dhcp
2001-08-03 14:15:48 +00:00
wiz
41df6b74a9
partiton -> partition
2001-07-26 22:47:34 +00:00
scottr
8f69e0c022
After modifying the Apple Disk Partition Map, use the DIOCGDINFO/DIOCWDINFO
...
ioctls to refresh the in-core disk label. From Bob Nestor.
2001-07-14 07:57:16 +00:00
thorpej
a59a7e818b
First pass at sysinst for the ARC port. This is a work-in-progress.
2001-07-04 16:56:01 +00:00
hubertf
864848be63
close a .Bl
2001-06-25 23:42:42 +00:00
jdolecek
d5c13f3228
Add 'ed' to list of known/valid disk names
2001-06-16 14:33:08 +00:00
veego
a0106f8d24
Editing Fsize/Bsize caused a segmention fault.
...
Fix provided by Klaus Klein.
2001-06-16 08:25:20 +00:00
tsutsui
f768d0ff1a
Add definitions for weak aliases so that libhack functions
...
are actually linked instead of libc ones on ELF systems.
Fixes install/13050 and install/13153.
2001-06-15 17:26:50 +00:00
wiz
40ac848024
Fix various misspellings of compatible/compatibility.
2001-06-11 01:50:48 +00:00
mrg
79ba24e616
wait a couple of seconds for the interface to go live, before calling ping.
...
fixes problem noted by gkm@petting-zoo.net where the interface was still
negotiating before ping failed, causing the network config to wrongly failed.
2001-06-07 12:34:55 +00:00
scottr
d4a2f03f78
Add support for FTP through a web proxy (via the ftp_proxy environment
...
variable).
2001-06-06 23:12:48 +00:00
itojun
d9bcf0f87a
use "!rtsol" for IPv6 interface autoconf.
...
XXX i did not use "!rtsol $int" because there could be problem with
shell script expansion ($int gets expanded too early).
2001-05-07 11:49:52 +00:00
fvdl
58dc4d0703
Use the -2 option for the NFS mount. Install kernels might have
...
NFS_V2_ONLY to save space, and we're only reading anyway.
2001-04-29 00:22:34 +00:00
kleink
8a9b17ef14
Sync with gethostbyaddr() declaration change in <netdb.h> rev. 1.21;
...
from <lha@stacken.kth.se> in PR misc/12775.
2001-04-28 14:56:42 +00:00
simonb
6f6fe2f3ad
Spell occurred correctly.
2001-04-25 02:33:08 +00:00
itojun
4a360e2310
write out IPv6 configuration to /etc/rc.conf and /etc/ifconfig.*
2001-04-15 11:08:51 +00:00
briggs
ae21cdde67
Make this compile again:
...
* Remove duplicate definition of "nobiosgeom"
* Update to "new" edit_mbr() and define a basic md_bios_info().
2001-04-12 03:48:12 +00:00
mellon
871abbab37
Make things a lot smaller.
2001-04-06 18:53:33 +00:00
simonb
20f99292d1
Disable tracing in the distrib client (controlled by #ifdef SMALL in
...
includes/site.h).
2001-04-06 06:39:54 +00:00
thorpej
c00d041746
Make this work with the new dhcp code -- but the binary is Bigger.
...
Might require some trimming in the dhcp code itself.
2001-04-06 04:09:55 +00:00
tsutsui
0409a49e97
"NOMAN= yes" -> "MKMAN= no"
2001-03-17 07:10:54 +00:00
dogcow
84e3a863c2
missed a \n after dhclient_flags=\"%s\".
2001-03-06 09:22:40 +00:00
abs
ef51389957
Update the pleasemountroot message to indicate which root needs to be
...
mounted, and what needs to be done.
2001-02-26 16:32:53 +00:00
cgd
668a4dd967
convert to use getprogname()
2001-02-19 22:39:39 +00:00
wdk
9123196f19
sysinst utility for mipsco port
2001-02-19 07:38:44 +00:00
tsutsui
899149f1e5
Add x_mount, which does not include any MOUNT_PROGS.
...
Installer does not require all vfs progs and all binaries
are crunched after all.
2001-02-18 06:15:48 +00:00
tsutsui
b5a9f7605f
Add x_umount to SUBDIR.
2001-01-31 20:48:11 +00:00
jmc
d264c53a1d
Add support for installing serial bootblocks. If biosboot_com0.sym exists
...
on the ramdisk image then ask which set of bootblocks to install (normal or
serial). If it doesn't exist, just install the normal ones. (small/tiny
images).
2001-01-27 07:34:39 +00:00
jmc
b70406007d
Fix various typo's so this compiles.
2001-01-23 01:22:32 +00:00
nonaka
8492c6a9e8
Add prep installer
2001-01-16 16:53:57 +00:00
mrg
1f4e0ae80c
fix compile lossage on i386.
...
move some data & a function from bsddisklabel.c to disks.c.
2001-01-14 23:45:16 +00:00
mrg
d436dd6641
extend sysinst disk handling, some general clean ups, better /etc support
...
and some sparc64 fixes. details:
- new scripting_{,v}fprintf() that also write to the script log (if open).
- support of creation of LFS filesystems
- standard installs now allow one to choose which file systems to create,
out of the list of /usr, /var, /home, MFS /tmp, and swap. a / is always
created, but the rest all optional. [*]
- new disklabel method: use existing. this requires one to fill in the
mount points (and having at least a "/" is enforced).
- preservation of existing filesystems (at install) is supported.
- rewrote most of make_fstab(): the entire thing is generated from the
bsdlabel now, rather than hard coding / to 'a' and swap to 'b'. create
MFS /tmp if requested.
- if IPv6 support isn't present, don't display any ipv6 messages.
- better rc.conf support
- sparc & sparc64 default to "cylinders" now.
- choosing "standard" instead of "standard with X" de-selects the X pkgs
by default.
- sparc64: don't install bootblocks until we have a complete system, avoids
booting with no /dev/console.
- sparc64: bump STDNEEDMB, it is way low.
[*] i have added default values for DEFVARSIZE & DEFUSRSIZE (this is used
only if /usr and /home are selected) to each port, based on STDNEEDMB. as
such, my guesses might be wrong so port maintainers should look at these.
2001-01-14 02:38:13 +00:00