Commit Graph

6709 Commits

Author SHA1 Message Date
Luigi Rizzo
c29b80b1ff update the picobsd script to build with GCC and not CLANG 2013-10-16 16:46:15 +00:00
Glen Barber
58ddb0a684 Reduce disc1.iso image size by installing the userland with
the WITHOUT_PROFILE=1 option set, trimming 56MB from the image.

Approved by:	re (glebius)
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2013-10-13 15:49:50 +00:00
Glen Barber
8fdf27c6d7 Remove hash generation from release.sh, as it is run as part of
the 'install' target in the release/Makefile.

MFC after:	3 days
Submitted by:	jhb
Approved by:	re (hrs)
Sponsored by:	The FreeBSD Foundation
2013-10-09 22:00:03 +00:00
Dag-Erling Smørgrav
56b72efe82 Remove BIND.
Approved by:	re (gjb)
2013-09-30 17:23:45 +00:00
Glen Barber
8a9c704b40 Remove extra 'MAKE_FLAGS' line.
Submitted by:	jhb
Approved by:	re (marius)
Sponsored by:	The FreeBSD Foundation
2013-09-19 19:49:31 +00:00
Nathan Whitehorn
348b50d91f CDs are not partitioned, so this is not correct syntax for loading from
ISO 9660. Omit the partition ID.

Approved by:	re (kib)
MFC after:	2 weeks
2013-09-17 17:30:49 +00:00
Luigi Rizzo
cbb61c6b61 comment out some stale loader configurations. 2013-09-06 17:19:57 +00:00
Luigi Rizzo
c58e667d47 generate multiple host keys and do that unconditionally 2013-09-06 17:18:43 +00:00
Luigi Rizzo
d3d4b31dd4 r253616 nuked BINMAKE so we need to adapt to the new definition 2013-09-06 17:16:33 +00:00
Will Andrews
0ca8e70cb0 Fix 'make release' on older hosts: use buildworld legacy utilities.
Newer FreeBSD installs require an install(1) that supports the new flags.

This adds ${MAKEOBJDIRPREFIX}${.CURDIR}/tmp/legacy/{bin,usr/{bin,sbin}}
to the PATH while generating an mtree database for 'make release'.

Note that the problem only exists here because mm-mtree.sh generates
its own object tree to avoid mucking with the existing one, which
results in a PATH containing legacy utility dirs that are empty.
2013-08-27 04:42:42 +00:00
Glen Barber
4756295ebb Remove get_rev_branch(), functionality exists in the release/Makefile.
Submitted by:	hrs
2013-08-13 21:01:23 +00:00
Glen Barber
a1020436ea - Only set ARCH_FLAGS (TARGET/TARGET_ARCH) if specified, otherwise
allow the toolchain to detect the correct values.

- Remove {SRC,DOC,PORT}REVISION variables, and use 'branch@rNNNNNN'
  as the {SRC,DOC,PORT}BRANCH variables.

- Only set default KERNEL_FLAGS and WORLD_FLAGS make(1) jobs if the
  number of CPUs is greater than 1.

Submitted by:	hrs
2013-08-13 20:16:14 +00:00
Marcel Moolenaar
849bfe07e3 Fix the bootable CD:
o   We need wait a bit before attempting the root mount. The CD drives
    on HP machines (typical) go through the management controller so
    that it can be virtualized. In practice what this means is that it
    is slow to detect and attach.
o   Tell the kernel what to use as the root file system. The /etc/fstab
    trick doesn't work, because we're on the EFI-compatble file system.
2013-08-03 20:14:29 +00:00
Marius Strobl
bd376402de - Once we have shifted arguments thrice, base-bits-dir is $1 rather than $4.
Introduce $BASEBITSDIR for clarity and in order to avoid repeating this
  mistake in the future. Fixing this ensures that we pick up the newly built
  boot code and loader native to the target, which is especially relevant
  when cross-building release images.
- It is pointless to specify an endianess for ISO 9660 images so strip that.

MFC after:	3 days
2013-07-26 14:23:25 +00:00
Glen Barber
8cec99b682 For consistency with previous releases, name the cdrom install
cd 'disc1.iso'.

Discussed with:	re@ team
Approved by:	kib (mentor)
MFC after:	3 days
X-MFC-To:	stable/9 only
2013-07-22 12:07:57 +00:00
Glen Barber
3c334738ab Create memstick images with the '.img' filename extension.
Requested by:	many
Approved by:	kib (mentor)
MFC after:	3 days
X-MFC-To:	stable/9 only
2013-07-21 05:23:34 +00:00
Glen Barber
74e0b3f151 - Add SRC_FORCE_CHECKOUT configuration option to force svn to checkout
the src/ tree into a directory that contains files/directories, such
  as a case where a custom kernel configuration file is specified.

- Allow specification of multiple KERNCONFs to pass to 'make release'.

- Move evaluation of NODOCS/NOPORTS earlier, and set based on how the
  release process expects these options to be evaluated.

- Wrap KERNCONF specification in double quotes, and use 'eval' so multiple
  kernel configurations do not cause the build to fail in strange ways.

- Set WITHOUT_X11 for the port build flags for the documentation toolchain
  build.  Also run 'clean distclean' targets during port build.

