History log of /freebsd-10-stable/release/picobsd/build/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
277639 24-Jan-2015 luigi

use the same version as in HEAD
(among other things, the -v flag to make is long since unsupported)

262761 05-Mar-2014 gjb

MFC r262499, r262505, r262507, r262509:

r262499:
release.sh:
- Add a VCSCMD variable that defaults to 'svn checkout',
and update places 'svn co' is used directly.
- After sourcing a configuration file, prefix SRCBRANCH,
PORTBRANCH, and DOCBRANCH with the SVNROOT.
- Properly capitalize 'FreeBSD.org' in the default SVNROOT.
- Update Copyright.

release.conf.sample:
- Add an example to use git instead of svn, by nullifying
SVNROOT, and setting SRCBRANCH, DOCBRANCH, and PORTBRANCH
to the URL fo a git repository.

release.7:
- Document VCSCMD.

r262505:
In release/Makefile, remove exclusion of CVS directories in the
src/ and ports/ distributions.

While I am thinking about it, exclude .git directories for src/
and ports/, as somewhat of a followup to r262499.

r262507:
Chase r262505, and remove CVS exclusion from picobsd builds.

r262509:
Rework how WORLD_FLAGS and KERNEL_FLAGS are set, to remove an
unnecessary expr(1) call.

Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


255315 06-Sep-2013 luigi

comment out some stale loader configurations.


255314 06-Sep-2013 luigi

generate multiple host keys and do that unconditionally


255313 06-Sep-2013 luigi

r253616 nuked BINMAKE so we need to adapt to the new definition


250289 05-May-2013 luigi

use a plain 'make toolchain' to build toolchain, and
support parallel make on this stage.


250285 05-May-2013 luigi

remove a leftover comment


244642 23-Dec-2012 luigi

enable building picobsd with CC instead of CLANG


239738 27-Aug-2012 luigi

use MALLOC_PRODUCTION for picobsd builds, be more frugal in memory usage.


234983 03-May-2012 luigi

Omit clang when building picobsd, it takes way too long.
Also note that loader.conf support is incomplete.


229532 04-Jan-2012 luigi

now picobsd cross builds work (tried with host amd64, target i386 ).
The fix involved adding a proper build of ld-elf.so.1 ,
and also replacing ldd with objdump (suggested by Garrett Cooper)
to build the list of shared libraries needed by the binaries
and libraries on the target.


229511 04-Jan-2012 luigi

remove some stale options (such as running without /boot/loader)

improve support for multi-arch and cross-arch builds, by adding
a suffix to the kernel config file and build_directory.
(cross builds not clean yet, a cross-built kernel boots
but fails when starting /sbin/init)


227878 23-Nov-2011 luigi

some tweaks to build picobsd for different architectures.


218359 05-Feb-2011 luigi

following the recent (218130) changes to Makefile and Makefile.inc1,
we need to set TARGET and TARGET_ARCH to get a correct WMAKEENV.
I am setting both to i386 since this is what picobsd is used for,
though there might be a better fix.

Add initial support for parallel make. This is disabled right now,
because there are incorrect dependencies somewhere which require
to run picobsd 2-3 times to complete a build.

MFC after: 2 weeks


215177 12-Nov-2010 luigi

move the initialization of BINMAKE earler, so it is
available throughout the entire build process.

Submitted by: Matteo Landi
MFC after: 3 days


213252 28-Sep-2010 luigi

use make from the toolchain, as the source tree may depend on
specific features (e.g. on recent HEAD, rtld fails with older 'make')

MFC after: 3 days


203877 14-Feb-2010 luigi

use log instead of logverbose in three places so the build won't need
input to run to completion

MFC after: 3 days


201073 28-Dec-2009 luigi

clear leftover from previous computations


201072 28-Dec-2009 luigi

more support to import files and libraries from the host.


201061 27-Dec-2009 luigi

dhclient needs to have /var/empty and a _dhcp user
(it also needs /sbin/dhclient-script, will handle that later)


201059 27-Dec-2009 luigi

fix a typo (not that it matters)


200301 09-Dec-2009 luigi

when calling ldd, use the cross libraries and not the host version

MFC after: 3 days


194635 22-Jun-2009 luigi

fix wrong name for the iso!


194631 22-Jun-2009 luigi

