Age | Commit message (Collapse) | Author |
|
|
|
build the sets before we build the media. While there we can get rid
of DESTDIR/snapshot too, and simply install straight into RELEASEDIR.
(This also ends up saving an astounding amount of traffic/latency in a nfs
environment)
|
|
them
|
|
|
|
'# /dev/r...' line is not selected.
Noticed by deraadt@
|
|
missed the '# size offset ...' line at the top of the partition
list.
|
|
disk and ask if the installee wants to use it, edit it, or create
their own custom disklabel. Most one-disk installs will not need
to see fdisk or disklabel.
i386 and macppc by me, adapted for others by deraadt@.
ok deraadt@
|
|
media.
The Alpha disktab was an empty (comment only) file.
ok deraadt@ miod@
|
|
|
|
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
since it isn't emitted anymore.
ok deraadt@
|
|
understand.
Add serial console handling for alpha, macppc, zaurus. No functional
change for i386/amd64.
All archs should now have automatic serial console configuration.
ok deraadt@
|
|
zap extra subshells.
okay miod@
|
|
for pushing disklabels onto the disk (and besides that, it is buggy and
unreadable crap); thanks for help from krw
|
|
Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
|
|
|
|
|
|
fixed list of available maps and machine dependant md_set_term()
functions.
Any ramdisk with /sbin/kbd present (amd64, cats, i386 at the moment)
will now present list of available keyboard encodings.
ok deraadt@
|
|
|
|
|
|
|
|
'feel free to remove' miod@
|
|
for ksh.
ok millert@
|
|
Requested by nick@ some time ago, and it fits.
|
|
ok deraadt@ beck@
|
|
which begin to enable use of this will follow at a later time.
|
|
a bit of silliness is permitted
change mvme* to install bootblocks with correct path
ok drahn, and some others..
not sure who, because it is hard to check my mail from the
blackberry I am commiting this from, over ssh of course...
hmmmm mcnalleyes....
|
|
1) Eliminate 'WARNING: Disk xxx has no label.' message. When installing OpenBSD
this is a normal condition not worth commenting on. From some discussion on
hackers/icb.
2) Use consistant verbiage and case statement when checking the disklabel.
3) Consistantly suppress output of 'disklabel -W', reducing duplicate messages
like '# using MBR partition ...' which are issued again when the 'disklabel -f
...' command is executed.
4) Usual code rectifications - eliminate extra {}'s, multiple echos
elimination, etc.
|
|
error information. Previously things like:
disklabel: no disk label
WARNING: Disk wd0 has no disk label. You will be creating a new one.
would be printed. Now the 'disklabel: no disk label' message is correctly
sent to /dev/null.
Take the opportunity to clean up a bit of code and formatting, making all
the md_checkfordisklabel() functions as identical as possible.
|
|
with finishing touches and ok krw@
|
|
|
|
|
|
|
|
logic. As result, MDSETS gone from everything but mac68k.
MDSETS now treated as a list of complete file names to add to THESETS,
allowing more MD flexibility, i.e. may or may not be .tgz files.
All traces of tar.gz removed. Not used for sets since 2.7 or so. As a
result of code simplification from not having to consider tar.gz, the
functions get_sets(), make_lastset(), and set_not_done() are
eliminated, along with the global SETS.
Build THESETS and DEFAULTSETS to contain full file names.
Always install sets in the order they appear in THESETS, keeping
siteXX last but without needing special logic. More predictable for
user if a lot of set additions and removals done before being
satisfied, as the sets are now installed in the same order they appear
in the selection list.
Remove ability to look for non-set .tgz/.tar.gz files. The job of the
install scripts is to install the standard sets in a simple and
rational way. Not to install general tar balls. The user can do that
post-install or simply '!' out to do it during install. On their head
be it.
If no sets are found in a specified source, list the filenames in
THESETS to show what is being looked for.
|
|
|
|
machdep.allowaperture. Remove the setting of machdep.allowaperture
from md_installboot().
Add MDXAPERTURE variable to relevant architectures.
Add a new function set_machdep_allowaperture(). It is called *after*
install_sets() (which changes when the X Window question is asked), and
if MDXAPERTURE is present modifies sysctl.conf.
Shrinks overall size for i386, macppc, sparc64 (which used md_questions
for machdep.allowaperture) but increases size a bit for other
architectures since set_machep_allowaperture is in install.sub.
|
|
if the ` is not individually escaped and the here document as a whole
is not escaped. (i.e. cat << \__EOT).
|
|
1) Saving one boot's worth of dmesg in /tmp/dmesg.boot
2) Using sed to scan for devices and pull out names in
new get_diskdevs() and get_cddevs() in install.sub
3) Saving any md disk/cd sed patterns in MDDISKDEVS and
MDCDDEVS variables.
|
|
simply echo'd a single word if present at all.
Replace with variables MDFSTYPE and MDFSOPTS if required. Rework logic
in install.sub's mount_a_disk() to always include 'ro' as an option to
the mount command. This allows even those arch's with MDFSTYPE to
usually get by without MDFSOPTS.
ok deraadt@
|
|
output of both was essentially identical on all architectures. Replace
with welcome_banner() and not_going_to_install() in install.sub.
Abstract common verbiage from md_congrats() into congrats() which
calls md_congrats() for any architecture specific additional verbiage.
Reword things so ${MODE} can be plausibly used in more places.
Remove extraneous #!/bin/sh in hp300 install.md.
ok deraadt@ espie@
|
|
calling md_set_term() from set_term() to do machine dependent stuff.
Currently only i386 does anything - keyboard mappings.
Add MDTERM variable to allow install.md to set proper default terminal
type. Default to vt220.
Eliminate md_get_partition_range() as useless since every architecture
returned '[a-p]'.
Make default term for all mvme* architectures vt100 as requested by miod@.
ok deraadt@ millert@ miod@
|
|
use later, plus a few rcsid vicinity cleanups; millert@ ok
|
|
Make all fsck list file entries simply be:
LINK instbin sbin/fsck_ffs sbin/fsck
|
|
|
|
|
|
smaller again
|
|
|
|
|
|
ask() takes 2 parameters. The first one is the question to
ask the user, and the 2nd is the default answer.
Shrinks and makes the code clearer.
From espie@ with some tweaking, ok deraadt@.
|