Age | Commit message (Collapse) | Author |
|
command; the script does not ask afterwards. Note I am not adjusting
the macppc or sgi install.md scripts. I ask their maintainers to clean
them before I will maintain them further. Please
|
|
|
|
|
|
caught up one day, but that is not my battle). Hope people like this
tested by oga, ok krw
|
|
Yes, there are machines where you X needs configuration, but let us be
realistic about it: THAT IS AN X BUG. And there are machines where getty
and xdm fight: THAT IS A CONSOLE DRIVER BUG. And this commit is going to
force those bugs to eventually matter enough so that they get fixed. Just
watch.
|
|
subsequent upgrades.
|
|
selection on multi-processor machines. Make bsd.mp a sanity check
item on multi-processor machines.
ok deraadt@
|
|
|
|
|
|
|
|
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)
|
|
'# /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@
|
|
installs. Also nuke the link created for disktab.
ok deraadt@ miod@
|
|
than have the install script copy it there. Shrinks install script,
removes an extra copy of disktab.
ok deraadt@
|
|
|
|
|
|
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@
|
|
|
|
weird number of partitions, doesn't checksum, doesn't exist or was
found at a particular sector. Brings all archs together in omerta by
eliminating use of '-r' and examination of disklabel messages.
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
|
|
which appears to work around a bug in newfs's summary information
generation when used in conjunction with the other fs parameters.
|
|
Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
|
|
the uncompressed filename in the gzip header.
|
|
|
|
option to choose a filesystem type when mounting a disk. Rely on the
filesystem information provided by the disklabel.
When there is only one usable partition on the selected disk, just
mount it without bothering the user with a question.
Ensure that msdos filesystems are mounted with '-s' so that the names
of the install sets will be in lower case and thus visible to the
script.
msdos problems noted by Rodolfo Gouveia, who did a lot of testing and
debugging. 'mount -t ...' silliness pointed out by deraadt@.
|
|
|
|
|
|
|
|
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@
|
|
table.
ok deraadt@
|
|
while statements.
|
|
|
|
|
|
|
|
|
|
re-write of install_cd() so remove sleep(1) from install media.
"sure!" deraadt@
|
|
|
|
i386 only at this time.
ok beck@ deraadt@
|
|
|
|
/boot's i-node number and allows multiboot (NTLDR) setups to work
across upgrades. Suggested by Tom Cosgrove and Todd Miller.
NOTE: Will only work if preserved biosboot is an LBA biosboot. i.e.
won't work for 3.4 -> 3.5 upgrade because LBA biosboot went in
post-3.4.
ok millert@ deraadt@ tom@ nick@
|
|
required when making release.
requested by and ok deraadt@
|
|
the BIOS supports it. File location data now geometry-independent
(biosboot groks part of the inode), so installboot loses -h and -s.
Many thanks to all those brave enough to try the snapshots. Thanks
for the test reports, everyone.
ok deraadt@
|
|
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.
|
|
questions.
ask_yn() always returns a 'y' or 'n' in $resp, vastly simplifying the
logic used to check the user response.
ask_yn() insists on the user responding with a 'y', 'n', 'yes', or
'no'. Case is ignored.
Previously almost any input was accepted as either a yes or a no
depending on the question. ask_yn() reduces the chance of user error,
e.g. by answering the next question (default route) instead of the
posed one (Use DNS server now?).
All 'yes or no' questions now use ask_yn(). All questions show the
full default answer, i.e. 'yes' or 'no' rather than 'y' or 'n'.
Some minor logic cleanups of the usual sort, but no changes to logic
flow or questions bar minor verbiage adjustment.
Inspired by a Bob Beck install nit.
|
|
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.
|