summaryrefslogtreecommitdiff
path: root/distrib/sparc
AgeCommit message (Collapse)Author
2009-02-15Build install media with disktab.shadow already in /tmp, ratherKenneth R Westerback
than have the install script copy it there. Shrinks install script, removes an extra copy of disktab. ok deraadt@
2008-08-25use ?= for adjusting RELXDIR for all setsTheo de Raadt
2008-07-02add bio & bioctlTodd T. Fries
ok deraadt@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
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@
2008-03-22No point in checking disklabel output for 'disk label corrupted' messageKenneth R Westerback
since it isn't emitted anymore. ok deraadt@
2008-03-06Change ramdisk filesystem size from 4352 to 4000 blocks, so thatTheo de Raadt
bsd.rd does not overlap the boot code... this problem is starting to feel familiar.. tested by myself and claudio
2008-03-04Redo serial console configuration logic. Smaller, easier toKenneth R Westerback
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@
2007-10-18enter iso dir for clean/cleandir, too, to delete dribblesTheo de Raadt
2007-08-14make obj dirs in iso; talked with miod about itTheo de Raadt
2007-08-10add missing xserv, and use ${MACHINE} throughout (still needs testing)Theo de Raadt
2007-08-10use more variables, because variables are goodTheo de Raadt
2007-08-10a somewhat crude way to generate installXX.iso files based onTheo de Raadt
intermediate snapshot components. uses some knowledge from our internal build scheme to link together base and X sets.
2007-06-17Stop using disklabel -r. The disklabel code does not know all the semanticsTheo de Raadt
for pushing disklabels onto the disk (and besides that, it is buggy and unreadable crap); thanks for help from krw
2007-04-09Add -n to gzip flags. Save a few bytes since we no longer saveTodd C. Miller
the uncompressed filename in the gzip header.
2007-03-07Decrease inode pressure on the miniroot by doing MAKEDEV ramdisk instead ofMiod Vallat
MAKEDEV all, since the scripts can create the needed nodes later; found the hard way by hshoexer@ ok deraadt@
2007-02-16s/GZIP/GZIPCMD/g in `make release` structure to avoid conflict with gzip'sMarc Aurele La France
use of a GZIP environment variable for extra command flags. ok deraadt@, millert@
2005-04-03More shrinkage with a bit of code factoring.Kenneth R Westerback
2005-03-27Use new skeleton kbd(8) '-l' to generalize kbd(8) use. EliminateKenneth R Westerback
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@
2005-03-11never worry about the copyright date on the CD layout again, problemTheo de Raadt
noticed by drahn
2005-01-11put a seperate and real fsck on the mediaTheo de Raadt
2004-08-11pad the iso image; we do not know why this is needed at this time butTheo de Raadt
maybe someone will figure out why. Put a big fat comment there about it. diagnosed by miod and nick; this workaround tested by nick.
2004-05-05skip including cksumTheo de Raadt
2004-03-11change copyrights on iso images, spotted by miodTheo de Raadt
2003-10-12Cleanup and shrinkage:Kenneth R Westerback
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.
2003-10-01Do not include mount_nfs on sparc bsd.rd and floppies, as they are missingMiod Vallat
NFS support ; however, miniroot has proper NFS support. ok deraadt@ some time ago
2003-09-21Fix extraneous display of grep output when searching disklabel output forKenneth R Westerback
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.
2003-09-19Excise more unused code.Kenneth R Westerback
md_installboot() is only called from one place, with $ROOTDEV as the parameter. $ROOTDEV is guaranteed to be set to a valid device so don't bother testing it. And if the user deliberately unsets ROOTDEV the installboot will fail trying to use /dev/rc.
2003-09-04include restore(8) on ramdiskHenning Brauer
ok deraadt@
2003-08-12do not hardcore 3.3 releaseTheo de Raadt
2003-03-05cd${REV}.iso for sparc tooTheo de Raadt
2003-02-17dhclient-script fits; from krwTheo de Raadt
2003-02-15Now that we are 3.3-beta re-enable upgrade on sparc. ok deraadt@.Kenneth R Westerback
Remove another dated comment about 3.1 to 3.2 upgrade.
2003-02-15Remove dated comment about 3.1 to 3.2 upgrade.Kenneth R Westerback
2003-01-30remove bogus commentTheo de Raadt
2003-01-03Save a few more bytes on install media by stripping comments fromKenneth R Westerback
dhclient-script and disktab files in architectures where this wasn't already being done. OK deraadt@.
2002-11-07Treat 'bsd' like just another filename in THESETS, no more 'kernel'Kenneth R Westerback
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.
2002-09-24fix english; krw okTheo 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-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-05-22Fix quoting botch in earlier commit. Make sure MDDISKDEVS andKenneth R Westerback
MDCDDEVS actually work with non-empty values as well as the supplied default this time. Problem first detected by jsyn@.
2002-05-20Eliminate md_questions(). It was used only to control the setting ofKenneth R Westerback
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.
2002-05-18Eliminate md_get_diskdevs() and md_get_cddevs() byKenneth R Westerback
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.
2002-05-14Eliminate md_native_fstype() and md_native_fsopts(). Both functionsKenneth R Westerback
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@
2002-05-09Elminate md_welcome_banner() and md_not_going_to_install() as theKenneth R Westerback
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@
2002-05-08Abstract out common md_set_term() code into set_term() in install.sub,Kenneth R Westerback
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@
2002-05-07All architectures now use miniroot, so eliminate last few getresp()Kenneth R Westerback
calls in favour of ask(). Fix the erroneous advice I gave to Hugh in vax getresp() -> ask(). ok deraadt@
2002-05-01when filtering termcap selecet vt220, not vt200, since that's what we gonna ↵Michael Shalayeff
use later, plus a few rcsid vicinity cleanups; millert@ ok
2002-04-30first pass of instbin removal movementTheo de Raadt
2002-04-30tset bye byeTheo de Raadt
2002-04-30use SCRIPT commandTheo de Raadt