Age | Commit message (Collapse) | Author |
|
only if 'i' is not found; by krw who is not around, looked at by drahn
and otto and miod
|
|
|
|
|
|
|
|
|
|
intermediate snapshot components. uses some knowledge from our internal
build scheme to link together base and X sets.
|
|
for pushing disklabels onto the disk (and besides that, it is buggy and
unreadable crap); thanks for help from krw
|
|
'i' partition.
Keep asking for an MBR until it has both a DOS and an OpenBSD
partition.
Forcibly write a default disklabel, which will have the correct 'i'
defined, before letting the user work on the disklabel.
Use newfs(8) to format the 'i' partition instead of plopping a
pre-formatted 1MB FAT in it.
Remove a bunch of excess verbiage, which will reappear in an updated
INSTALL.macppc.
Feedback from otto@, drahn@ and deraadt@.
|
|
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@
|
|
while statements.
|
|
noticed by drahn
|
|
|
|
|
|
|
|
|
|
|
|
for ksh.
ok millert@
|
|
re-write of install_cd() so remove sleep(1) from install media.
"sure!" deraadt@
|
|
|
|
ok drahn@
|
|
|
|
which begin to enable use of this will follow at a later time.
|
|
|
|
Testing by nick@, 'just put it in' drahn@.
|
|
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.
|
|
typos in macppc.
Cosmetic changes only, no semantic change.
macppc and mvmeppc install.md now identical (again?).
|
|
|
|
|
|
|
|
|
|
aren't stray attempts at vi insertions after all.
Problem spotted by drahn@.
ok drahn@.
|
|
deraadt@ drahn@ ok, miod@ ok a while ago.
A few spelling tweeks, '{}' elimination, syntax error corrections
after ok.
Tested with HFS install and HFS upgrade. More testing, especially of
MBR installs, would be good.
|
|
dhclient-script and disktab files in architectures where this wasn't
already being done.
OK deraadt@.
|
|
|
|
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@
|