PR:		180192
Submitted by:	Anes Mukhametov
MFC after:	3 days
Approved by:	kib (mentor, implicit)
2013-07-05 22:04:49 +00:00
Glen Barber
45c3050d36 Revert r252126, r252124, r252121.
Submitted by:	hrs
2013-06-24 09:18:41 +00:00
Glen Barber
fe278f1b5b Trim copyright years, and add the current year. 2013-06-23 20:24:43 +00:00
Glen Barber
4db527d7ab Rewrap after previous commit. 2013-06-23 20:20:34 +00:00
Glen Barber
2debd10c90 Add a new macro, release.current.release, to denote the head/ branch
with the -RELEASE suffix.  This fixes the incorrect text on the -CURRENT
errata page from showing '10.0-CURRENT' followed by 'until 9.1-RELEASE is
released.'
2013-06-23 20:19:00 +00:00
Glen Barber
6072427498 Add missing copyright years. 2013-06-23 19:47:59 +00:00
Glen Barber
13f8962353 If MAKE_CONF and/or SRC_CONF are set and not character devices,
copy to chroot to use with release build.

Submitted by:	Garrett Cooper (original version)
Approved by:	kib (mentor)
MFC after:	1 week
2013-06-22 22:12:24 +00:00
Glen Barber
00af300751 Fix OSVERSION variable within PBUILD_FLAGS.
Submitted by:	Garrett Cooper (in part)
Approved by:	kib (mentor)
MFC After:	1 week
X-MFC-With:	r251652
X-MFC-To:	stable/9 only
2013-06-16 17:54:56 +00:00
Glen Barber
62fed16cb9 Add new script to run release builds. The script is heavily based upon
the release/generate-release.sh script by nwhitehorn.

This script can use optional configuration file to override defaults,
making running multiple serialzied builds with different specific
configurations or architecture-specific tunings quite easy.

Sample overrideable options are included in the release.conf.sample
file.

Approved by:	kib (mentor)
MFC After:	2 weeks
X-MFC-To:	stable/9 only
2013-06-12 13:15:28 +00:00
Nathan Whitehorn
9e4062edd3 Add missing copyright notice. 2013-06-12 12:38:12 +00:00
Tijl Coosemans
53089271a1 Convert old make variable modifiers :U and :L to bmake :tu and :tl.
Reviewed by:	sjg
2013-06-02 11:44:23 +00:00
Glen Barber
2acbe4f044 Fix typo introduced in r251084.
MFC after:	1 month
X-MFC-With:	r251084
2013-05-28 23:46:13 +00:00
Glen Barber
4e02fd950c r245757 introduced warning output if update method is set to CVS_UPDATE
or SUP_UPDATE.

CVS exporter for head/ is turned off for nearly one month now.

It is finally time to swing the ax at these update methods.

Reviewed by:	eadler
MFC after:	1 month
2013-05-28 23:43:47 +00:00
Hiroki Sato
a9f506f712 Fix build after doc/projects/xml-tools integration. 2013-05-19 05:49:21 +00:00
Gabor Kovesdan
452f8fc444 - Update the release notes to DocBook 4.5 XML to build with the
updated documentation tree
2013-05-17 18:53:29 +00:00
Luigi Rizzo
6b7724bccf use a plain 'make toolchain' to build toolchain, and
support parallel make on this stage.
2013-05-05 20:59:22 +00:00
Luigi Rizzo
6e873a2d39 remove a leftover comment 2013-05-05 18:54:25 +00:00
Luigi Rizzo
544e778f1a support for sshd (newer config file location) 2013-04-30 13:20:11 +00:00
Gregory Neil Shapiro
c54a8568fb Note merge to head for sendmail 8.14.7. 2013-04-21 17:13:58 +00:00
Xin LI
5a121e478c Fix a few typos.
Reviewed by:	gjb
MFC after:	3 days
2013-04-12 02:01:17 +00:00
Glen Barber
7d09231d37 - Update hardware notes to reflect that amd64 is no longer "young"[1]
- Bump copyright year

Patched by:	skreuzer
2013-03-28 22:52:42 +00:00
Luigi Rizzo
afad0b868f the NO_PAM option has been finally removed in favor of WITHOUT_PAM. 2013-02-18 02:08:41 +00:00
Hiroki Sato
de17cbcc7e - Add CHECKSUM.* support in Makefile[1].
- Use ln -fs to create a symlink.
- Remove pkgadd for docports.
- Use WITHOUT_JADETEX=yes instead of WITH_JADETEX=no.
- Add {WORLD,KERNEL}_FLAGS to [BTWK]MAKE.
- Use makefs(8) and gpart(8) for sparc64 ISO image[2].
- Add publisher option to makefs(8)[2].

Based on work by:	gjb[1]
Discussed with:		marius, nwhitehorn[2]
2013-02-03 10:26:24 +00:00
Nathan Whitehorn
4812dba4dc Fix typo and simplify condition.
Submitted by:	Christoph Mallon <christoph dot mallon at gmx dot de>
2013-01-21 14:06:33 +00:00
Nathan Whitehorn
4ba25c5ab2 More automated install support: if a script exists at /etc/installerconfig,
point the installer there and then reboot without asking questions. This
design subject to future change.
2013-01-21 01:55:54 +00:00
Marcel Moolenaar
9328129346 Add now missing color.4th. 2013-01-12 23:44:13 +00:00
Hiroki Sato
7da8fb21cd Set WITHOUT_SVN=yes for textproc/docproj.
Submitted by:	gjb
2013-01-12 22:41:29 +00:00
Hiroki Sato
0e4b6f5ed7 ISO 9660 specification allows only "d-characters" and "a-characters" in the
Volume Descriptor (section 7.4).  In short, upper-case alphanumeric + some
symbols only.  While the makefs utility automatically converts the characters,
$LABEL should be consistent in the scripts.
2013-01-08 21:13:58 +00:00
Luigi Rizzo
6be79c7b99 enable building picobsd with CC instead of CLANG 2012-12-23 22:41:54 +00:00
Eitan Adler
839f11a4fe A number of places in the source tree still reference cuad.* after
sio(4) was deprecated by uart(4).

