summaryrefslogtreecommitdiff
path: root/distrib
AgeCommit message (Collapse)Author
2002-10-02Final packages listPeter Valchev
2002-10-02UpdatePeter Valchev
2002-10-01syncTheo de Raadt
2002-10-01syncTheo de Raadt
2002-09-30a few new spaces -> tabsTheo de Raadt
2002-09-29Keep track of all devices that makedev() creates and recreateKenneth R Westerback
them in the installed system. ok deraadt@. (which I forgot to mention for the last commit).
2002-09-29Modify makedev so that it does not attempt to create network interfaceKenneth R Westerback
devices, to allow ask_which() to be used for interface configuration. Rework network interface configuration logic to use ask_which() instead of local code. This 1) May fix the problem noted by David Norman, where the prompts are somehow broken, since no such problems have been noted with the ask_which() code. 2) Shrinks the install output by a few lines. 3) Makes the install script smaller and clearer. 4) Makes interface configuration consistant with other 'device' configurations. 5) Makes it impossible for a user to configure an interface more than once. Add the interface name to the 'IP address (or dhcp)' question. This makes it more informative, especially if a '!' or '!foo' shell escape has been used and overwritten the list of interfaces and the display of the name of the one being configured.
2002-09-29syncTheo de Raadt
2002-09-28Cleanup/fix/improve question asking.Kenneth R Westerback
1) If the user escapes to a shell with '!' or executes a command with '!foo' at a prompt then repeat the prompt when the shell or command returns. 2) If ask_which() is passed an empty list of devices , then set resp to 'done' and return. Replaces a couple of checks before calling ask_which(). Also emit a message about the lack of devices. 3) In ask_which(), delete any trailing blank which rmel() may have appended to the device list. Replaces a check before calling ask_which(). 4) Remove an unneeded blank line before the 'invalid choice' message from ask_which(). 5) Make the first disk device the default answer when asking for which disk contains install sets. A few code/verbiage nits: 1) make _a a local in cutlast(). 2) use normal ': ${_defdev:=done}' idiom instead of an or condition in ask_which. 3) Eliminate an unnecessary blank line/paragraph by putting 3(!) sentences into a single paragraph when describing process of selecting install sets. 4) Eliminate another unnecessary blank line between the list of possible install sources and the question about which one to use. 5) Eliminate another unnecessary blank line before the 'Extract more sets?' question 6) Eliminate a double blank line after the sanity check error messages. ok deraadt@.
2002-09-27systrace policy files belong to the etc set, not base.Miod Vallat
ok deraadt@ millert@
2002-09-26syncTheo de Raadt
2002-09-26syncTheo de Raadt
2002-09-26syncTheo de Raadt
2002-09-25Try to minimize places where suid programs and devices can liveKenneth R Westerback
by implementing the rules: Only '/' is neither nodev nor nosuid. i.e. it can obviously *always* contain devices or setuid programs. Every other mounted filesystem is nodev. If the user chooses to mount /dev as a separate filesystem, then on the user's head be it. The only directories that install puts suid binaries into (as of 3.2) are: /sbin /usr/bin /usr/sbin /usr/libexec /usr/libexec/auth /usr/X11R6/bin and ports and users can do who knows what to /usr/local and sub directories thereof. So try to ensure that only filesystems that are mounted at or above these directories can contain suid programs. In the case of /usr/libexec, give blanket permission for subdirectories. Note that if *all* the above are split into separate filesystems the install process will attempt a couple of cross-device links when installing base32.tgz, and fail. ok deraadt@.
2002-09-24fix english; krw okTheo de Raadt
2002-09-24syncTheo de Raadt
2002-09-24Rejig addel()/rmel() to keep items on a single line, with blanksKenneth R Westerback
separating items. This allows a compaction of the displayed lines for device selection. Customize the device selection routine so the actual device type is shown (disk or CD-ROM). Rename ask_fordev to ask_which so the invocations (with device type) read better.
2002-09-23remove generated crunch conf; ok deraadt@Markus Friedl
2002-09-23MSCP based local storage now supported. Also reword some stuff.Hugh Graham
2002-09-23Add 4000 700A and the couple tested QBUS/MSCP cards.Hugh Graham
2002-09-23syncTheo de Raadt
2002-09-22Do not allow install to proceed until root filesystem can be mounted onKenneth R Westerback
$ROOTDEV and ${ROOTDISK}b can be used for swap. Also shortens output generated during (successful) install. Fix problem with upgrade on systems with many disk devices by automatically creating devices encountered during the fsck'ing of fstab filesystems. Problem noted by Dethlef Madsen and Nick Nauwelaerts. Adjust some verbiage in i386 install.md to make it more consistant. Reformat welcome message to make sure all lines are <80 characters wide. Minor cleanups.
2002-09-21Further reduce i386 install output by sending to /dev/null the fdiskKenneth R Westerback
output produced when the user opts to have the install script use the entire disk for OpenBSD. ok deraadt@.
2002-09-20Add pflog, vlan and gif to list of interfaces filtered; krw@ OKTodd C. Miller
2002-09-18syncTheo de Raadt
2002-09-18add lofnJason Wright
2002-09-17Fix commit botch that deleted '#' at beginning of '$OpenBSD$' tag line.Kenneth R Westerback
2002-09-17Ruthlessly expunge unnecessary verbiage and whitespace to make sureKenneth R Westerback
the install example will easily fit on the CD insert at some reasonable font size. Reword many messages and questions for same reason. In addition: 1) Add '...done.' to match 'Installing boot block...' 2) During install, after asking which is the root disk, start initializing it immediately rather than asking again which disk to work on. 3) Move munged fstab filesystem mounting to *before* network initialization so that if you bail out during network initialization and restart you do not have to go through disk initialization again. Also puts fsck and mount messages close to each other rather than spitting out the latter just before root password questions. 4) Make 'usr/obj' nosuid,nodev by default, /home nodev by default. 5) For network interfaces only show the complete list of media options if the user indicates they want to change the default. 6) Move the question about the ftp server supporting passive ftp to *after* selecting the ftp server where it is more 'rational' and can easily be made more concise. 7) Don't bother umount'ing filesystems or stopping the dhclient after a successful install/upgrade. The next step is a reboot after all. Some minor code tweaks and comment cleanup while in the area. Tested in recent snapshots. Suggested by & ok deraadt@.
2002-09-14Properly print out rd_root_size when running elfrdsetroot. ok art@Dale Rahn
2002-09-14syncTheo de Raadt
2002-09-13do not stty 9600Theo de Raadt
2002-09-11syncTheo de Raadt
2002-09-10move to 3.2-betaTheo de Raadt
2002-09-10syncTheo de Raadt
2002-09-06syncTheo de Raadt
2002-09-06syncTheo de Raadt
2002-09-05syncTheo de Raadt
2002-09-04Add BCM 5801,5802,5822Jason Wright
2002-09-03syncTheo de Raadt
2002-09-02Make the cgfourteen work in 32bit when possible, also display the size ofMiod Vallat
the VSIMM in the dmesg.
2002-08-31Driver for the Vigra VS10 and VS12 SBus framebuffers, and possibly more fromMiod Vallat
this series. Thanks to Andrey Smagin (andrey at smagin dot com) for providing a VS10 card.
2002-08-31Install /etc/wsconsctl.conf on sparc.Miod Vallat
2002-08-29syncTheo de Raadt
2002-08-29Add a new verb to list2sh.awk, 'REMOVE'. This allows the easyKenneth R Westerback
disabling of '(U)pgrade' in architectures by adding REMOVE upgrade to the end of the 'list' file for that architecture. Add code to dot.profile to check for the presence of the upgrade script before offering to (U)pgrade. Use the new verb to disable upgrades for sparc. ok deraadt@.
2002-08-28syncTheo de Raadt
2002-08-27Missed file in last commit.Kenneth R Westerback
2002-08-27Move general partitioning advice from machine dependant per diskKenneth R Westerback
routine to install.sh so it is displayed only once. Strongly advise /, /tmp, /var, /usr and /home have their own disk partitions as requested by deraadt@. Rather than rely on users not re-selecting an already initialized disk, just allow them to choose from un-initialized disks. Move get_root invocation into install.sub as both install.sh and upgrade.sh did it first thing. Remove the 'workaround' to a 'vnode aliasing bug' that came in with the initial import of upgrade.sh from NetBSD. ok millert@. Rework verbiage in a few places. Clean up logic around looping through disk units by handling root disk better.
2002-08-25Add 'MDXAPERTURE=1' as requested by Matthieu.Kenneth R Westerback
2002-08-25More fixes to mount point handling.Kenneth R Westerback
1) Correctly sort >10 total partitions. 2) Don't allow user to specify duplicate mount points via disklabel. 3) Fix mount point checking so that empty mount points do not confuse logic. 4) Fix mount point checking so that duplicate mount points from previous disk initialization are correctly detected. 5) Show configured partitions/mount points in partition order (i.e. sorted by disk and then partition) rather than mount point order. This seems easier to read to me and reflects the order of user action. Sort the entries after user approval. 6) Clarify, clean up some verbiage and logic.
2002-08-22syncTheo de Raadt