Commit Graph

777 Commits

Author SHA1 Message Date
scottl
0d10ca495b Move the isp driver back to the alpha BOOTMFS kernel, and trim the size
of inodes for the alpha driver floppy.  With this patch, alpha actually
built a full release!

Submitted by:	ru
2003-05-20 01:46:09 +00:00
jmallett
5c072d8765 For EXT*DIR, use -H in addition to -R, so that a symlink may be
used in the EXTSRCDIR case, for example, if one finds it useful
to symlink /usr/src to an actual source tree, and use /usr/src
as the EXTSRCDIR.

This has no effects on release builds not using external directories.

Reviewed by:	ru
Approved by:	scottl (re)
2003-05-18 19:34:03 +00:00
ru
a44ce3058a 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
obrien
7b91481e3a release.9 has become the biggest festering pile of spaghetti s(*^% code.
Duplicate the target for Alpha so I can start hacking and slashing bits out.

Approved by:	re(blanket to make Alpha build)
2003-05-08 03:25:17 +00:00
markm
ee63e7dc15 Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extra
cleanups were necessary in release/Makefile, and the tinderbox code
was syntax checked, not run checked.
2003-05-05 07:58:44 +00:00
murray
d986a99a30 Move the setting of the BOOTABLE flag outside of .if MAKE_ISOS so that
bootable CDs can still be created if the iso.1 target is called
directly.

PR:		misc/47191
Submitted by:	Joost Bekkers <joost@bps.jodocus.org>
MFC after:	1 week
2003-05-05 05:29:10 +00:00
markm
5cf2683aab KerberosIV removal. Also crunch down the "krb5" distribution into
"secure".
2003-04-30 17:54:19 +00:00
kuriyama
b614456b1c Removing comment in some text files for fixit floppy overflow.
Approved by:	re (murray)
2003-04-25 06:08:11 +00:00
ru
560225c470 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
jwd
2efab590ba continuation not needed 2003-04-18 02:30:40 +00:00
ru
61cb3769b3 Don't play with MAKEFLAGS in one other place too; it's dangerous. 2003-04-15 09:54:19 +00:00
ru
e7e7ff6c1c Makefile.inc1 rev. 1.341 broke release.5 -- the fuss with MAKEFLAGS
here interferenced with one in Makefile.inc1.  Since we can't avoid
the jugglery in Makefile.inc1 (we want -m /usr/src/tools/build/mk
to come first, before any other -m specified on the command line),
avoid it here.

Reported by:	imp
2003-04-15 06:36:38 +00:00
ru
fa43c2f973 Revert revision 1.639 -- the "nodev" mount(8) option restriction
does not apply to ${CHROOTDIR} file system since revision 1.712.
2003-03-31 11:46:49 +00:00
ru
d26db1b3a5 Strip the .comment section out from the BOOTMFS kernel. 2003-03-31 11:16:53 +00:00
obrien
fe0afe560c s/loaded as a module/available as a module/g
Submitted by:	ru
2003-03-23 04:23:10 +00:00
ru
2ff24e04ef Use the target arhitecture's disktab(5) file. 2003-03-21 13:41:17 +00:00
ru
18bbff5605 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
obrien
ef60146aeb In rev 1.603 I should have changed it to mdconfig rather than remove it.
I don't recall now, but for some reason I didn't think it was needed.
Also place the mdconfig right before the chroot call, to make it stand out
this needs to be done in the standard environment, as we've tried doing it
in the chroot environment before.
2003-03-17 18:49:46 +00:00
ru
33a15c8192 Unbreak iso.1. 2003-03-17 17:49:57 +00:00
obrien
1145aeb821 Use positive logic rather than harder-to-read negative logic. 2003-03-17 05:46:10 +00:00
obrien
4b49145ba5 Make PREFETCHDISTFILES the default. Set NO_PREFETCHDISTFILES if you don't
like this.  Also make it easier to issue the distfile fetching on command.
2003-03-16 22:59:00 +00:00
obrien
2dbfd1f3ae Add PORTREADMES_FLAGS which can really speed up the build on SMP machines
when set to -j<3*#CPU's>
2003-03-16 22:42:26 +00:00
markm
7e3e5c0f91 KerberosIV de-orbit burn continues. Disconnect from "make release". 2003-03-08 09:56:09 +00:00
marcel
070a5de70b o Run make readmes (ports) from within CHROOTDIR to avoid pollution
and/or breakages due to /etc/make.conf on the host. Move it after
   make world and put it in an if-block so that we can include the
   commands in the script even if we're not going to make the readmes.
o  When building docproj, make sure we propagate the setting of the
   FTP_PASSIVE_MODE environment variable. Not propagating the envvar
   may cause fetch failures. This increases the number of cases for
   which one does not have to prefetch the packages.
2003-03-08 08:51:25 +00:00
ru
c65b6d4325 If we are told to update the sources in "make rerelease", we also
probably want to re-buildworld.

If we are not going to rebuild (make rerelease -DRELEASENOUPDATE
and the file ${CHROOTDIR}/tmp/.world_done exists), do not touch
${CHROOTDIR}/usr/src/sys/conf/newvers.sh, as the only effect that
is has is upsetting release.2.  Hey, have you ever seen this
"touch: not found" during rerelease?  :-)
2003-02-26 15:32:12 +00:00
ru
919bdd6598 At least we don't need the whole <bsd.prog.mk> glue.
(I did test build the original change, but apparently
forgot to include it to LOCAL_PATCHES.  It happens.)
2003-02-23 19:15:55 +00:00
jwd
5a23486f36 mk file needed for 'make obj' done by $CHROOTDIR/mk 2003-02-23 06:27:21 +00:00
ru
f5201caa37 Fixed synopsis.
Mention that md(4) should be active (from release(7)).
Yet, this has nothing to do with bsd.prog.mk.
2003-02-21 22:37:18 +00:00
matusita
e112efd22c Pass FTP_PASSIVE_MODE, FTP_PROXY, and HTTP_PROXY variables to chroot sandbox.
These variables will be used by pkg_add, which installs mkisofs package
while MAKE_ISOS=YES.  See src/release/${arch}/mkisoimages.sh if you doubt.