s/cuad/cuau/g/

PR:		docs/171533
Reviewed by:	imp
Approved by:	cperciva (implicit)
MFC after:	3 weeks
2012-12-08 22:16:36 +00:00
Glen Barber
9f5907dbbe Prevent including .zfs snapshot directories in the src.txz
distribution.  This can happen if the src/ tree checkout is
within its own ZFS dataset, and the 'snapdir' ZFS property
is set to 'visible.'

Approved by:	hrs
MFC after:	3 days
X-MFC-To:	stable/9 only
2012-11-11 21:52:18 +00:00
Glen Barber
0c06291012 Belatedly (by many years!) bump the version numbers in the src/-side
documentation pages.

Saddened by:	this file
2012-11-09 04:52:15 +00:00
Ed Maste
c4acc58d1d Exclude potential circular symlink
This does not occur with normal release builds but can happen when reusing
these release parts for other purposes.
2012-10-15 17:19:47 +00:00
Ed Maste
f0c51ba5c7 Exclude potential circular symlink when creating src tarball.
Normal release builds are not affected by this but it can happen if using
these release bits against a work tree.

Sponsored by: ADARA Networks
2012-10-11 18:41:32 +00:00
Gabor Kovesdan
2914b51fcb - Rename .sgml files to .xml to track the recent doc changes
MFC after:	1 day
2012-10-01 11:26:49 +00:00
Glen Barber
c87363c006 - Allow cross-architecture builds with 'generate-release.sh', which
is set by specifying '-a <arch>'.  (Only supported for i386 on amd64
   and powerpc on powerpc64 currently).
 - Change how textproc/docproj is installed:
   o Attempt to install from pkg(8);
   o Fall back to pkg_add(1) if pkg(8) installation is not
     successful;
   o Fall back to installing from ports as last resort.
 - Ensure the script is run by root[1].
 - Get OSVERSION from param.h[1].

Provided by:	glebius [1]
Reviewed by:	nwhitehorn, kensmith
Approved by:	kensmith
MFC After:	2 weeks
X-Needs-MFC:	r240586, r240587, r240588
2012-09-26 18:04:16 +00:00
Glen Barber
214e898796 Update usage() in comment section.
Remove CVS_* variables in comments.

MFC after:	1 week
X-MFC-With:	r240586
2012-09-17 02:35:00 +00:00
Glen Barber
738257e157 Update generate-release.sh script:
- Use svn for ports and doc trees
 - When installing a binary textproc/docproj package,
   switch pkg_add(1) to pkg(8) [1]