Add code to generate a bootable ISO image, so we are finally
free from the 2.88MB that we had using El Torito emulation.

The --iso option was already there, just didn't do anything before.

Submitted by: Marta Carbone
MFC after: 3 days


190411 25-Mar-2009 luigi

add support for shared "crunch" binary.


190383 24-Mar-2009 luigi

add a function to help copying shared binaries from the output
of a buildworld.


190378 24-Mar-2009 luigi

remove unused "package" entry.
default to use devfs (we do that anyways)

Many small changes in comments


189978 18-Mar-2009 luigi

add the option to picobsd to copy files from the host filesystem
without root privs. This is done, among other things, replacing
the absolute paths in the symlinks with relative paths, so we
do not need to do a chroot to follow them.

Still need to update the manpage.

MFC after: 3 days


188851 20-Feb-2009 luigi

when initializing, also build _includes and _libraries

On passing, fix a wrong comment

MFC after: 3 days


188835 20-Feb-2009 luigi

use /boot/loader by default, because the boot code seems to
have problems with kernels larger than 4MB.
Add a flag to avoid the /boot/loader and use the old method.

Add support for an additional makefile to perform custom manipulation
(this is not documented yet).

Add support for building an ISO image (not complete)


180012 25-Jun-2008 ru

Enable GCC stack protection (aka Propolice) for userland:
- It is opt-out for now so as to give it maximum testing, but it may be
turned opt-in for stable branches depending on the consensus. You
can turn it off with WITHOUT_SSP.
- WITHOUT_SSP was previously used to disable the build of GNU libssp.
It is harmless to steal the knob as SSP symbols have been provided
by libc for a long time, GNU libssp should not have been much used.
- SSP is disabled in a few corners such as system bootstrap programs
(sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves.
- It should be safe to use -fstack-protector-all to build world, however
libc will be automatically downgraded to -fstack-protector because it
breaks rtld otherwise.
- This option is unavailable on ia64.

Enable GCC stack protection (aka Propolice) for kernel:
- It is opt-out for now so as to give it maximum testing.
- Do not compile your kernel with -fstack-protector-all, it won't work.

Submitted by: Jeremie Le Hen <jeremie@le-hen.org>


173602 14-Nov-2007 luigi

Fix build of the "package" target, ignoring non existing
floppy types (in fact, we have only one left!)
Also cleanup some code, using || and && in some places, and
using "export VAR=value" instead of two separate lines.


173597 14-Nov-2007 luigi

Fix picobsd builds. Changes include:
- use proper make configuration for the build, using
${BINMAKE} as evaluated by ${VERSION}/src/Makefile
- remove -lmytinfo from crunch.conf
- remove support for login_access in tinyware/login
- remove "machine i386" from the kernel config file

It might actually be interesting to extend the script to do
a cross build for !i386 ...

MFC after: 3 days


158687 17-May-2006 phk

Send the pcvt(4) driver off to retirement.


155136 31-Jan-2006 luigi

unbreak the build script.
Instead of using vnconfig/mdconfig it relies on the makefs
port to build the image (UFS1) without need for root permissions.


139122 21-Dec-2004 ru

NOCLEAN -> NO_CLEAN
NOCLEANDIR -> NO_CLEANDIR


139120 21-Dec-2004 ru

NOSHARE -> NO_SHARE


139119 21-Dec-2004 ru

NOHTML -> NO_HTML


139114 21-Dec-2004 ru

NOGAMES -> NO_GAMES


139111 21-Dec-2004 ru

NOFSCHG -> NO_FSCHG


139106 21-Dec-2004 ru

NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE


139104 21-Dec-2004 ru

NOLIBC_R -> NO_LIBC_R
NOLIBPTHREAD -> NO_LIBPTHREAD
NOLIBTHR -> NO_LIBTHR


139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


127266 21-Mar-2004 luigi

Fix various issues with the picobsd build script in -current:

+ 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


122229 07-Nov-2003 simokawa

Remove obsolete disklabel and newfs options.


99953 14-Jul-2002 luigi

Not needed anymore.


99951 14-Jul-2002 luigi

Replace a logverbose call with log


99946 14-Jul-2002 luigi

Enable building of picobsd using CURRENT sources again.

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.


98542 21-Jun-2002 mckusick

This commit adds basic support for the UFS2 filesystem. The UFS2
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>


93149 25-Mar-2002 phk

Modernize my email address.


92964 22-Mar-2002 ru

DESTDIR does not anymore does the -I${DESTDIR}/usr/include magic
in <bsd.prog.mk> and <bsd.lib.mk>.

Reviewed by: luigi


92853 21-Mar-2002 luigi

Gracefully exit when no MFS signature is found in the kernel.

Add support for a new "import_files" option (see manpage for details).


92063 11-Mar-2002 luigi

Fix detection of existing ssh host key, generate the new one
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.


92062 11-Mar-2002 luigi

Make appropriate changes to use devfs.
Add a reference to the fd_size variable to set floppy size.


91846 08-Mar-2002 luigi

Misc fixes to the build script:

+ 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


90659 14-Feb-2002 luigi

Use { } instead of ( ) for grouping shell commands so that
variable assignments are retained ( () creates a subshell)

Reported-by: Michael Bretterklieber <mbretter@inode.at>


86877 24-Nov-2001 luigi

Whoops... left some junk in previous commit.


86876 24-Nov-2001 luigi

Let "make" use the .mk files from the correct source tree instead
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).