No objection heard from:	current@FreeBSD.org
Suggested by:			des, nectar (about *_PROXY variables)
2003-02-16 08:34:11 +00:00
ru
9e6fb16f52 Run kgzip(8) in a right environment and pass it the correct loader object. 2003-02-04 16:07:20 +00:00
ru
8f72e1bb39 Part 2/3 of unbreaking cross releases:
Use the right strip(1) binary.
2003-01-29 08:39:28 +00:00
obrien
d9ae4cd4b5 Use checksum-recursive rather than fetch-recursive-list in PREFETCHDISTFILES
so as to catch errors ASAP rather than later between the ports cvs checkout
and docs cvs checkout.  If a distfile doesn't checksum OK, it is very
hard to restart the release with "make rerelease" as that target assumes
all the cvs checkout's happened OK, and if that is not the case the cvs
update that is attempted fails..
2003-01-19 04:31:53 +00:00
scottl
d5b01fb0c0 Fix 'make release' from erroring out if this is an arch without driver
floppies.

Submitted by:   nyan
Reviewed by:   jhb
2003-01-16 16:51:52 +00:00
jhb
cfb62615c5 If there is a driver floppy for this arch, then add a line to the loader.rc
on the boot floppies to set the 'driver_floppy' variable in the loader so
that it ends up in the kernel environment and sysinstall will prompt for the
diskette.  Booting from CD-ROM does not use this loader.rc file, so folks
booting from CD to do an install will not be prompted.