Reviewed by:	nwhitehorn
Approved by:	nwhitehorn
Enhanced by:	glebius [1]
MFC After:	1 week
X-MFC-To:	9-only
2012-09-17 02:23:03 +00:00
Gabor Kovesdan
a45f4ed60b - Fix build of French release notes with the XMLified doc tree 2012-09-14 21:36:01 +00:00
Gabor Kovesdan
50efb19066 - Fix build of the German release notes with the XMLified doc tree 2012-09-14 21:12:41 +00:00
Glen Barber
aacc86a4ec Revert previous commit...
Pointyhat to:	gjb (myself)
2012-09-14 20:51:35 +00:00
Glen Barber
f2fb6260e5 Fix man2hwnotes.pl script, which should fix the RELNOTES build. 2012-09-14 19:52:33 +00:00
Gabor Kovesdan
f8681089d0 - Make the release notes build with the XMLified doc tree 2012-09-14 18:33:12 +00:00
Ed Schouten
902d9eafbf Rework all non-contributed files that use `struct timezone'.
This structure is not part of POSIX. According to POSIX, gettimeofday()
has the following prototype:

	int gettimeofday(struct timeval *restrict tp, void *restrict tzp);

Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is
not used). Remove dead error handling code. Also use NULL for a
nul-pointer instead of integer 0.

While there, change all pieces of code that only use tv_sec to use
time(3), as this provides less overhead.
2012-09-01 14:45:15 +00:00
Luigi Rizzo
6b21af5af4 use MALLOC_PRODUCTION for picobsd builds, be more frugal in memory usage. 2012-08-27 16:42:32 +00:00
Bernhard Schmidt
802db7b616 Document update of 802.11s IE identifiers. 2012-08-24 13:55:22 +00:00
Christian Brueffer
0a82eeb91c Automatically generate hardware notes for bwn(4). 2012-06-28 10:21:25 +00:00
Christian Brueffer
b31c2886d3 Automatically generate hardware notes for bxe(4). 2012-06-28 10:12:46 +00:00
Dag-Erling Smørgrav
5d75780525 Remove dead code. 2012-06-12 15:32:14 +00:00
Luigi Rizzo
23eb7ebf94 Omit clang when building picobsd, it takes way too long.
Also note that loader.conf support is incomplete.
2012-05-03 20:50:55 +00:00
Nathan Whitehorn
6f4fc34468 Make sure not to tar up CVS directories if this ports tree is a CVS
checkout.

PR:		bin/165868
MFC after:	5 days
2012-03-09 02:23:03 +00:00
Hiroki Sato
876acefaaf - Clean up extra ${.OBJDIR}.
- Add ${IMAGE} for the supported image files.  This fixes the install target
  on FreeBSD/pc98.
- Use "mkdir -p" instead of "-mkdir" consistently.

Reviewed by:	nwhitehorn
2012-03-08 01:47:12 +00:00
Alexander Motin
41fe4950b7 Add ahci(4) and siis(4) to the hardware notes.
MFC after:	1 week
2012-03-02 05:16:53 +00:00
Christian Brueffer
4304af4a28 Add snd_hdspe(4) to the hardware notes. 2012-03-01 19:54:35 +00:00
Christian Brueffer
2241f41d61 Add isci(4) to the hardware notes.
MFC after:	3 days
2012-02-23 18:54:33 +00:00
Christian Brueffer
e4c7674164 Add oce(4) to the hardware notes.
MFC after:	3 days
2012-02-20 19:35:54 +00:00
Yoshihiro Takahashi
c991a64747 - Set TERM to cons25w on pc98 because we still use old cons25w terminal
to show Japanese.
- Add cons25w to terminal lists.

Reviewed by:	nwhitehorn
MFC after:	1 week
2012-02-07 10:59:19 +00:00
Dimitry Andric
5e0a19bdee Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.

MFC after:	1 week
2012-02-07 09:27:07 +00:00
Nathan Whitehorn
d5d7f81a2c Fix installation script after r230482 -- a missing character apparently.
Now, back to convalescing.
2012-02-04 23:00:27 +00:00
Nathan Whitehorn
3fa1e8a27c Part of r230482 didn't actually work. Revert it for now. This means PR
161047 isn't actually fixed.

PR:		bin/161047
2012-01-23 16:17:54 +00:00
Nathan Whitehorn
a630c48bfa Do a test in a better way. Editing files after testing them is never wise. 2012-01-23 15:50:16 +00:00
Nathan Whitehorn
dc8fd8f2b7 Per popular demand, if installing from a graphics terminal, run the
installer on a VTY with no kernel messages (VTY 2), show the installer
log in real time on VTY 3, and spawn a shell on VTY 4.

PR:		bin/161047, bin/161048
MFC after:	2 weeks
2012-01-23 15:44:52 +00:00
John Baldwin
b2b60b450c Add support for the Em command. This restores a missing 'not' in the
description of snd_emu10kx(4).

Reviewed by:	simon
MFC after:	1 week
2012-01-19 17:29:54 +00:00
Gleb Smirnoff
4347075067 Use getopts instead of getopt(1).
Suggested by:	jilles
2012-01-15 09:27:00 +00:00
Gleb Smirnoff
d6ba7d93ba Restore functionality to pack several kernels into release. All
kernels specified by KERNCONF are built and packed into release.
The first one is packed into kernel.txz, all others to
kernel.CONFIG.txz.

The first one is installed on bootables in /boot.
2012-01-15 08:36:25 +00:00
Gleb Smirnoff
75fff7e8ef Autoguess number of make jobs based on hw.ncpu. MAKE_FLAGS
can override this. While here move 'mkdir' down below 'set -e'.
2012-01-14 14:43:22 +00:00
Gleb Smirnoff
404fa74372 - Add possibility to build release from a certain revision, supplied
via -r.
- To ease adding new features, roll out a getopt loop here.

Reviewed by:	nwhitehorn
2012-01-14 09:57:13 +00:00
Christian Brueffer
82d1a3cac3 Add hpt27xx to the hardware notes,
While here, add the 2012 copyright.

MFC after:	1 week
2012-01-11 18:38:52 +00:00
Ulrich Spörlein
b07e9f3fac Spelling fixes for release/ 2012-01-07 16:09:43 +00:00
Luigi Rizzo
ef632da67a 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.
2012-01-04 23:00:25 +00:00
Luigi Rizzo
60a5d89732 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)
2012-01-04 19:37:25 +00:00
Eitan Adler
04885212b1 - Add some information about sh(1) changes.
Requested by:	jilles (content)
Reviewed by:	gjb (doc)
Approved by:	jilles
2011-12-25 18:15:31 +00:00
Eitan Adler
5458547314 - The -h option was removed shortly after it was added
- ZFS is now up to version 28
- sysinstall(8) is not supported in -CURRENT

Reviewed by:	pgj
Approved by:	jilles
2011-12-25 18:15:24 +00:00
Marius Strobl
abc8890e9d - Based on a report on sparc64@ move V245 to the list of known working
machines.
- Mention that V480 with broken centerplanes have a chance of working with
  the WAR in the upcoming 8.3-RELEASE and 9.0-RELEASE.

MFC after:	3 days
2011-11-27 16:50:13 +00:00
Marius Strobl
3af069c5a3 Deorbit the broken amd(4) (see PR 124667), which was superseded by esp(4)
as of r227006.
2011-11-25 19:29:21 +00:00
Luigi Rizzo
61f49b5bc9 some tweaks to build picobsd for different architectures. 2011-11-23 12:05:39 +00:00
Christian Brueffer
d043c77792 Add 2010 and 2011 copyrights. 2011-11-19 22:14:08 +00:00
Christian Brueffer
1a1f41b8fe Add sfxge(4) to the hardware notes. 2011-11-18 16:54:22 +00:00
Nathan Whitehorn
3aad2a9d15 Further automate production release generation by naming files the right
things and generating checksums.

MFC after:	1 week
2011-11-15 18:49:27 +00:00
Christian Brueffer
a38f2acf11 Re-apply r227466 to generate hardware notes for mps(4) and mvs(4), the issues
were fixes.

Thanks to:	gjb, manolis
Pointy hat ++:	brueffer
MFC after:	3 days
2011-11-14 23:01:08 +00:00
Glen Barber
3bfc8044d9 Revert 227466:
- mvs.4 uses nested '.Bl' tags which appears to confuse man2hwnotes.pl
for hardware note generation

- mps.4 also breaks the build, but I haven't yet identified why
2011-11-13 01:47:31 +00:00
Christian Brueffer
c71c6f5abd Added mps(4) and mvs(4).
MFC after:	3 days
2011-11-12 10:30:14 +00:00
Marcel Moolenaar
fd1c5f4365 Add check-password.4th and screen.4th to the boot image. They are
needed by the loader.
2011-11-06 21:57:12 +00:00
Christian Brueffer
8814105fe1 Add qlxgb(4) to the hardware notes.
MFC after:	3 days
2011-11-06 20:49:17 +00:00
Nathan Whitehorn
4a383558ce Missed file in r225937 (sysinstall removal). 2011-10-12 15:34:25 +00:00
Nathan Whitehorn
986e0c7801 Use UFS labels and bsdlabels (like the 8.x memsticks) instead of GPT to
fix problems with some BIOSes.

MFC after:	3 days
2011-10-09 16:23:04 +00:00
Nathan Whitehorn
e59e2d8ec7 Farewall, sysinstall! You served us well for many years, but 10.0 is one
digit beyond your time.

Various sysinstall dependencies (e.g. libftpio, libdisk, libodialog, etc.)
will be cleaned up in coming days. Some will take longer than others due to
a few other consumers (tzsetup and sade).
2011-10-03 15:13:09 +00:00
Dag-Erling Smørgrav
0b5056f5ef Don't force active mode FTP. 2011-09-27 19:54:58 +00:00
Ken Smith
8a3b6cc1e1 Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasing
it from the 9.0-RELEASE release cycle code freeze.

Approved by:	re (implicit)
2011-09-26 02:27:04 +00:00
Nathan Whitehorn
6d02d4cbc5 Inquire about terminal type if starting from a serial console and do
not configure the host's networking if netbooted [1]. Also fix FTP
installations behind some firewalls [2].

PR:		bin/159583 [2]
Reported by:	stas [1]
Approved by:	re (kib)
2011-09-17 09:25:45 +00:00
Christian Brueffer
5ee47a86cb Auto-generate hardware notes for vxge(4).
Approved by:	re (kib)
2011-08-25 21:20:11 +00:00
Sean Bruno
672d7ddbcc Allow release generation from a WORLDDIR that is not /usr/src
PR:		misc/159666
Submitted by:	Test Rat <ttsestt@gmail.com>
Reviewed by:	Nathan Whitehorn <nwhitehorn@freebsd.org>
Approved by:	re (kib)
2011-08-18 16:54:04 +00:00
Nathan Whitehorn
11f6a0164f Provide a kboot.conf to allow powerpc64 install media to be booted on
Playstation 3 consoles running kboot or petitboot.

Approved by:	re (bz)
2011-08-14 14:36:32 +00:00
Yoshihiro Takahashi
09abcc01cf Allow to build a release for stable/[78] on a current box and vise versa.
Approved by:	re (hrs)
MFC after:	1 week
2011-08-11 13:15:11 +00:00
Yoshihiro Takahashi
6fdce145de Fix building a release with old release scheme. This catches up with
renaming from Makefile to Makefile.sysinstall.

Approved by:	re (hrs)
2011-08-11 13:13:08 +00:00
Marius Strobl
63788cdff4 The release/pc98/mkisoimages.sh added as part of r221466 now also takes "-b"
to indicate the creation of a bootable image.

Approved by:	re (kib)
2011-08-04 14:38:30 +00:00
Andriy Gapon
88e14bfb6a fix a typo/tautology in the release documentation
Approved by:	re (kib)
MFC after:	1 week
2011-07-30 21:09:45 +00:00
Andriy Gapon
235cc4c620 update smp related documentation after recent changes
Remove references to machdep.hlt_logical_cpus and
machdep.hlt_cpus sysctls and tunables.
Document machdep.hyperthreading_allowed and
hint.lapic.X.disabled tunables.

Prompted by:	ru
Proofreading:	bf
Reviewed by:	jhb
Approved by:	re (kib)
2011-07-30 20:42:14 +00:00
Nathan Whitehorn
86354c8d38 Mount memsticks read-only by default to prevent them being filled by
user modifications and subsequently preventing a functioning installation.

Approved by:	re (kib)
2011-07-30 00:51:36 +00:00
Nathan Whitehorn
bfc3bab865 Per request of the docs team, install docs as packages, instead of via
the normal distfile mechanism. Thanks to Marc Fonvieille for the patch and
for putting up with me taking entirely too long to commit this!

Submitted by:	blackend
2011-07-09 23:01:54 +00:00
Marcel Moolenaar
ff06cd0206 Add a trivial script for creating memstick images. These are not
bootable yet, but proven to be useful without it already.
2011-07-04 17:03:19 +00:00
Hiroki Sato
7d4c35c817 Bump &release.manpath.*;. 2011-06-23 02:38:06 +00:00
Hiroki Sato
97a9e26dd8 Remove links to mirrorlist.FreeBSD.org.
Submitted by:	ryusuke
Reported by:	gavin, brucec
2011-06-23 02:35:55 +00:00
Nathan Whitehorn
01dae98e72 Make the bootonly CD smaller by discarding static libraries that are not
useful without a toolchain.
2011-06-15 23:56:40 +00:00
Nathan Whitehorn
6e352319b6 Do not install the rescue tools onto the install CD. Since it is read
only, they are very unlikely to be needed and take up a great deal of
space.
2011-06-15 23:38:15 +00:00
Gregory Neil Shapiro
c495aec412 sendmail has been updated to 8.14.5 2011-06-14 06:45:48 +00:00
Nathan Whitehorn
bb6d0c6c0c Add an MBR to our release media to aid booting some IBM systems. 2011-06-12 00:14:57 +00:00
Marcel Moolenaar
ad1de6722c Don't clobber the hosts /etc/fstab. $1 is empty at this point. 2011-06-06 18:25:11 +00:00
Marcel Moolenaar
4032939145 Fix ia64 ISO creation:
o   boot/mfsroot.gz is no more. Copy it only when it exists so as still
    to be compatible with Makefile.sysinstall.
o   while here, make ispfw.ko optional as well.
o   '-b bootimage' is not a valid argument for makefs. What was meant
    was '-o bootimage'.
o   create the boot image in the current directory so that makefs can
    find the file. Previously it had to be created under $BASE because
    that's how mkisofs wanted it.
2011-06-06 01:52:15 +00:00
Nathan Whitehorn
0bd47e8362 As requested by many people, with final prodding from Jason Hall, fix this
so that running make release causes make obj to be run before doing
anything. This fixes a bug wherein, when run for the first time, and
without -DNOSRC, make release would attempt to recursively tar up the src
directory including its own output and enter an infinite loop.

While here, make the cross-building stuff work a little more the way it
should if only one of TARGET/TARGET_ARCH is specified.
2011-05-18 17:39:28 +00:00
Attilio Rao
a072b80e7e Remove actual files supporting sun4v.
Approved by:	re
2011-05-14 01:56:48 +00:00
Attilio Rao
4b547324c0 Disconnect sun4v architecture from the three.
Some files keep the SUN4V tags as a code reference, for the future,
if any rewamped sun4v support wants to be added again.

Reviewed by:	marius
Tested by:	sbruno
Approved by:	re
2011-05-14 01:53:38 +00:00
Nathan Whitehorn
df7c03cf8b Fix pSeries/PAPR boot CD construction after actual testing. It seems that
IBM SLOF is (a) case-sensitive and (b) accepts only booting files in
certain subdirectories of the CD.
2011-05-12 22:31:13 +00:00
Nathan Whitehorn
2a2fbadf4f Add (somewhat speculative) bootable CD support for PAPR/pSeries-type
systems. In principle, FreeBSD should run on at least some of these
already, and support for the remainder will hopefully show up eventually,
so add this while I'm thinking about it.
2011-05-12 15:03:17 +00:00
Nathan Whitehorn
88381ca3e3 Simplify this script somewhat, following excellent suggestions from
Ed Schouten.
2011-05-05 19:17:55 +00:00
Nathan Whitehorn
87930d9da2 Convert IA64 ISO script to use makefs instead of mkisofs. 2011-05-05 14:16:40 +00:00
Nathan Whitehorn
eadacd1328 Garbage collect some unused variables and stray debug code.
Submitted by:	marius
2011-05-05 13:55:43 +00:00
Nathan Whitehorn
cf6ba592c5 Repair release CD generation on PC98 and sun4v after release building
changes, and backport the new logic (ISO images are TARGET dependant, not
TARGET_CPUARCH dependant) to Makefile.sysinstall. While modifying ISO
image scripts, change several archs to use makefs (from base) instead of
mkisofs (from ports) which makes release CD generation both faster and
self-hosting.
2011-05-04 23:41:11 +00:00
Nathan Whitehorn
d16401694f Change the way powerpc bootable CDs are generated to work around a bug
in hybrid image generation in cdrtools. This produces a small HFS partition
containing loader, mapped in by an oddly-formed APM table using a new
feature in makefs. This does not appear to work yet on early-model G3
systems, which will be fixed later, but produces bootable CDs on
everything else.
2011-05-04 23:34:10 +00:00
Nathan Whitehorn
d40df3b2f2 Make sure to run make obj before release. Trying to run them in one step
doesn't always work reliably.
2011-05-04 02:52:41 +00:00
Nathan Whitehorn
61741fd7b2 Mention the memstick target here. 2011-04-18 13:20:54 +00:00
Nathan Whitehorn
8ef63d0dcd Don't do make release and make install in one step. Setting DESTDIR for
make release has deleterious consequences.
2011-04-11 15:03:01 +00:00
Nathan Whitehorn
299a8b95ac Add an install target to release/Makefile instead of grubbing around
(and requesting that users grub around) in /usr/obj. Also make sure that
make clean removes the bootonly media and clean up that target a little.
2011-04-11 14:30:45 +00:00
Nathan Whitehorn
7c3d04b87b Allow the user to use the live environment post-installation, as well
as improving error handling.
2011-04-09 14:25:58 +00:00
Nathan Whitehorn
6f7457a71f Copy all generated ISO images into the release area. 2011-03-27 23:46:52 +00:00
Nathan Whitehorn
46c413fe06 Add infrastructure for generation of boot-only ISO images. These have a
reduced world, though still reasonably complete for fixit purposes.
2011-03-27 23:46:12 +00:00
Nathan Whitehorn
3a20439f1c Cause the release target to set up its object directory. It is designed
to be a meta-target, and having it do this avoids it spewing files all
over the source tree by default (and possible recursive tarring if
distributing a src tarball).
2011-03-26 13:58:44 +00:00
Nathan Whitehorn
62800afa46 Add support for memstick generation on PowerPC. This is a little suboptimal
since glabel doesn't know about APM partitioning yet, but works well enough.
2011-03-23 16:22:08 +00:00
Nathan Whitehorn
0877c11eda Use labels to find release media instead of hard-coded device paths. This
makes booting more reliable (and working at all on USB sticks). While here,
move responsibility for setting up fstab into the various platform mk-*.sh
scripts.

Suggested by:	many
2011-03-22 01:14:53 +00:00
Nathan Whitehorn
c0d25a4bbe Add support for checking out ports and doc trees from a CVS repository,
in addition to CVSUP, and add support for alternate SVN roots for src.

Requested by:	jhb
2011-03-19 23:06:17 +00:00
Nathan Whitehorn
12ad0bb143 Thanks to sysinstall for its 15 years of service. And now to sleep,
perchance to dream...
2011-03-14 13:47:17 +00:00
Nathan Whitehorn
3fc77bec6b Fix some typos due to unremoved commented-out lines. A great big pointy
hat goes to me for this one.
2011-03-13 18:02:28 +00:00
Nathan Whitehorn
b70047d413 Add generation of an installation manifest containing SHA256 checksums as
well as package descriptions and add code in the installer to check the
checksums.
2011-03-13 17:15:31 +00:00
Nathan Whitehorn
5921b7ea2e Connect the full doc build (Handbook, etc.) to the build. This is not built
if no doc checkout is found.
2011-03-13 15:08:06 +00:00
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
7ddcfc6c33 Fix bugs and make improvements to documentation renaming.
Submitted by:	Garrett Cooper
2011-03-11 17:47:59 +00:00
Nathan Whitehorn
b94338d4f0 Add support for generating release documentation. Note that, due to the
release documentation build being broken at the moment, this is only
partially functional.
2011-03-11 17:01:14 +00:00
Nathan Whitehorn
216c7d1766 Add a wrapper script for Makefile.bsdinstall that does the source
checkout/chroot/compile/release dance that the existing release Makefile
does for those who want a totally pristine release build.
2011-03-11 16:58:21 +00:00
Nathan Whitehorn
6cc28b780f Remove a redundant rm and avoiding tarring up work directories in ports
trees.
2011-03-09 15:02:23 +00:00
Nathan Whitehorn
68b8b11cd0 Make this makefile a little more make-like (e.g. build only things that
need to be rebuilt) and add an FTP-area target. Next will be docs and
memstick builds.
2011-03-06 21:19:33 +00:00
Nathan Whitehorn
8cfdf36d27 Add additional release makefile for bsdinstall-based media, along with
support files. This does not change the default behavior of anything.

To make bsdinstall-based media, pre-build world and GENERIC, then run
the release target in Makefile.bsdinstall.
2011-03-02 16:06:57 +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
Martin Matuska
8dc4928bf7 Add release notes for xz update to 5.0.0. 2011-02-11 14:55:17 +00:00
Luigi Rizzo
7f2428704d 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
2011-02-05 23:03:40 +00:00
Yoshihiro Takahashi
9f9569662f Fix making a release. The old libdialog was renamed to libodialog. 2011-01-14 10:56:44 +00:00
Nathan Whitehorn
06b000f542 Fix the overflowing livefs ISO by removing man pages from the HFS part of
the hybrid disk. This is a stopgap until a better solution can be found,
but lets the powerpc release build complete for the time being.

MFC after:	1 week
2010-12-15 23:43:25 +00:00
Luigi Rizzo
2f8d87d326 move the initialization of BINMAKE earler, so it is
available throughout the entire build process.

Submitted by:	Matteo Landi
MFC after:	3 days
2010-11-12 12:48:41 +00:00
Marius Strobl
0e7922867a Add gpart and glabel to the release CD mfsroot. 2010-11-07 19:23:25 +00:00
Marius Strobl
b790ac8809 - Move Sun Fire V240 to the list of known working machines.
- For the parallel stable/7 and stable/8 branches mention both releases that
  first supported a particular sparc64 machine and update the sparc64 hardware
  list regarding machines that will be supported beginning with 7.4-RELEASE.
2010-11-06 11:38:49 +00:00
Xin LI
49727e098f Add a short note about kernel modules in FIXIT mode.
MFC after:	1 month
2010-10-27 17:13:38 +00:00
Hiroki Sato
832f8c8a9b Replace an obsolete flag -L in an mkisofs(1) command line with
-allow-leading-dots to fix "make release" for FreeBSD/powerpc.

Reviewed by:	marcel
2010-10-03 13:13:10 +00:00
Luigi Rizzo
09bc43b0cf 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
2010-09-28 22:30:11 +00:00
John Hay
890ef4f4fe Chase the ports list to make snapshots work again with NOPORTS set. 2010-09-17 07:40:02 +00:00
Christian Brueffer
b039b6f4b1 sis(4) should work on all architectures now. 2010-09-06 11:02:50 +00:00
Gavin Atkinson
86893cf0d5 Merge r114010 of head/usr.bin/login/login.c into PicoBSD's login.c:
Correct the login.conf variable name used for obtaining the login prompt.

PR:		conf/44717 (indirectly)
Spotted by:	gcooper
MFC after:	1 week
2010-08-08 16:55:27 +00:00
Gavin Atkinson
84f583c47e Correct two error messages to match the failure they are reporting.
MFC after:	1 week
2010-08-08 16:20:32 +00:00
Luigi Rizzo
d47335eec9 add some modern stuff: SMP, SCHED_ULE, PREEMPTION
and support for VIMAGE
2010-07-15 16:32:59 +00:00
Nathan Whitehorn
0dd04e5470 Get powerpc64 install CDs a little closer: some powerpc things should be
used on powerpc64 as well (build scripts, for instance), and the MFS root
must be adjusted upward on powerpc64 as well.

This doesn't completely solve things: sysinstall stil needs some
persuasion to deal with a default kernel named GENERIC64.
2010-07-15 01:48:30 +00:00
Nathan Whitehorn
8bb2397180 Connect powerpc64 to the build. It is not presently part of make universe,
which will be added soon.

Reviewed by:	imp
2010-07-13 21:19:59 +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
Martin Matuska
5995fb97d9 Document ZFS upgrade to version 14, support for NFSv4 ACLs,
changes in L2ARC and zfs send.

Approved by:	delphij (mentor)
2010-06-07 06:38:12 +00:00
Martin Matuska
f0e78b02bd Document import of xz.
Approved by:	delphij (mentor)
2010-06-02 21:28:07 +00:00
Marcel Moolenaar
dbd9a3aab3 The EFI system partition used to make the CD image bootable is running
out of space. Bump it up...
2010-05-28 17:50:35 +00:00
Xin LI
241e22a783 Reorder to have -lcrypto after -larchive. Our linker doesn't seem to like
the current ordering :(
2010-05-26 18:55:40 +00:00
Xin LI
a4aa00d551 Grammar nits.
Submitted by:	b. f. <bf1783 googlemail com>
2010-05-25 22:19:51 +00:00
Xin LI
8755e33a57 libarchive now needs libcrypto and liblzma. 2010-05-25 17:48:17 +00:00
Xin LI
3ffaf7db1c Document bc/dc and nc updates. 2010-05-25 17:43:23 +00:00
Marius Strobl
f09ee54ae0 According to simon@ when referring to a company along a product just to
identify the company one shouldn't use the company trademark.

Approved by:	simon
2010-05-24 16:42:55 +00:00
Nathan Whitehorn
c42c0167fe Revise PowerPC hardware notes to reflect status for 8.1. 2010-05-23 20:00:12 +00:00
Marius Strobl
cc4ee0436a Update the sparc64 hardware list regarding machines that will be supported
beginning with 8.1-RELEASE as well as correct some existing entries and
add previously missed ones.

Approved by:	blackend
MFC after:	3 days
2010-05-23 19:46:19 +00:00
Christian Brueffer
3a8a664747 et.4 doesn't have a HARDWARE section. Unbreak the build by manually
describing the supported et(4) chips.
2010-05-13 03:56:57 +00:00
Christian Brueffer
42ebc8c692 Automatically generate hardware notes for run(4). 2010-05-12 19:24:31 +00:00
Christian Brueffer
7cd75bfd82 Add et(4), sge(4) and mwl(4). 2010-05-12 17:53:05 +00:00
Nathan Whitehorn
0d526fa829 Add gpart and glabel to the release CD mfsroot. Even if sysinstall
cannot partition disks on powerpc, this will allow the user to.

PR:		powerpc/93203
Obtained from:	ia64
MFC after:	1 week
2010-04-20 01:12:23 +00:00
Ken Smith
a3238bcf8f Shift the version of perl used by the release build process over to
perl-5.10.  This aligns the release build process with the current
default version of perl in the ports tree.

I'll MFC this to all active branches.

MFC after:	3 days
2010-04-09 14:27:17 +00:00
Ken Smith
49ac20555f Pass the HTTP_PROXY and FTP_PROXY environment variables through in addition
to FTP_PASSIVE_MODE so release building works for a machine that needs
to use a proxy.

PR:		misc/137688
Submitted by:	Michael Leun
MFC after:	2 weeks
2010-04-09 14:24:00 +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
Luigi Rizzo
28e1dd4b75 use log instead of logverbose in three places so the build won't need
input to run to completion

MFC after:	3 days
2010-02-14 15:55:30 +00:00
Luigi Rizzo
91f88f8e7a a minimal set of changes to adapt to the utmp->utmpx changes.
lastlog still not implemented, i am hoping that Ed or someone
has some idea on how to fix this, but it is really not important.
2010-02-14 15:51:36 +00:00
Nathan Whitehorn
21cc242f25 Add a description of supported PowerPC hardware to the hardware notes. 2010-02-05 16:41:19 +00:00
Gregory Neil Shapiro
88ebe73318 Note sendmail 8.14.4 upgrade 2010-01-31 19:56:37 +00:00
John Baldwin
0c61f21af5 Remove slattach from the install mfsroot since it doesn't exist anymore
to quiet a warning from crunchgen.

MFC after:	1 week
2010-01-26 15:28:00 +00:00
Ed Schouten
84bee0d7fb Remove libulog from the bootstrap again.
libulog now only provides functions that are used by various packages
from the ports tree, namely the libutempter ones. There is no reason to
link it into the crunch/fixit binaries anymore.
2010-01-21 16:56:27 +00:00
Christian Brueffer
ab43eceb0d We don't support isdn devices anymore (since May 2008).
PR:		142970
Submitted by:	Matthias Meyser <Meyser@xenet.de>
MFC after:	1 week
2010-01-19 22:44:29 +00:00