Commit Graph

425 Commits

Author SHA1 Message Date
Nathan Whitehorn
89033280b7 Add generation of memstick images to the bsdinstall release makefile for
i386 and amd64. This involved moving the memstick generation script to
the arch directories from scripts/, in analogy to mkisoimages.sh. This
script was never called from /usr/src/release/Makefile, so that hasn't
been updated.
2011-03-13 01:38:24 +00:00
Nathan Whitehorn
99ad39c822 Improve the distributeworld target in Makefile.inc1 and update the release
infrastructure to use it. make distributeworld can now be used without
preparing its environment first and installs games into its distribution
using the regular make distribute logic instead of post-processing with
a script.

Also add two new targets, packageworld and packagekernel, that tar up the
results of distributeworld and distributekernel (also new), respectively.
2011-03-02 14:39:26 +00:00
Brian Somers
bcc4111272 Remove an unnecessary cat.
PR:		145447
Submitted by:	u at netbeisser dot de
MFC after:	1 week
2010-06-19 09:33:11 +00:00
Ken Smith
c0f29c6e1d Provide a script that can be used to create the memstick images. For now
it isn't being integrated into 'make release' because for the forseeable
future the memstick images will be identical to what's on the DVD except
for which package set is provided.  If/when what's on the memstick diverges
from what's on the DVD it would make more sense to generate a "memstick"
directory in $CHROOT/R/cdrom and build the memstick image along with the
ISO images.

Reviewed by:	jhb, ru, Garrett Cooper (yanefbsd at gmail dot com)
2010-02-18 15:45:43 +00:00
Ken Smith
b34c18a7dc Update package list for 8.0-REL.
Reviewed by:	re@, portmgr@
MFC after:	1 day
2009-10-20 13:58:30 +00:00
Ken Smith
44a37a783b Bring the layout of package-split.py more in line with where we're going
with packages on the release media.  It looks like we'll be putting just
the doc packages on the new "memory stick" image as well as disc1.  There
will be no other packages on the CDROM-sized media.  The DVD sized media
will include the doc packages plus whatever other packages we decide to
make part of the release.

This commit just brings the basic structure in line with being able to
do this.  We still need to discuss with various people exactly which
packages will be included on the DVD.

If the environement variable "PKG_DVD" is set a tree suitable for the
DVD media is generated.  Otherwise a tree suitable for the "memory stick"
and disc1 is generated.

MFC after:	3 days
2009-09-07 17:54:20 +00:00
John Baldwin
7b0eef0b32 Fix a few issues with the lib32 dist so that it includes ldd32.
- Use a better find invocation to purge empty directories from all the dist
  trees during a release build.  The previous version did not purge
  directories whose contents were all empty directories.
- Explicitly blacklist a few files from the lib32 dist instead of using a
  whitelist.  A better longterm solution is to fix the few offenders to not
  install data files during a lib32 install.