X-MFC after:	as soon as I finish committing to current
Approved by:	re (blanket)
2003-01-15 21:49:50 +00:00
obrien
47590098e0 Make iso.1 more readable. 2003-01-11 20:34:34 +00:00
imp
e7208853a8 Backout phk's backout of obrien's change.
Hat: core
2003-01-02 20:18:42 +00:00
phk
1067531f6d Reduce size of individual bits of the dists to 240640 bytes again
so snapshots can be installed.

I have no idea what breaks, but at least the passive FTP install
goes haywire.
2002-12-31 15:17:24 +00:00
phk
0bf2661961 Setup a symlink to the distribution name in the root of the first CD image
so that it can be used as a anon-ftp area.
2002-12-31 10:27:58 +00:00
nyan
32074d46d6 Change 'mfsroot' filename in mfsroot-small floppies from 'mfsroot-small'
to 'mfsroot'.

This is MFC candidate.

Noticed by:	Toru Morimoto <too@os.gulf.or.jp>
2002-12-28 16:23:42 +00:00
ru
237ac131ce MFS: Split export list. 2002-12-26 12:20:25 +00:00
obrien
59481ca126 Split files into 1.44MB chunks rather than a tiny, high-ftp overhead size.
Approved by:	rwatson
2002-12-17 20:19:37 +00:00
obrien
5d24b0ca56 Strip out any .comment ELF sections from crunchgen'ed binaries. 2002-12-17 20:18:13 +00:00
murray
cef26dbbe5 Move the creation of the DRIVERS.TXT file to a more appropriate area
of this file, so it will be created for other platforms that use a
third floppy disk, not just i386.

Approved by:	re
2002-12-13 06:54:33 +00:00
bmah
2efe31ec15 Add ${BUILDNAME} and ${TARGET} to the filenames of ISO images
generated during release builds.

For the most part, re@ was doing this manually before putting ISO images
on ftp-master, but not always.  This should make naming more consistent
and descriptive.

Requested by:	jason andrade <jason@dstc.edu.au>, hubs@
Approved by:	re (rwatson)
MFC after:	1 month
2002-12-10 16:35:44 +00:00
murray
1bc2e29c9e Only create the DRIVERS.TXT file on i386 for now.
Approved by:	re
2002-12-09 16:42:23 +00:00
murray
daebc41b6b Create DRIVERS.TXT file to describe the contents of drivers.flp.
Approved by:	re
2002-12-09 16:14:46 +00:00
des
d6f1c9c9c0 Add lib/libfetch and usr.bin/fetch to FIXCRYPTO since they need the crypto
libraries for SSL support.

Approved by:	re (rwatson)
2002-12-03 04:02:13 +00:00
nyan
03dc66d163 Export NO_CPU_CFLAGS and NO_CPU_COPTFLAGS to chroot. 2002-11-18 11:16:44 +00:00
nyan
c819dd8860 Copy from ${EXTLOCALDIR} to ${CHROOTDIR}/usr/local if EXTLOCALDIR is defined. 2002-11-17 13:35:12 +00:00
jhb
dc6f79131d Rework the checking out of the doc, src, and ports trees a bit to make it
more manageable.
- Add some helper variables (CVS_{SRC,DOC,PORTS}ARGS) to be used when
  using CVS to checkout files.  We stick release tags in these helper
  variables if they are defined and then use only one cvs command instead
  of two cvs commands with an .ifdef to choose between them.
- rm the old src/doc/ports directories as separate commands from the
  CVS comands so that the rm commands don't need to be duplicated.
- Simplify the DOMINIMALDOCPORTS case by overriding RELEASEPORTSMODULE to
  be ${MINIMALDOCPORTS} thus removing yet another nearly-duplicate cvs
  command in an .ifdef.
- Add support for grabbing src/ and doc/ from external directories
  specified via EXTSRCDIR and EXTDOCDIR instead of from CVS.  The same
  is not done for ports/ quite yet as the DOMINIMALDOCPORTS case is a
  bit tricky.

The rerelease target scripts have not been changed to use the helper
variables yet, so there is still some room for improvement.

Submitted by:	kuriyama (4)
2002-11-15 22:03:25 +00:00