Erik van der Kouwe
8afc228c48
This patch changes the release script in the following ways:
...
- A staging directory is always used to avoid oversized images;
- As a consequence, the zero-filling is removed so no more "out of
space" errors should be printed to the console;
- The root and usr partition sizes are computed so less space should be
wasted (the root partition gets extra 1MB zones and 64 inodes for
run-time though and hardlinks/holes make the used space slightly less
than expected); USRMB (and the new ROOTMB) are now used to enforce
a minimum size rather than set the size;
- TMPDISK1-3 are renamed to more meaningful names (and TMPDISK2 is
dropped because a separate tmp directory is no longer needed);
- The ramdisks are truncated at the end to save memory (not sure
whether it is actually released though).
2010-06-04 05:09:44 +00:00
Erik van der Kouwe
456a125e00
Minor patch: increase size of root partition for minimal release, eve very small additions with -c made it fail
2010-05-19 20:11:22 +00:00
Erik van der Kouwe
f5bce90216
Add -M release.sh option to write out a symbol map, either to /usr/src on the image (without -m) or to the tools directory (with -m)
2010-05-17 16:52:48 +00:00
Arun Thomas
5706670029
Convert boot/ and commands/ over to bsdmake
2010-05-12 16:28:54 +00:00
Erik van der Kouwe
d4188dcd5c
New options for release script: -m to make tiny image, ZIP to set compressor
2010-05-10 18:02:15 +00:00
Ben Gras
a131085a5b
cd boot workaround for bioses that didn't want to boot >4 image sectors.
...
boot is a normal binary with a.out again. use 'cdbootblock,' a CDBOOT
variant of bootblock, both from bootblock.s, as the first boot image
that then loads boot, exactly like the bootblock loads boot when booting
from harddisk. the sector numbers (2048 byte iso sectors) are patched in
by writeisofs, like installboot does for bootblock. bootblock unchanged.
2010-04-26 22:07:21 +00:00
Ben Gras
5af8c345be
slight tuning of /etc/mk situation when making release.
...
- Make the bootstrap /etc/mk be populated from the newly checked out source
- Don't chmod 755 all of /etc
- For the 'real' /etc/mk installing, let the /etc/mk ownership and permission
come from the mtree file, delete the contents of /etc/mk, then copy the .mk
files over and set reasonable permissions and ownership. (So that the .mk
get updated from the real usr/src/ copies, and no other junk if anything,
after the bootstrap phase, whatever happened there.)
2010-03-01 15:53:57 +00:00
Arun Thomas
b706112487
Incorporate bsdmake into buildsystem and reorganize libs
2010-02-16 14:41:33 +00:00
Ben Gras
daca9de450
Fix to make making a bootable cd possible again.
...
ow that the image has grown beyond the 1.44M that fits on a floppy.
(previously, the floppy emulation mode was used for cd's.)
the boot cd now uses 'no emulation mode,' where an image is provided on
the cd that is loaded and executed directly. this is the boot monitor.
in order to make this work (the entry point is the same as where the
image is loaded, and the boot monitor needs its a.out header too) and
keep compatability with the same code being used for regular booting, i
prepended 16 bytes that jumps over its header so execution can start
there.
to be able to read the CD (mostly in order to read the boot image),
boot has to use the already present 'extended read' call, but address
the CD using 2k sectors.
2010-01-18 14:10:04 +00:00
David van Moolenbroek
5e9a8f05ff
unbreak building CDs
2009-12-23 23:59:32 +00:00
Ben Gras
97ae67e780
if from branch, include branch name in in-image tag and .iso filename.
2009-10-19 15:46:27 +00:00
Ben Gras
fb5b10a081
fixed grep usage in filter (again)
2009-10-02 13:29:36 +00:00
Ben Gras
7f423d0fa2
Unique matching for package name when grepping for it in the master list.
2009-10-02 13:02:36 +00:00
Ben Gras
0d83eeb194
slightly larger /usr needed
2009-10-01 17:45:14 +00:00
Ben Gras
e326a01446
- retrieve binary packages and sources from webserver to make a release, incrementally using wget
...
(so wget required)
- don't build List file again, but use webserver List file and filter it
2009-09-30 13:11:22 +00:00
Arun Thomas
b2e3153263
Release script: Increase root ramdisk to 8KB
2009-09-23 11:07:55 +00:00
Ben Gras
64df404150
umount before ramdisk spec to allow resizing
2009-09-22 14:01:17 +00:00
Arun Thomas
a415b68523
Release.sh now uses packages.install and package_sources.install to
...
determine which packages and package sources to include on the
installation media, as opposed to including everything in the
PACKAGEDIR AND PACKAGESOURCEDIR directories.
2009-05-30 09:31:19 +00:00
Ben Gras
d0b6e76bfb
correct the revision variable used in /etc/version
2009-05-15 13:02:23 +00:00
Ben Gras
4e2291fff2
SizeMB isn't used any more.
2009-03-26 13:19:14 +00:00
Ben Gras
fc11209417
more inodes than default for /usr on cd.
2009-03-24 15:41:51 +00:00
Ben Gras
d8d63f0e07
make USRMB settable
2009-03-19 14:14:57 +00:00
Ben Gras
e5079dfc02
multiple ram disks; also make release process use this
...
so temporary partitions aren't needed any more.
2009-03-19 13:48:19 +00:00
Ben Gras
36c12c1251
package list sanity check
2009-01-20 15:49:42 +00:00
Ben Gras
51fdce1d36
minor fixes
2008-11-19 14:10:33 +00:00
Ben Gras
e2932a1180
. remove small image (doesn't fit)
...
. edparams line a bit more readable
. use image built in build tree, not regular source tree
2007-07-17 14:36:42 +00:00
Ben Gras
365e867a88
Some features for the automatic image build.
2007-04-18 11:42:48 +00:00
Ben Gras
673c7ced15
Print svn rev and date info in /etc/version.
2007-04-18 11:39:18 +00:00
Ben Gras
9200a8a253
feature to display svn version on kernel boot
2007-04-12 15:13:10 +00:00
Ben Gras
21e61a600d
/bin/echo is used during early bootstrap too.
2007-04-04 13:05:13 +00:00
Ben Gras
a2d3b518d8
rename svn revision variable to one with underscore, to not pollute
...
application namespace
2007-03-30 15:17:32 +00:00
Ben Gras
31c62a7347
include svn revision number in <minix/sys_config.h>, printed by kernel
...
at startup, to easily identify releases.
2007-03-21 13:35:06 +00:00
Ben Gras
cbb67705d5
Include svn revision number in iso filename when doing build
...
based on svn export.
2007-02-19 16:40:33 +00:00
Ben Gras
304471a107
Fixes for /usr/xbin binaries bootstrap dir.
2007-02-08 17:41:40 +00:00
Ben Gras
9f2f3dd488
don't call mkdep with an absolute path
2007-02-08 16:26:20 +00:00
Ben Gras
df9326a340
Use temporary binary directory as bootstrap
2007-02-08 16:18:48 +00:00
Ben Gras
f9e4768eb4
No /usr/src.* shenanigans any more.
2007-01-22 15:47:40 +00:00
Ben Gras
324c6f583d
Use svn instead of cvs
2006-12-22 16:43:30 +00:00
Ben Gras
848b96a9a4
Fixes for usb and bios.
2006-06-20 10:13:56 +00:00
Ben Gras
ebdfcbf297
For packages.
2006-04-13 12:44:06 +00:00
Ben Gras
353d71a731
More packages - more usr
2006-04-13 02:00:54 +00:00
Ben Gras
c8196c483f
Bigger root.
2006-04-12 11:33:07 +00:00
Ben Gras
683efbe4c1
Fixes for bios emulation (image names)
2006-04-12 11:32:49 +00:00
Ben Gras
8dd76cb556
-p option to not include packages
...
Fix usage kb issue - don't count packages
2006-04-10 14:18:54 +00:00
Ben Gras
d0686d11b0
Make root bigger for commands and logs and such.
2006-04-05 10:33:31 +00:00
Ben Gras
7e2a2854d6
Don't bzip iso.
2006-04-04 13:40:38 +00:00
Ben Gras
a18229a8f7
*** empty log message ***
2006-04-04 13:25:19 +00:00
Ben Gras
5c88f19a5a
*** empty log message ***
2006-04-04 12:59:30 +00:00
Ben Gras
d93b0e8f18
Tralala
2006-04-04 11:46:50 +00:00
Ben Gras
697c1ec143
*** empty log message ***
2006-04-04 09:47:19 +00:00
Ben Gras
f7683420ae
*** empty log message ***
2006-04-04 09:46:54 +00:00
Ben Gras
356623fa81
Fixes for noninteractive use
2006-04-04 09:43:26 +00:00
Ben Gras
11a5f05cba
Don't put 3 copies of the image on the boot floppy
2006-04-03 20:06:07 +00:00
Philip Homburg
18fa537efe
Make harddisk-emulation CD work.
2006-04-03 14:31:59 +00:00
Ben Gras
17ff3090c4
Let builds work with any shell (set SHELL= so su works)
2006-03-26 18:08:08 +00:00
Ben Gras
04ad142c76
package/release tweaks
2006-03-26 18:01:39 +00:00
Ben Gras
224aec8568
Index without .tar.bz
2006-03-26 16:00:25 +00:00
Ben Gras
807cd19e17
Package tweaks.
2006-03-26 15:51:34 +00:00
Ben Gras
b56917558b
Version builds
2006-03-24 13:48:14 +00:00
Ben Gras
d9aad59630
bz2
2006-03-22 16:43:12 +00:00
Ben Gras
61e6eb290f
Include version in ISO.
2006-03-19 20:57:22 +00:00
Ben Gras
35778a97ca
Packages
2006-03-16 12:57:11 +00:00
Ben Gras
84ba9dd4d3
Dinks for the (source/binary) package scripts
2006-03-15 17:02:46 +00:00
Ben Gras
ff67776995
FS:
...
. loops checked for PID_FREE
. exit broken down in exit and cleanup functions; when reboot happens,
cleanup is done but not exit (as processes have not actually exited),
this keeps drivers working
. fixed a few uninitialized and unused variables
scripts:
. new packaging system
2006-03-15 15:34:12 +00:00
Philip Homburg
5ceb98e9ee
Added -u option for making USB-stick images.
2006-03-13 15:40:23 +00:00
Ben Gras
acdac1ec92
Don't choose FS by labels after all.
2006-03-13 08:47:05 +00:00
Ben Gras
6fe89cfbe8
Hack small and big fs into a single image. Must now set BIG or SMALL label.
2006-03-10 14:11:19 +00:00
Ben Gras
73c79dde56
Smaller device
2006-02-17 14:43:00 +00:00
Philip Homburg
bc015a9b49
/dev/ram is no longer hardcoded.
2006-02-15 11:05:47 +00:00
Ben Gras
fc508d9175
*** empty log message ***
2006-02-03 16:06:14 +00:00
Ben Gras
9e924462a1
Packages.
2006-02-03 15:57:49 +00:00
Ben Gras
12d931953c
bzip
2006-02-03 15:55:54 +00:00
Ben Gras
98562d8cfc
Don't copy /usr/gnu
2006-02-03 15:43:29 +00:00
Ben Gras
28087e3f17
*** empty log message ***
2006-02-03 15:41:58 +00:00
Ben Gras
087c550186
Include binary packages on cd.
2006-02-02 17:11:10 +00:00
Ben Gras
d0067f45bd
Make sure image* is gone before starting
2006-01-18 13:30:44 +00:00
Ben Gras
46ad16e688
. new version of minix
...
. less space on filesystems of cd image
2006-01-18 09:49:54 +00:00
Ben Gras
b1ac60a03b
The release script now remembers old settings (scratch partitions) and
...
re-uses them, with a warning. This is nice and quick for repeated release
builds.
2006-01-17 15:14:56 +00:00
Philip Homburg
a5cc1cb8d1
sh MAKEDEV to avoid depending on any x-bits. Make depend before make clean.
2006-01-12 14:50:05 +00:00
Ben Gras
9270710246
Bigger
2005-10-21 19:30:13 +00:00
Ben Gras
12898c03e4
*** empty log message ***
2005-10-21 11:40:24 +00:00
Ben Gras
52e964987c
add arg to make releases from tags/branches
2005-09-29 13:02:41 +00:00
Ben Gras
b60f903396
Wipe image in case a small image called image is lying around
...
(don't ask)
2005-09-26 14:06:59 +00:00
Ben Gras
1ff749180e
.iso.gz name notice
2005-09-24 13:16:20 +00:00
Ben Gras
e9441a8972
Make iso filename include 'bios' when using hd emulation
2005-09-24 11:28:22 +00:00
Ben Gras
cb235bce1e
Minor release script fixes
2005-09-24 10:30:25 +00:00
Ben Gras
b1dbb3d3f9
380MB
2005-09-23 23:35:33 +00:00
Ben Gras
9395e97d1b
Release script includes version number and timestamp in iso filename..
2005-09-23 23:32:45 +00:00
Ben Gras
3a46008843
350MB /usr
2005-09-22 15:08:30 +00:00
Ben Gras
e049ccb49e
make build files executable too
2005-09-21 09:30:52 +00:00
Ben Gras
38307a7e34
No more -a; no more contrib
2005-09-16 15:48:59 +00:00
Ben Gras
debee76a38
Not here
2005-09-16 12:24:10 +00:00
Ben Gras
15d95873ef
Build as bin
2005-09-16 12:10:15 +00:00
Ben Gras
9f470413b5
Source fixups
2005-09-13 12:25:59 +00:00
Ben Gras
d633a02d36
moving commands and contrib out of /usr/src broke the bin chowning
2005-09-12 22:08:15 +00:00
Ben Gras
e0f3b60398
*** empty log message ***
2005-09-12 15:44:05 +00:00
Ben Gras
3cfb1df639
Changed rootmb to rootkb
2005-09-11 20:51:07 +00:00
Ben Gras
f224cf091d
Include version info in iso filenames
2005-09-11 16:36:17 +00:00
Ben Gras
9c5966808e
Don't ask
2005-09-09 16:05:23 +00:00
Ben Gras
817572d04d
make depend in case it's a fresh cvs checkout
2005-09-08 18:06:03 +00:00