86634 20-Nov-2001 joe

Use a local write_mfs_in_kernel.c instead of the one in ncvs/src/release
which is likely to be removed shortly, after repo-copying it from
there.


85833 01-Nov-2001 luigi

Provide a new picobsd option, "--modules", to also build modules
(modload and friends are sufficiently small to consider their inclusion
in PicoBSD images).


84627 07-Oct-2001 luigi

Use host keys from the config directory if they exist, instead of
regenerating them.

Make the script handle relative paths for the source directory.


84603 07-Oct-2001 luigi

Fix a typo and sync a comment with the version in RELENG_4


84429 04-Oct-2001 luigi

Use @__CWD__@ as the magic string meaning "this directory"
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).


84377 02-Oct-2001 luigi

A somewhat large change of this script.

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.


84376 02-Oct-2001 luigi

Compile the kernel under ${BUILDDIR} instead of polluting the source
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).


84093 28-Sep-2001 luigi

Move a bunch of initialization into a function which must be run
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).


83724 20-Sep-2001 joe

On -current with devfs there is no MAKEDEV in /dev anymore, so use
it from ${SRC}/etc/MAKEDEV instead.

We may want to do this on -stable as well, but for now -stable still
uses /dev/MAKEDEV.


83723 20-Sep-2001 joe

Relocate the memory disk selection code to the same place the other
variables are set.


83692 20-Sep-2001 luigi

Make the script aware of mdconfig, so it can hopefully run on -CURRENT
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).


82917 04-Sep-2001 luigi

Move commands to create stripped kernel into Makefile.conf,
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.


82759 01-Sep-2001 luigi

use correct "compile" directory, which is ../../compile/<filename>
This does not apply to RELENG_4 for which the compile directory is
../compile/<filename>


82750 01-Sep-2001 luigi

Supply a default value for the kernel config binary.


82747 01-Sep-2001 luigi

Bugfix: Use the correct variable for picobsd type (same bug is
present in STABLE). Also add a bit more logging (when enabled).


82598 30-Aug-2001 luigi

add a missing -o.
There might be some other bug related to OBJDIR handling, once
fixed these changes can be MFC immediately.


78541 21-Jun-2001 luigi

Move handling of crunch* files into Makefile.conf, which is a
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


78494 20-Jun-2001 luigi

Move variable assignement after argument parsing, to improve handling
of alternate source trees.

Also improve verbose behaviour.


76459 11-May-2001 luigi

Sync picobsd script with the one in -stable, and also
patch boot2 so it goes to load /kernel right away

Perl code from Josef Karthauser


76380 08-May-2001 luigi

remove a reference to a nonexisting script, "clean", when
building all images. Also, build "bridge" image as well.

Reported-by: Bruce Montague


75881 23-Apr-2001 joe

MF4S: Sync with the developments that Luigi's been doing in -stable.


75880 23-Apr-2001 joe

MF4S: Remove some unused error messages. (revision 1.1.2.5)


75844 22-Apr-2001 joe

MFS4: Do not terminate if it fails to clean something. (rev 1.12.2.5)


72770 20-Feb-2001 luigi

Bring the new script into -current. Still untested here, but there
is a high chance that they work modulo minor things.


