summaryrefslogtreecommitdiffstats
path: root/release/scripts/doFS.sh
Commit message (Collapse)AuthorAgeFilesLines
* Add the necessary tweaks for FreeBSD/ia64 releases. Note that this ismarcel2002-11-041-3/+12
| | | | | | in no way final. A typical ia64 wart is that there are no boot blocks. Instead, we need to create disks with EFI partitions if we want auto boot to work. All this functionality is not present yet.
* boot2 does not exist on some platforms.ru2002-04-301-4/+8
|
* Milestone #1 in cross-arch make releases.ru2002-04-261-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not install games and profiled libraries to the ${CHROOTDIR} with the initial installworld. Eliminate the need in the second installworld. For that, make sure _everything_ is built in the "world" environment, using the right tool chain. Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1. Split the buildworld process into stages, and skip some stages when SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5 dists). Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running makewhatis(1) at the end of installworld (used when making crypto, krb4, and krb5 dists). In release/scripts/doFS.sh, ensure that the correct boot blocks are used. Moved the creation of the "crypto" dist from release.5 to release.2. In release.3 and doMFSKERN, build kernels in the "world" environment. KERNELS now means "additional" kernels, GENERIC is always built. Ensure we build crunched binaries in the "world" environment. Obfuscate release/Makefile some more (WMAKEENV) to achieve this. Inline createBOOTMFS target. Use already built GENERIC kernel modules to augment mfsfd's /stand/modules. GC doMODULES as such. Assorted fixes: Get rid of the "afterdistribute" target by moving the single use of it from sys/Makefile to etc/Makefile's "distribute". Makefile.inc1: apparently "etc" no longer needs to be last for "distribute" to succeed. gnu/usr.bin/perl/library/Makefile.inc: do not override the "install" and "distribute" targets, do it the "canonical" way. release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and catpages appear in the right dists. Note that because Perl does not respect the MANBUILDCAT (and NOMAN), this results in a loss of /usr/share/perl/man/cat* empty directories. This will be fixed soon. Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it means "make KerberosIV"), as documented in the make.conf(5) manpage. Most of the userland makefiles did not test it for "YES" anyway. XXX Should specialized kerberized libpam versions be included into the krb4 and krb5 dists? (libpam.a would be incorrect anyway if both krb4 and krb5 dists were choosen.) Make sure "games" dist is made before "catpages", otherwise games catpages settle in the wrong dist. Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>
* Don't print out 0xaa55 at the end of a vnconfig disk and use thejhb2002-01-161-4/+1
| | | | "canonical" disk name when calling disklabel so that disklabel auto works.
* - Remove the -T from the 4.x newfs as well.jhb2001-11-201-5/+2
| | | | | | | | - Don't write out 0xaa55 to the end of the filesystem as md(4) doesn't generate that warning and it breaks 'disklabel mdX auto'. - Use the 'canonical' disk name mdX instead of /dev/mdX to disklabel so we can use disklabel auto for mfsroot filesizes that aren't a standard size in /etc/disktab.
* The -T argument to newfs is only needed if teh disk isn't already labeled.jhb2001-11-201-1/+1
| | | | Since we run disklabel before newfs, this doesn't apply in this case.
* Use the md device not olny a version of the system is 5 but 5 and over.nyan2001-11-161-3/+3
| | | | | Requested by: matusita MFC after: 1 day
* Use the vn driver on a stable system.nyan2001-11-151-3/+70
|
* Add FreeBSD IDs to some files and make the others consistent in style.obrien2001-04-081-0/+1
|
* Everyone that has commented seems to agree `-m 0' will cause no problems.obrien2001-03-101-1/+1
|
* Remove tunefs'ing that was OBE by rev 1.30.obrien2001-03-091-1/+0
| | | | Submitted by: bde
* newfs with `-m 1'obrien2001-03-091-1/+1
| | | | | | | | | | | | | | | This is needed even with `-o space' as the kernel decides to be "helpful" and not really do space optimization. Looking at src/sys/ufs/ffs/ffs_alloc.c we see why: if (fs->fs_minfree <= 5 || fs->fs_cstotal.cs_nffree > (off_t)fs->fs_dsize * fs->fs_minfree / (2 * 100)) break; log(LOG_NOTICE, "%s: optimization changed from SPACE to TIME\n" I have picked `1' vs. `0' just incase some code somewhere has the assumption the %free can never be `0'. Helped with understanding why -m 1 made a different: imp
* Use mdconfig/md instead of vn.phk2001-01-311-23/+24
|
* Using `r'aw device name is out of vogue now.obrien2000-11-271-8/+6
|
* MFS: comment character and readability fixes.jkh2000-11-051-2/+2
|
* Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp.hosokawa2000-10-311-0/+1
| | | | | | http://people.freebsd.org/~hosokawa/driver-floppy/ for details. Reviewed by: current@FreeBSD.org
* We don't do blockdevices any more.phk2000-07-081-2/+2
| | | | XXX: should use /dev/MAKEDEV
* don't mknod stuff without making sure it's not there first.jkh1999-12-161-0/+1
|
* Make it possible to make release on archaic kernels.phk1999-11-271-4/+8
|
* 1. Adjust fs sizes to get floppies back under control.jkh1999-01-261-1/+1
| | | | | 2. Viciously slash all CD support out of boot.flp. It's basically just a net boot floppy now.
* Replace /mnt with ${MNT}msmith1999-01-121-2/+2
| | | | | PR: misc/7965 Submitted by: Junji SAKAI sakai@jp.freebsd.org
* Hammer on the boot floppy generation bits some more. This is lookingjkh1999-01-051-14/+14
| | | | a little better.
* Update this to deal with new boot block placement.jkh1999-01-021-10/+1
| | | | Reported by: "John W. DeBoskey" <jwd@unx.sas.com>
* Put mfsroot.gz on yet another filesystem so that the boot blocksjkh1998-12-061-1/+5
| | | | | can really read it. Hmm. I have no idea *how* this worked in our earlier tests on the x86. :)
* Updates for Alpha.jkh1998-10-131-4/+4
|
* Whoops, correct brain-o.jkh1998-10-031-1/+1
|
* Add a tweak for the alpha.jkh1998-10-031-4/+8
|
* Make the vn device that is being used to build the floppies configurable.jhay1998-03-221-1/+3
| | | | | | You can now do something like "make release VNDEVICE=vn1". This makes it possible to do something else with vn0, for instance building another release.
* 1. Sync ABOUT.TXT changes.jkh1997-02-051-2/+1
| | | | | 2. Go back to using a filesystem on the boot floppy; the rawboot boot blocks were just too non-functional for other things.
* Simplify the disklabel trickery, and thus avoid the dreadedjoerg1996-12-011-2/+2
| | | | | | ``Operation not supported by device''. Requested by: jkh
* Try to impreve DD mode.phk1996-11-271-1/+3
| | | | Try to make 4Mb floppies work again.
* Purely cosmetic cleanup.jkh1996-11-091-32/+0
|
* Installation cleanup, round II.jkh1996-10-011-18/+6
|
* Some release changes I've had to make in dealing with the floppy spacejkh1996-07-091-28/+33
| | | | crisis.
* Make the reduction algorithm to tune the file system size lessjoerg1996-01-211-6/+18
| | | | | | | | | | | | | aggressive, in order to avoid /mnt: file system full problems. Introduce a deadlock counter. Turn off echoing again, it's cluttering the screen/log. Gross hack to avoid the `vn0: invalid primary partition table: no magic' warning. Seems that doFS.sh is now doing the job...
* Remove phk's errr... interesting idea of slicing a floppy into 10joerg1996-01-211-1/+1
| | | | cylinder groups. :)
* I belive this works now.phk1996-01-141-17/+15
|
* Shrink BOOTMFS kernel further. Make doFS.sh more intelligent.phk1996-01-131-3/+17
| | | | boot4.flp should work fine as far as I can tell.
* Don't make the fs-image in /dev :-)phk1996-01-101-1/+1
|
* Moved doFS into shell-script so we can be more smart about it.phk1996-01-081-0/+82
make two boot floppies, one without help files for 4MB systems. Mine's loading one now. :-) -O2 may be needed.
OpenPOWER on IntegriCloud