summaryrefslogtreecommitdiffstats
path: root/release/picobsd/build
Commit message (Collapse)AuthorAgeFilesLines
...
* NODOCCOMPRESS -> NO_DOCCOMPRESSru2004-12-211-3/+3
| | | | | | | | NOINFO -> NO_INFO NOINFOCOMPRESS -> NO_INFOCOMPRESS NOLINT -> NO_LINT NOPIC -> NO_PIC NOPROFILE -> NO_PROFILE
* NOLIBC_R -> NO_LIBC_Rru2004-12-211-1/+1
| | | | | NOLIBPTHREAD -> NO_LIBPTHREAD NOLIBTHR -> NO_LIBTHR
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* Fix various issues with the picobsd build script in -current:luigi2004-03-211-16/+28
| | | | | | | | | | | + declare some shell variables as 'local' + add a missing ';;' in a 'case' statement + centralize newfs options + properly override GID and UID when installing include files and libraries + add a missing '-r' in disklabel commands (maybe not necessary, but it does not harm and it was used in the RELENG_4 version) + no more require 'perl' when installing the secondary loader + use '-t rsa1' when invoking ssh-keygen
* Remove obsolete disklabel and newfs options.simokawa2003-11-071-8/+10
|
* Not needed anymore.luigi2002-07-141-114/+0
|
* Replace a logverbose call with logluigi2002-07-141-1/+1
|
* Enable building of picobsd using CURRENT sources again.luigi2002-07-141-27/+43
| | | | | | | | | | | | | | | | | Following a suggestion by Ruslan, the initial creation of the includes and libraries (and build tools) is now done by invoking "make buildworld" (with -DPICOBSD which eventually will limit the amount of stuff built with a 2-line change in Makefile.inc1). The correct environment is then used for subsequent builds. Also remove write_mfs_in_kernel.c in favour of using dd All the above is conditional on __FreeBSD_version, as the previous method still worked for versions earlier than 500035, and I am unsure on how the "new" method works for earlier versions. Finally, note that the crunch.conf files need some work because some libraries (e.g. gmd) have gone away from the base installation.
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-211-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filesystem expands the inode to 256 bytes to make space for 64-bit block pointers. It also adds a file-creation time field, an ability to use jumbo blocks per inode to allow extent like pointer density, and space for extended attributes (up to twice the filesystem block size worth of attributes, e.g., on a 16K filesystem, there is space for 32K of attributes). UFS2 fully supports and runs existing UFS1 filesystems. New filesystems built using newfs can be built in either UFS1 or UFS2 format using the -O option. In this commit UFS1 is the default format, so if you want to build UFS2 format filesystems, you must specify -O 2. This default will be changed to UFS2 when UFS2 proves itself to be stable. In this commit the boot code for reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c) as there is insufficient space in the boot block. Once the size of the boot block is increased, this code can be defined. Things to note: the definition of SBSIZE has changed to SBLOCKSIZE. The header file <ufs/ufs/dinode.h> must be included before <ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and ufs_lbn_t. Still TODO: Verify that the first level bootstraps work for all the architectures. Convert the utility ffsinfo to understand UFS2 and test growfs. Add support for the extended attribute storage. Update soft updates to ensure integrity of extended attribute storage. Switch the current extended attribute interfaces to use the extended attribute storage. Add the extent like functionality (framework is there, but is currently never used). Sponsored by: DARPA & NAI Labs. Reviewed by: Poul-Henning Kamp <phk@freebsd.org>
* Modernize my email address.phk2002-03-251-1/+1
|
* DESTDIR does not anymore does the -I${DESTDIR}/usr/include magicru2002-03-221-4/+4
| | | | | | in <bsd.prog.mk> and <bsd.lib.mk>. Reviewed by: luigi
* Gracefully exit when no MFS signature is found in the kernel.luigi2002-03-211-1/+14
| | | | Add support for a new "import_files" option (see manpage for details).
* Fix detection of existing ssh host key, generate the new oneluigi2002-03-111-10/+14
| | | | | | | in floppy.tree instead of mfs_tree. Do not cleanup ${BUILDDIR}/floppy.tree, it might be useful to look at it after an image has been built.
* Make appropriate changes to use devfs.luigi2002-03-111-4/+6
| | | | Add a reference to the fd_size variable to set floppy size.
* Misc fixes to the build script:luigi2002-03-081-19/+31
| | | | | | | | | | | | + fix some dialog entries to correctly modify variables instead of working in a subshell + add a logverbose function for debugging purposes + force 512/4096 blocks on filesystems + use 'auto' for disklabel so it works irrespective of the floppy size. This is useful for larger images than 1720k
* Use { } instead of ( ) for grouping shell commands so thatluigi2002-02-141-8/+8
| | | | | | variable assignments are retained ( () creates a subshell) Reported-by: Michael Bretterklieber <mbretter@inode.at>
* Whoops... left some junk in previous commit.luigi2001-11-241-4/+0
|
* Let "make" use the .mk files from the correct source tree insteadluigi2001-11-241-6/+24
| | | | | | | | of the default ones (which could be incorrect when doing cross builds). Also, try to be backward compatible when compiling wmk (the goal being able to use the most recent "picobsd" script on a wide range of source trees).
* Use a local write_mfs_in_kernel.c instead of the one in ncvs/src/releasejoe2001-11-201-1/+1
| | | | | which is likely to be removed shortly, after repo-copying it from there.
* Provide a new picobsd option, "--modules", to also build modulesluigi2001-11-012-2/+19
| | | | | (modload and friends are sufficiently small to consider their inclusion in PicoBSD images).
* Use host keys from the config directory if they exist, instead ofluigi2001-10-071-2/+6
| | | | | | regenerating them. Make the script handle relative paths for the source directory.
* Fix a typo and sync a comment with the version in RELENG_4luigi2001-10-071-2/+2
|
* Use @__CWD__@ as the magic string meaning "this directory"luigi2001-10-041-1/+1
| | | | | | in crunch.conf -- the previous choice, CWD, was too subject to false matches (this string will be replaced by the absolute pathname during the build process).
* A somewhat large change of this script.luigi2001-10-021-349/+431
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the user's perspective: * everything is now built outside the source tree (more precisely, in `pwd`/builddir-${name}/ ) except for the kernel config file(s) which still need to be copied into src/sys/i386/conf because of "config" limitations. I am not sure if there is an easy way to get away from this without changing "config" or replicating some part of the source tree. This is really the only change that most users should worry about, but it is a good one. * if you do cross-compiles (using "picobsd --src somedir/src [--init] ... ") then the libraries and include directories etc. are searched/created in "somedir/usr" ; * you can do most things (basically build the kernel and the crunched binary and the filesystem trees) without root privileges. You need privileges to use mdconfig/vnconfig to create the actual MFS and floppy image, unfortunately. * the -v option now prints some diagnostic but does not stop for user input at each step. You need to specify -v -v to have the old behaviour. Internally, the script has been reshuffled quite a bit to support the above features. Many shell variables have been renamed or made local in an effort to avoid undesired side effects. There is a somewhat better error handling in case something goes wrong.
* Compile the kernel under ${BUILDDIR} instead of polluting the sourceluigi2001-10-021-3/+13
| | | | | | tree. Unfortunately the latter cannot be completely readonly, because "config" still depends on the kernel config file being in sys/${ARCH}/conf (it seems to derive other pathnames from that one).
* Move a bunch of initialization into a function which must be runluigi2001-09-281-53/+75
| | | | | | | | | | before parsing the command line. Move code to build include and libraries in a separate function, so we can use the verbose flag for that. Chang ownership of some directories so more of the build process (namely, builds of include and libs) can be run without root permission (we still depend on root permission to mount a memory filesystem).
* On -current with devfs there is no MAKEDEV in /dev anymore, so usejoe2001-09-201-1/+3
| | | | | | | it from ${SRC}/etc/MAKEDEV instead. We may want to do this on -stable as well, but for now -stable still uses /dev/MAKEDEV.
* Relocate the memory disk selection code to the same place the otherjoe2001-09-201-9/+9
| | | | variables are set.
* Make the script aware of mdconfig, so it can hopefully run on -CURRENTluigi2001-09-201-35/+53
| | | | | | | | | as well. This works by selecting "md" or "vn" depending on "uname -r" output, so we can use the same script on -CURRENT and -STABLE. Also included minor bugfixes and code cleanup. Testers welcome, as this code has only been tested on -STABLE (and for this reason I am doing an immediate MFC).
* Move commands to create stripped kernel into Makefile.conf,luigi2001-09-042-39/+49
| | | | | | | | | | | so as to make the "picobsd" script less version-specific. Improve handling of cross-builds (which requires creation of includes and libraries for the new source tree). The "picobsd" script will not probably work on -current because it still uses 'vn' instead of 'md', but i am commiting it anyways to keep it in sync with the version in -stable.
* use correct "compile" directory, which is ../../compile/<filename>luigi2001-09-011-1/+1
| | | | | This does not apply to RELENG_4 for which the compile directory is ../compile/<filename>
* Supply a default value for the kernel config binary.luigi2001-09-011-0/+1
|
* Bugfix: Use the correct variable for picobsd type (same bug isluigi2001-09-011-5/+6
| | | | present in STABLE). Also add a bit more logging (when enabled).
* add a missing -o.luigi2001-08-301-1/+1
| | | | | There might be some other bug related to OBJDIR handling, once fixed these changes can be MFC immediately.
* Move handling of crunch* files into Makefile.conf, which is aluigi2001-06-212-29/+58
| | | | | | | | | | | | | | | | | better place to handle dependencies. Make another step at helping cross-compiling: when the user specifies an alternate source tree, the script takes care of creating include files and libraries for the new tree. Furthermore, build and use a version of the "config" program which matches the new sources. It takes a long time to create libraries, and it might even not do the right thing at once, there might be some dependencies that i have forgotten. At any rate, with this code i have been able to build a working picobsd image using -CURRENT sources on -STABLE MFC after: 3 days
* Move variable assignement after argument parsing, to improve handlingluigi2001-06-201-8/+33
| | | | | | of alternate source trees. Also improve verbose behaviour.
* Sync picobsd script with the one in -stable, and alsoluigi2001-05-111-2/+4
| | | | | | patch boot2 so it goes to load /kernel right away Perl code from Josef Karthauser
* remove a reference to a nonexisting script, "clean", whenluigi2001-05-081-2/+1
| | | | | | building all images. Also, build "bridge" image as well. Reported-by: Bruce Montague
* MF4S: Sync with the developments that Luigi's been doing in -stable.joe2001-04-237-1070/+8
|
* MF4S: Remove some unused error messages. (revision 1.1.2.5)joe2001-04-231-13/+1
|
* MFS4: Do not terminate if it fails to clean something. (rev 1.12.2.5)joe2001-04-221-1/+1
|
* Bring the new script into -current. Still untested here, but thereluigi2001-02-202-0/+725
| | | | is a high chance that they work modulo minor things.
* Make correct entries for atapi disksluigi2001-02-181-1/+1
|
* Put picobsd build scripts in sync with the ones in -STABLE.luigi2001-01-293-75/+80
| | | | | | | | | | | With these scripts i was able to build a _working_ image of a bridge-like floppy image with a reasonable set of utilities in it, despite the code size increase we have in 5.0 The scripts are slightly different from the previous ones especially on the place where the kernel and binaries are built. Hopefully this will not cause too much trouble to people (is there any???) using the old scripts.
* MF4: Allow the build process to continue even if crunchgen returns an error.joe2001-01-111-1/+1
| | | | Most crunchgen errors are non-fatal.
* Remove floppy.tree from the build directory.joe2000-12-231-2/+3
|
* Determine the names of the picobsd releases automatically.joe2000-12-232-18/+18
| | | | | Use the 'realclean' target in the crunch.mk file for cleaning the object build tree.
* Utilise the -p file to crunchgen to specify where the objects shouldjoe2000-12-181-4/+3
| | | | be built and remove the previous glue that did the same thing.
* Fixup the /tmp directory permissions to 01777.joe2000-11-071-1/+1
| | | | PR: misc/15875
* Load the kernel and root file systems from floppy:/.joe2000-11-071-2/+2
|
OpenPOWER on IntegriCloud