72627 18-Feb-2001 luigi

Make correct entries for atapi disks


71812 29-Jan-2001 luigi

Put picobsd build scripts in sync with the ones in -STABLE.

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.


70940 11-Jan-2001 joe

MF4: Allow the build process to continue even if crunchgen returns an error.
Most crunchgen errors are non-fatal.


70315 23-Dec-2000 joe

Remove floppy.tree from the build directory.


70310 23-Dec-2000 joe

Determine the names of the picobsd releases automatically.

Use the 'realclean' target in the crunch.mk file for cleaning the object
build tree.


70156 18-Dec-2000 joe

Utilise the -p file to crunchgen to specify where the objects should
be built and remove the previous glue that did the same thing.


68447 07-Nov-2000 joe

Fixup the /tmp directory permissions to 01777.

PR: misc/15875


68437 07-Nov-2000 joe

Load the kernel and root file systems from floppy:/.


68287 03-Nov-2000 joe

Crunchgen now has the necessary magic to include the make hooks that
munge_crunchmk was adding for us.


68273 03-Nov-2000 joe

Fold the buildopts into the existing crunch.inc file.

Deprecate the "global" crunch.inc file and the CRUNCHFLAGS global build
options. Tools not policy. Move these global settings out into each
picobsd distribution.


68242 02-Nov-2000 joe

Build picobsd object files in /usr/obj/picobsd/${TYPE}.


68240 02-Nov-2000 joe

Post process the crunch1.mk file to allow make arguments to passed on
a per program basis allowing a greater control on what is built.

The buildopts file contains Makefile lines of form:

# Anything added to OPTS is added to every build rule.
OPTS= -DNOPAM

# These should only be added to the build of user-ppp.
ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID \
-DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH

Really these should be added to crunch.inc, but that file is currently
optional, and if defined masks the global one. Next step will be to move
these global settings back out into the individual builds as OPTS, and
then migrate OPTS and prog_OPTS back into the local crunch.inc file.


68239 02-Nov-2000 joe

Remove an unneeded declaration for OBJ.


68220 02-Nov-2000 joe

Copy the built kernel from the right place. (Forgotten in the last
commit.)


67188 16-Oct-2000 joe

Build the PICOBSD kernels using the 'make buildkernel' method.


67175 15-Oct-2000 joe

Fix the PICOBSD kernel configs. They're now converted to use
Peter's new format, and I'd added hints files for each.

The build process uses the PICOBSD.hints file as well as the config,
and additionally builds with -DNO_MODULES. The build process
probably needs to be converted to use the 'buildkernel' method
instead of running config itself.

The kernels now compile. I've not been able to test the crunch
process however because it used the vn driver and there are no
/dev/vn device nodes under devfs yet. Maybe someone else could
give it a go.


63776 23-Jul-2000 marcel

Backout addition of -L switch to mtree. Using -L breaks the
build process in too many cases. Adding mtree to bootstrap-tools
to solve this breaks the upgrade path because mtree needs a
libc that has strtofflags and fflagstostr.


63262 16-Jul-2000 ache

Add -L to mtree.
Not shure ever it needed for MFS, but just to keep old behaviour exact, can be
removed later


62352 01-Jul-2000 roger

Add .image.list to the list of temporary files which can be deleted


62308 01-Jul-2000 roger

Add 'bridge' so we can clean up the bridge files too


59627 25-Apr-2000 dwhite

Commit PicoBSD mega-patch:
. Bring PicoBSD up to date with -CURRENT reality.
. Make PicoBSD smart and not spam /dev/vn0 and /mnt. Now it uses the first
unused vn device and creates a temporary mountpoint in /tmp.
. Miscellaneous build cleanups and optimizations.

Unfortunately the bridge, isp, and router floppies are too big and need
the axe treatment. The install floppy needs updating to -CURRENT. Dial and
net build and (appear to) run OK. I will be adressing these in the
near future (unless someone beats me to it :-) ).

PR: misc/17737
Submitted by: Omachonu Ogali <oogali@intranova.net>


57046 08-Feb-2000 luigi

Add global version of mfs.mtree -- this is common to most floppy types

Approved-by: jordan


57040 08-Feb-2000 luigi

Add a new file to be included by the makefiles used by crunchgen
(this is a convenient place to put Make variables until we add a -D
option to crunchgen).