MFC after:	3 days
2009-08-24 21:55:43 +00:00
Doug Barton
c61ff19489 Add a script to create the /var/db/mergemaster.mtree file for new
releases so that when users subsequently update their source trees
they can make use of mergemaster's -U option.
2009-08-23 05:42:50 +00:00
Marc Fonvieille
944bc81da9 - release/* update to use freebsd-doc-* packages instead of building
FreeBSD docset during 'make release' this will speed up release
  builds;
- sysinstall(8) has also been updated to use these packages with a new
  menu allowing people to choose what localized doc to install;
- mention in UPDATING that docs from the FreeBSD Documentation project
  are now installed in /usr/local/share/doc/freebsd instead of
  /usr/share/doc.

Approved by:	re (kensmith)
2009-06-28 08:59:46 +00:00
Yoshihiro Takahashi
60088513b4 Specify 4096 block-size and 512 fragment-size.
This fixes no space error.
2009-02-14 14:50:27 +00:00
Ken Smith
48a0e75812 Due to some recent-ish work on GEOM/G_PART the c partition (by tradition
the whole disk) isn't available any more since it was redundant.  Just
use /dev/md0 instead of /dev/md0c to build the filesystem on.

Consulted-with:		marcel
2009-02-10 15:07:57 +00:00
Ken Smith
ad005f6252 Fix minor typo. 2008-10-13 17:42:21 +00:00
Ruslan Ermilov
896eafd957 src/compat/ is gone back in March.
Reported by:	Mars G Miro
2008-06-25 20:29:22 +00:00
Ruslan Ermilov
8e3cedddca Teach source installation shell script and sysinstall(8) about
the 'scompat' source dist that holds src/compat/.

Reported by:	Mars G Miro
2007-11-09 08:50:02 +00:00
Kris Kennaway
56e4ceea65 Catch up to changes in the ports tree since last release 2007-11-07 09:11:45 +00:00
John Baldwin
05dd939ae6 Teach the 'src-install' script about the 'scddl' source dist that holds
/usr/src/cddl.

Approved by:	re (kensmith)
2007-06-28 18:26:35 +00:00
Ken Smith
8b33776a49 Shift to vim-lite package because vim package doesn't build at the moment.
MFC after:	3 days
2006-11-17 05:10:41 +00:00
Ken Smith
bcc506c582 Alpha no longer supported.
Noticed by:	ru@
2006-11-17 04:24:33 +00:00
Ken Smith
0dd900b35b Switch to emulators/linux_base-fc4 since that's the new default
Linux emulator.

MFC after:	3 days
2006-11-16 19:08:27 +00:00
Bruce A. Mah
d94e6ff183 Remove security/freebsd-update from package split; it's now in the
base system.

Pointed out by:	kris
2006-10-17 13:50:22 +00:00
Kris Kennaway
4ecca96d98 Catch up to xchat and samba package changes 2006-09-09 07:25:40 +00:00
Ruslan Ermilov
710989358e Stop cutting the tarball names to eight symbols. This makes
it possible to e.g. distribute kernels with config names larger
than eight symbols, without the clash.  Previousy, LALALALA
and LALALALA-SMP would be the same tarball.  (I think this
comes from the old days where tarballs were put on the MS-DOS
formatted diskettes.)

MFC after:	3 days
2006-09-08 19:54:37 +00:00
Ruslan Ermilov
8163990348 Provide the installation script for the lib32 distribution. 2006-08-28 08:13:56 +00:00
Ruslan Ermilov
c3a7e31314 Move some historical artefacts into the attic. 2006-08-28 08:12:49 +00:00
Ruslan Ermilov
df6330f805 Allow the DESTDIR to be specified without a terminating slash
(all other install scripts allow this).
2006-08-28 08:08:57 +00:00
Ruslan Ermilov
efdab28ffe Cosmetics. 2006-08-28 08:06:21 +00:00
Sam Leffler
aba5d3810d correct install location
Submitted by:	Ceri Davies (slightly modified)
2006-03-21 15:49:03 +00:00
Ken Smith
a968ffc467 First pass at trimming package set down. Disc2 is still too big
even with this but we're still deciding exactly what to do about
that.
2006-03-17 02:05:46 +00:00
Ken Smith
32363c848e The ltmdm port is marked as NO_PACKAGE now. 2006-03-16 17:24:27 +00:00
Sam Leffler
5211d26f0b kernel install script (missed in previous commit) 2006-03-08 18:03:09 +00:00
David E. O'Brien
2c7bd7ecd1 Remove the ports version of bsdiff - it is now in the base system. 2005-12-07 22:25:12 +00:00
David E. O'Brien
97e059fbc8 Remove the ports version of portsnap - it is now in the base system. 2005-12-07 21:41:59 +00:00
Ken Smith
4dd01ea40a It had been noticed disc2 was overflowing earlier but committing the
fix slipped through a crack.  Remove the apache and php packages under
the assumption someone installing a Web server has network access and
doesn't *need* the packages on disc2.

This will be insta-MFCed...
2005-11-03 00:23:13 +00:00
Ruslan Ermilov
ece6831d38 Provide 32-bit runtime support on amd64 as a separate distribution, lib32.
Prodded by:	obrien
Nodded by:	peter
Approved by:	re
2005-06-16 18:16:14 +00:00
Marcel Moolenaar
d6ff5700fe Put gnome-lite and kde-lite on disc2 for ia64. The full gnome and kde
packages is causing the disc2 ISO to overflow in excess of 100MB.

MFC after: 2 days
2005-05-03 05:37:09 +00:00
Marcel Moolenaar
765bbb2127 Remove only the packages sub-directory before recreating it. Do not
remove the whole disc treei structure. This allows one to specify the
disc trees created by a prior release build (under R/cdrom) as the
destination without destroying the contents. This better integrates
with release building and makes further automation easier.

MFC after: 2 days
2005-05-03 04:19:07 +00:00
Ken Smith
13dd1fc256 Needed to drop "lang/gnat", "print/teTeX", and "textproc/docproj-jadetex"
to make the packages fit on the CDs...

MFC after:	3 days
2005-04-17 23:30:20 +00:00
Ken Smith
f9bd71b713 Remove the print/acroread package due to licensing concerns.
Requested by:	trevor (acroread maintainer)
Seconded by:	Mark Linimon, Joerg Wunsch
MFC after:	1 day
2005-03-31 13:52:12 +00:00
John Baldwin
b885fa0e83 - Use the extend method of list objects to append a new list rather than a
bunch of append calls when adding more ports to an existing list.
- Remove the compatXY packages from disc1 as they are only intended for use
  on 5.x (6.x doesn't have them as dists anymore) and on 5.x they aren't
  packages but are old-fashioned distribution tarballs anyway.
2005-03-21 20:03:56 +00:00
John Baldwin
0dd0e637dc - Always include x11/xorg on disc1 as it does exist for ia64 (I must have
misread print-cdrom-packages.sh).
- Include x11/xorg-manpages and devel/imake-6 since xorg doesn't pull those
  in as requirements.  Not including manpages is a bug IMO.
- Add security/freebsd-update to disc2, not sure why I left this one out
  but I did by accident.

Reported by:	kensmith (2), cpercival (3)
2005-03-21 19:57:18 +00:00
John Baldwin
7954f273b4 Retire print-cdrom-packages.sh as it has been replaced. 2005-03-21 19:19:24 +00:00
John Baldwin
e738d1ea3d Add a new package splitting mechanism to replace print-cdrom-packages.sh.
The new system tries to be more automated so that there is less work for
the re's to do.  It also no longer uses a /usr/ports tree as its input,
but uses the generated package build including its INDEX file as its input.
It parses the INDEX file, determines which packages should go on which ISO
images, and then builds full-fledged trees of packages that can be added
as an argument to mkisofs along with the tree built by 'make release' to
build a full CD image.  The INDEX files in the populated trees are
generated with volume media number to make use of sysinstall's multiple
volume support so that the user is kindly prompted to insert the
appropriate disc for a package if it is not on the current disc.  There is
still some more tweaking to be done here, but this part needs to be
committed.  This stuff will all be used to prep the 5.4 release as well.

Tested by:	kensmith, others on re@
Reviewed by:	re
2005-03-21 19:17:48 +00:00
Colin Percival
d5f5163537 Add sysutils/portsnap onto the list of desired packages, since people
are finding it useful and it's only 10kB.
2005-01-19 21:06:22 +00:00
Scott Long
54ddf8f6f3 Due to space constraints, use gnome2-lite for i386 and gnome2 for everything
else.  Also add ltmdm to i386 by popular request.
2004-10-23 19:54:18 +00:00
Marcel Moolenaar
2d9d87630b Seperate ia64 from the pack. The disc1 is overflowing to such extend
that most packages can not be included. It's much easier to list those
that we do want on disc1 for ia64. We only need to list 11 of them.

Apply proper indentation for better readability.
2004-10-22 04:49:09 +00:00
Marcel Moolenaar
7f185e3f43 Fix typo in rev. 1.58 (missing $) that invalidated the conditional and
caused freebsd-update to be added to the ia64 package list.
2004-10-17 21:05:40 +00:00
Ken Smith
97bfd54f4f The print/acroread4 port seems to be gone. acroread5 doesn't run on
Alpha so that leaves acroread (3).  Users are probably better off
with xpdf so just drop acroread completely.

MFC after:	3 days
2004-10-03 05:20:55 +00:00
Marcel Moolenaar
4bc31b9bd9 Don't put devel/gdb6 on disc1 for non-i386 platforms. We have gdb6 in
the base-system. Adding the port for ia64 on disc1 is especially bogus,
because the port doesn't even build on ia64. It also doesn't support
libthread_db.
2004-09-26 19:05:52 +00:00
David E. O'Brien
c6d8b958f1 Start the de-orbital burn of our previous FreeBSD version compat libs
living in usr/src.  We need to use them from ports to record dependencies.

Discussed with:	re(scottl)
2004-08-29 18:27:00 +00:00
Ruslan Ermilov
85231d66d4 Fixed the shell arithmetic to work with 4.x /bin/sh.
Tested by:	make release of HEAD on 4.10-STABLE
2004-08-26 19:15:20 +00:00
Ken Smith
79a58dfb4c Back out v1.57, the underlying problem that caused a delay between
mdconfig and the device name appearing in /dev seems to be fixed.
2004-08-25 01:39:52 +00:00
Peter Grehan
8e38e74359 Allow MFS images to be built without a disklabel for releases
that don't require one i.e. PPC.

Reviewed by:	ru
Submitted by:	ssouhlal
2004-08-18 11:10:05 +00:00
Kris Kennaway
93ab8d76ea Remove misc/screen, which is not packageable. 2004-08-15 06:07:01 +00:00
Ken Smith
49bfd0462f Shift to the same version of perl that portmgr@ has as their default.
Pointed out by: jhb
2004-08-09 19:36:53 +00:00
Ken Smith
eeb78f797c I should have marked my previous commit with an XXX to indicate it's a
workaround to a problem that shouldn't exist.

Noticed by:	ru
2004-08-09 01:42:32 +00:00
Ken Smith
230ff190bc Looks like the x.org manuals are in x11/xorg-manpages, not x11/xorg-manuals. 2004-08-08 10:50:19 +00:00
Ken Smith
29c8aaf706 The compat2x and compat3x packages are not buildable due to security
issues.
2004-08-08 09:07:41 +00:00
Ken Smith
712ab5d8ff I've had 'make release' problems on a large/fast dual processor machine
with doFS.sh consistently dying here because the device didn't exist
in the namespace fast enough after doing the mdconfig.  But the device
did eventually show up.  There have been similar complaints on mailing
lists that might boil down to this being the problem too.

This is obviously a hack, if anyone knows what might cause a delay
between mdconfig running and when the name appears in the /dev namespace
(inside a chroot-ed environment if that matters) I'd be happy to back
this out.
2004-08-06 20:08:38 +00:00
Colin Percival
97cde4efb8 Crypto is now part of the base distribution. Remove crypto-install.sh,
and add scrypto, skrb5, ssecure into src-install.sh

Reminded by:	ru
2004-08-06 08:42:05 +00:00
Eric Anholt
c92781c506 Update for conversion to X.Org as default X in -current.
Requested by:	scottl
2004-08-04 00:46:58 +00:00
Murray Stokely
d8aaca4da3 Improve package list for disc3:
xemacs21 -> xemacs, add apache13, apache2, and php packages to this disc.
2004-07-22 01:37:56 +00:00
Colin Percival
0d3dd6d003 Add security/freebsd-update back for non-ia64 releases. (The port is
currently marked ONLY_FOR_ARCHS= i386 amd64 alpha sparc64.)

Approved by:	scottl
2004-07-15 18:22:21 +00:00
Ruslan Ermilov
59019f06bf Added "rescue".
Submitted by:	Kent Hauser <kent.hauser@verizon.net>
2004-05-20 18:02:24 +00:00
Marcel Moolenaar
2c10b9fdfa s/emacs21/emacs/
The emacs21 ports has been retired on March 21st and the emacs port
was updated to version 21.3.
2004-05-03 00:47:35 +00:00
Murray Stokely
c0d6cf589d Add security/portaudit to disc3.
Requested by:	Xin Li <delphij@frontfree.net>
2004-04-19 08:37:43 +00:00
David E. O'Brien
404c3c841f Force gdb6 into disc1 for amd64, sparc64, and ia64
(until they have /usr/src gdb support)
2004-03-25 00:06:03 +00:00
David E. O'Brien
e31a14418a Remove freebsd-update -- it breaks the Alpha, sparc64, ia64, and amd64
release bulds.
2004-02-25 19:05:47 +00:00
Ruslan Ermilov
e99d38fece - Removed more bitrot (the "while" loops).
- Factored out common parts of dofs_vn() and dofs_md().
2004-01-28 22:44:17 +00:00
Ruslan Ermilov
2b2baba122 GC some old cruft. 2004-01-28 10:58:37 +00:00
John Baldwin
96300f5dc8 *BANG* *BANG* *BANG* *BANG* *BANG* *BANG* *CLICK* *CLICK* *CLICK*
*BANG* *BANG* *BANG* *BANG* *BANG* *BANG* *CLICK* *CLICK* *CLICK*

Death to the stripped down BOOTMFS kernel for boot floppies and all the
cruft that goes along with it.
2004-01-26 20:02:01 +00:00
John Baldwin
18e5e37daa Add a script to split a single file up into chunks using split along with
a list file suitable for use with libstand's splitfs filesystem.  The first
chunk of the file is 16k and has an extension of '.boot' and is meant to be
placed on the boot floppy.  This is required because the current
implementations of gzipfs and bzipfs in libstand want to read in the header
of the file each time it is opened.
2004-01-26 19:45:09 +00:00
Ruslan Ermilov
0957570bf2 We also want the *_p.a symlinks to be part of the proflibs distribution. 2004-01-18 09:06:40 +00:00
David E. O'Brien
edc4ccf018 Opera is i386-only. 2004-01-12 04:43:41 +00:00
David E. O'Brien
7e92d04c01 '+' can also appear in a package file name.
Reported by:	jhb

'^' could also appear in a package file name.
2004-01-02 22:58:29 +00:00
David E. O'Brien
20e37e5d83 Creates an INDEX file suitable for an ISO distribution image containing only
the specified packages.
2004-01-02 01:10:37 +00:00
Scott Long
5c418e493b Slim down the package list some more. The KDE and Gnome metaports might
need to be tweaked a bit, but this gives the disc1 ISO a fighting chance.
2003-12-06 04:15:13 +00:00
Joe Marcus Clarke
98ab23aaa4 Depend on kde-lite and gnome2-lite instead of kde3 and gnome2. This greatly
reduces the amount of space occupied by packages on release disc 1.

Approved by:	re (scottl)
2003-12-02 20:47:31 +00:00
Kris Kennaway
27a52f71ba Also export the ARCH variable so that cross-generation of cdrom package
lists works as expected.

Approved by:	re
2003-11-30 01:35:19 +00:00
Scott Long
0ebcc1a982 vim-lite can hardly be considered 'lite'. Remove it. 2003-11-29 23:48:44 +00:00
Joe Marcus Clarke
d87866b1e2 Export PARALLEL_PACAKGE_BUILD to the environment as well to catch more
packages that should/should not be included on the first CD.  This is needed
for the recent KDE space-saving change.

Approved by:	re (bmah)
2003-10-03 16:48:36 +00:00
Joe Marcus Clarke
1967e50940 Put x11-wm/sawfish2 and irc/xchat on CD 1 instead of sawfish and xchat.
Sawfish is gone, and xchat2 is more widely used these days since it is the
current stable release.

Approved by:	re (murray)
2003-09-21 19:07:23 +00:00
Ruslan Ermilov
807b65481b Fix this script to produce working bootable floppies on 4.x. 2003-09-19 09:08:41 +00:00
Murray Stokely
0530edef90 Fix typo. It's 'bsdiff' not 'bsddiff'. 2003-08-19 05:48:08 +00:00
Murray Stokely
f8b27704c7 Add misc/bsdiff and security/freebsd-update to the list of desired
packages for disc #1.  These two packages take a combined total of
37kb of space so I think there should be room.
2003-08-19 05:45:49 +00:00
Ruslan Ermilov
ebc9df0362 Add support for automatically computing the required file system
size and average inode size.

Reviewed by:	jhb
2003-08-08 18:23:00 +00:00
Murray Stokely
cab203686d Sort entries added in r1.43. 2003-07-13 07:20:24 +00:00
Tom Rhodes
81ada60e7e Postfix, pcre, and Exim should be on the first CD in order for the recent
sysinstall(8) commit to function properly.

Discussed with:	bmah (while the sysinstall(8) patch was sent to re).
2003-07-12 15:35:06 +00:00
Ruslan Ermilov
5795760c45 disklabel(8) is spelled bsdlabel(8) or sunlabel(8) these days.
Also make sure bsdlabel(8) (along with the disklabel(8) compat
link) still appear on the fixit floppies of platforms that use
it natively (alpha, i386, and pc98).

Approved by:	re (scottl)
2003-05-17 19:16:28 +00:00
Ruslan Ermilov
f7d341e06d Revision 1.49 broke snapshot building on older systems.
Approved by:	re (scottl)
2003-05-16 13:59:12 +00:00
Scott Long
efdfe5688b The disc1 package set has overfilled the disc. Axe linux-netscape-navigator-4.8
to free up space.  linux-netscape-communicator-4.8 remains and is a superset of
the former for those who are stuck are the 1990's =-)
2003-05-09 09:41:18 +00:00
Scott Long
ce0d74671b Use UFS1 for the floppies instead of UFS2 2003-05-03 19:23:10 +00:00
Mark Murray
bb7f32f06a KerberosIV removal. Also crunch down the "krb5" distribution into
"secure".
2003-04-30 17:54:19 +00:00
Ruslan Ermilov
c9030dc84d Presumably fix sparc64 "make release". (The breakage was due to
sunlabel(8) no longer being linked to disklabel(8).)

Reviewed by:	phk
2003-04-23 09:01:35 +00:00
Ruslan Ermilov
2d1cc5928b Fixed dofs_vn(): previous revision ran ``rm -f /dev/*vnn*'' too early. 2003-04-15 09:14:14 +00:00
Ruslan Ermilov
51df6fdf37 Unmount the file system and detach an underlying memory disk even
if the script fails somewhere in the middle.

Prodded by:	phk
2003-03-31 12:29:31 +00:00
Ruslan Ermilov
e3940ce7c3 Pass the target machine architecture down to disklabel(8).
Do it so that systems without the -m option in disklabel(8),
e.g. 5.0-RELEASE, can still build current snapshots.

While here, drop the -s option from doFS.sh; we have not
been using the .size files for a long time.
2003-03-20 23:46:22 +00:00
Murray Stokely
258ed3f85e Add another index checking script to ensure the sanctity of the
package set. More robust than others already in the tree, but a bit
crufty as this was mostly written in the Walnut Creek CDROM days.

Sponsored by: FreeBSD Mall, Inc.
2003-03-03 09:42:47 +00:00
Murray Stokely
1889afca0c Update maintainer. Thanks to Jordan for getting this started, but he
hasn't been the maintainer for at least a year.
2003-03-03 03:28:30 +00:00
Ruslan Ermilov
21650d4595 Stay consistent with dofs_md(). 2003-02-26 10:51:28 +00:00
Poul-Henning Kamp
d103a0422a This took longer to test than expected:
NODEVFS cleanup: don't bother with MAKEDEV.

Look for /boot/boot first, and arrange disklabel arguments accordingly.
2003-02-01 22:12:50 +00:00