Approved-By: jordan


57039 08-Feb-2000 luigi

The Makefile for building the crunched image is the same
for almost all images, so let's have a centralized copy.

Approved-By: jordan


57038 08-Feb-2000 luigi

Cleanup the build scripts.

Approved-by: jordan


54861 20-Dec-1999 grog

Handle building individual targets better. It's still broken; the
only way to be sure the build works correctly is to do a 'make all'.
But with these changes, it's easier to test individual targets. In
particular, ensure that the vnode file systems are mounted before
writing to them.

Ensure that we don't get CVS directories on our floppies.

Use kgzip instead of kzip to compress the loader. This saves a few
kB.

Remove some test cruft.


54667 16-Dec-1999 jkh

Correct slight stuff-up in previous patch.


54666 16-Dec-1999 jkh

Update to use MD disk instead of MFS


54417 10-Dec-1999 grog

Add 'custom' directory with significantly restructured build (now
using make instead of custom scripts) and two floppies instead of
one. The resultant floppy can do everything that the individual
floppies (dial, net, install, isp, router) could do, modulo some bit
rot that has occurred since PicoBSD last compiled. It also includes
all the programs on the fixit floppy, which could thus also die.

/bin currently contains the following files:

-sh dump ln ns sps
[ ed login ping stty
badsect ex ls ps swapon
cat expr mkdir pwd sync
chgrp fdisk mknod pwd_mkdb sysctl
chmod find more rdump syslogd
chown fsck mount reboot tar
chroot ftp mount_cd9660 restore telnet
clri getty mount_msdos rlogin telnetd
cp grep mount_nfs rm test
date gunzip mount_std rmdir traceroute
dd gzip msg route umount
dev_mkdb hostname mt routed vi
df ifconfig mv rrestore view
dhclient inetd natd rsh vm
dhclient-script init netstat sed w
disklabel kget newfs sh zcat
dmesg kill nfs sleep

Structure is in place for using the same build for the other
directories, but I'm no longer sure we need this. The current first
floppy will run fine by itself, but the size of a compressed kernel
has increased by nearly 50% since 3.2, and there's not much space for
anything useful on the remainder of the floppy. The current method
creates a larger mfs and can read as many floppies as the user can
stand. The footprint appears to be round 14 MB.

Work-sponsored-by: Sitara Networks Inc.


53967 30-Nov-1999 pb

A (harmless) forgotten MFS_ROOT -> MD_ROOT.


52398 20-Oct-1999 dwhite

Change MFS sizes to 2400k since gzip will compact free space anyway.
Add 'install' to the internal floppy type list.


52369 17-Oct-1999 dwhite

Reverse the sense of the /mnt/boot/defaults dir check. This was causing
the bootloader to not load the loader.conf and thus the MFS image. The result
was 'panic: no init'.


52141 11-Oct-1999 dwhite

Fix handling of the 'custom' directory symlink.
Properly abstract the PicoBSD build directory instead of depending too much
on pwd's and relative paths.

Submitted by: John Baldwin <jobaldwi@vt.edu>


52118 11-Oct-1999 dwhite

Be explicit about kzip location to avoid accidentally calling KDE kzip.


52004 08-Oct-1999 dwhite

Add a new floppy type, install. This type builds a disk that can
slice, partition, newfs, and install FreeBSD from a tarball on a remote server.
Handy for doing mass-installs for server farms.

Documentation following shortly.


50590 29-Aug-1999 dwhite

Remove tee from stage1 call. You can't capture the return code from stage1
(easily) so it gives false 'success' indications.


50589 29-Aug-1999 dwhite

MFS: Dialog-ify 'reuse custom directory' question.


50497 28-Aug-1999 roger

Backout my last commit. Exit status is $?


50479 28-Aug-1999 peter

$Id$ -> $FreeBSD$


50437 27-Aug-1999 roger

'build' calls 'stage1'
The check for the exit status of the 'stage1' script was broken.
Change "X$?" != "X0" to "X?" != "X0"


50328 25-Aug-1999 dwhite

Add missing quote.


50205 23-Aug-1999 luigi

Additional cleanup of the picobsd scripts.
Also bump Version to 0.445


50186 22-Aug-1999 dwhite

Major PicoBSD update by luigi with some debugging help from myself.

. Now builds on -STABLE (-CURRENT is broken due to bugs)
. etc directory contents centralized instead of in each
type directory (can exclude & override as desired)
. Removed extraneous language files (lang files for rc really necessary?)
. dialog-based build tool with support for custom floppy builds
. MFS image loads as a mfs_root module instead of compiled into kernel

THIS IS BROKEN ON CURRENT. I'll MFC to -STABLE immediately following.
luigi tells me I have an OK from jkh on the MFC.

Submitted by: luigi


47906 14-Jun-1999 roger

Update to PicoBSD 0.44 from RELENG_3


44613 09-Mar-1999 abial

Take boot1/boot2 from their new place, i.e. /boot/, not from
(currently nonexistent) /usr/mdec/.

Submitted by: luigi


44027 15-Feb-1999 abial

Copy the 'reboot' script only for "dial" floppy.


43939 12-Feb-1999 abial

Merge from RELENG_3.


42852 19-Jan-1999 abial

Next round of fixes before 3.1-RELEASE.


42671 14-Jan-1999 abial

Make transition to ELF kernel. Fix the userconfig_script handling.


40642 25-Oct-1998 abial

Allow to use other floppy sizes for "router" floppy.


40412 15-Oct-1998 abial

Various fixups and corrections to match the 3.0-RELEASE tree.

The PicoBSD version is now 0.42.


39762 29-Sep-1998 abial

Better handling of "custom" setup.

Submitted by: Randal Masutani <randal@comtest.com>


39691 26-Sep-1998 abial

Small rearrangements for a bugfix release 0.41.


39600 23-Sep-1998 abial

Correct comment in the "build" script about aout/ELF.


39563 22-Sep-1998 abial

All PicoBSD userland is now ELF. This buys us extra 15-30kB on the floppy.

NOTIE: If you don't use /usr/obj (or you wiped it), remember to clean also
the source tree of stale .depend and *.o files...


39499 20-Sep-1998 abial

Hmm... Let's make the switch to non-DEVFS actually work. :-/


39493 19-Sep-1998 abial

Kill the remnants of DEVFS, since it's broken without the SLICE code...
Pity - it was _very_ handy.

This also required increasing of MFS size, so that PicoBSD consumes more
memory now...


39269 15-Sep-1998 abial

Update ucd-snmp to version 3.5. It's slightly bigger, so also increase
the MFS size of net and isp floppies.

Add comment to crunch.conf on how to prepare the ucd-snmp port to work
with the build process.

Submitted by: Jim Flowers <jflowers@ezo.net>


39073 11-Sep-1998 abial

Fix to properly newfs the MFS in case of custom setup. Mention this in docs.

Submitted by: Richard Wackerbarth <rkw@Dataplex.NET>


38918 07-Sep-1998 abial

Change the way the help files are stored, and save ca. 30kB on the
"dial" floppy.

Submitted by: Eric P. Scott <eps@sirius.com>


38901 07-Sep-1998 abial

Set the ${suffix} only once...


38817 04-Sep-1998 abial

Added special type of setup called 'custom'. It allows you to supply
your own config directory laid out exactly like the standard ones.

Suggested by: Richard Wackerbarth <rkw@dataplex.net>


38800 04-Sep-1998 abial

Set OBJFORMAT=aout to affect the whole build - for now, it seems that too
many tools needed to build the floppies are dependent on a.out...


38771 03-Sep-1998 abial

Minor fixes to 'clean' script.

Changed the 'build' script to use ../${TYPE}/conf/Makefile in order to
have true dependency of kernel image on the kernel config file.


38770 03-Sep-1998 abial

Set OBJFORMAT=aout, until crunchide learns about ELF format...


38690 31-Aug-1998 abial

Remove CVS directories from the target floppy.

Submitted by: Eric P. Scott <eps@sirius.com>


38590 27-Aug-1998 abial

This commit was generated by cvs2svn to compensate for changes in r38589,
which included commits to RCS files with non-trunk default branches.


29583 18-Sep-1997 phk

Add a "I know it points to my foot!" -f option.
PR: 3288
Reviewed by: phk
Submitted by: Martin Kammerhofer <dada@freepass.tu-graz.ac.at>


22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


8057 25-Apr-1995 phk

This is a helper program to patch a filesystem into a "MFS_ROOT" kernel.