Commit Graph

7023 Commits

Author SHA1 Message Date
gjb
e0cf997269 Remove a 'set -x' that snuck in during testing.
Sponsored by:	The FreeBSD Foundation
2014-09-28 17:16:45 +00:00
gjb
2bb4ac8630 Use VMBASE in place of a hard-coded filename in the CLEANFILES list.
Sponsored by:	The FreeBSD Foundation
2014-09-28 01:53:02 +00:00
gjb
c2a91dd928 Initial commit to include virtual machine images as part
of the FreeBSD release builds.

This adds a make(1) environment variable requirement,
WITH_VMIMAGES, which triggers the virtual machine image
targets when not defined to an empty value.

Relevant user-driven variables include:

 o VMFORMATS:	The virtual machine image formats to create.
   Valid formats are provided by running 'mkimg --formats'

 o VMSIZE:	The size of the resulting virtual machine
   image.  Typical compression is roughly 140Mb, regardless
   of the target size (10GB, 15GB, 20GB, 40GB sizes have been
   tested with the same result).

 o VMBASE:	The prefix of the virtual machine disk images.
   The VMBASE make(1) environment variable is suffixed with
   each format in VMFORMATS for each individual disk image, as
   well as '.img' for the source UFS filesystem passed to
   mkimg(1).

This also includes a new script, mk-vmimage.sh, based on how
the VM images for 10.0-RELEASE, 9.3-RELEASE, and 10.1-RELEASE
were created (mk-vmimage.sh in ^/user/gjb/thermite/).

With the order in which the stages need to occur, as well as
sanity-checking error cases, it makes much more sense to
execute a shell script called from make(1), using env(1) to
set specific parameters for the target image than it does to
do this in make(1) directly.

Sponsored by:	The FreeBSD Foundation
2014-09-28 01:45:20 +00:00
gavin
0c5d6e87e3 Add ipheth(4) to the hardware notes.
MFC after:	6 days
2014-09-26 13:12:00 +00:00
brueffer
c769d49472 Add smsc(4) to the hardware notes. 2014-09-26 11:22:32 +00:00
gjb
463fa9651d When populating the dvd/packages/ directory, create
a symlink to All/pkg-*.txz in the Latest/ directory.

This allows 'pkg bootstrap' to work out-of-box if
the REPOS_DIR environment is properly set.

Tested on:	stable/10@r271848
MFC after:	3 days
X-MFC-10.1:	yes
Sponsored by:	The FreeBSD Foundation
2014-09-19 17:23:44 +00:00
pfg
c0bdd03cda simple_httpd: cosmetic cleanups.
Many tab vs space cleanups.
Use setpgid() instead of setpgrp() which is more portable,

MFC after:	5 weeks
2014-09-18 16:53:44 +00:00
gjb
3847bc3130 Set a static revision of the Crochet checkout to avoid
surprise build failures.

MFC after:	3 days
X-10.1-MFC:	yes
X-MFC-With:	r271676, r271677
Sponsored by:	The FreeBSD Foundation
2014-09-16 15:35:13 +00:00
gjb
84ac7e085c Catch up with Crochet changes to fix the WANDBOARD-QUAD
build.

Tested on:	stable/10@r271618
MFC after:	3 days
X-10.1-MFC:	yes
X-MFC-With:	r271676
Sponsored by:	The FreeBSD Foundation
2014-09-16 15:31:50 +00:00
gjb
f40c82fa1c Catch up with Crochet changes to fix the BEAGLEBONE
build.

Tested on:	stable/10@r271618
MFC after:	3 days
X-10.1-MFC:	yes
Sponsored by:	The FreeBSD Foundation
2014-09-16 15:31:12 +00:00
nwhitehorn
999ff4f617 Create /tmp/bsdinstall_etc even if we aren't starting the installer so that
dhclient can write resolv.conf when used from the live environment.

PR:		176078
MFC after:	3 days
2014-09-13 20:09:02 +00:00
gjb
59fee6caf1 Simplify dvd package population with pkg-1.3.
Submitted by:	bdrewery
MFC after:	3 days
X-MFC-With:	r271480, r271483
Sponsored by:	The FreeBSD Foundation
2014-09-12 22:20:07 +00:00
gjb
ba74d50cc9 Fix duplicate PKG_ABI in the PKG_CACHEDIR path.
MFC after:	3 days
X-MFC-With:	r271480
Sponsored by:	The FreeBSD Foundation
2014-09-12 20:16:55 +00:00
gjb
16a7ea6373 Set PKG_CACHEDIR to an 'All/' directory one level lower
to fix 'pkg repo' generating repository metadata for the
on-disc packages.

MFC after:	3 days
X-MFC-to-10.1:	yes
Sponsored by:	The FreeBSD Foundation
2014-09-12 18:52:01 +00:00
gjb
cea3546fa6 Add an arch.powerpc64 entity.
Sponsored by:	The FreeBSD Foundation
2014-09-09 19:58:55 +00:00
gjb
ef9091f941 Change how the recommended mailing list to track is
added to the footer of the release/doc/ pages by
moving a hard-coded value (that is subject to human
error to change) to release.ent where other values
are regularly changed, and adding parsing logic to
release.xsl.

Approved by:	re (implicit)
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2014-09-09 19:51:57 +00:00
gjb
75bf853405 Wrap a long line.
MFC after:	3 days
X-MFC-with:	r270417, r270418, r270455
Sponsored by:	The FreeBSD Foundation
2014-08-24 12:51:34 +00:00
gjb
6cc6bc54dc Set OSREL and UNAME_r in release/release.sh when building
ports to prevent ports build failures from killing the
release build.

MFC after:	3 days
X-MFC-with:	r270417, r270418
Sponsored by:	The FreeBSD Foundation
2014-08-24 12:50:50 +00:00
gjb
c64bc288e7 Also export UNAME_r to fix arm builds.
MFC after:	3 days
X-MFC-with:	r270417
Sponsored by:	The FreeBSD Foundation
2014-08-23 16:15:16 +00:00
gjb
bde683e1f8 Fix arm build breakage when building stable/10 on
head/.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2014-08-23 15:59:31 +00:00
gjb
92720de965 In arm/release.sh, continue if 'xdev-links' target fails
where the target is not valid (stable/10), instead of doing
per-branch evaluation on if xdev-links needs to be invoked.

Sponsored by:	The FreeBSD Foundation
2014-08-11 16:31:28 +00:00
gjb
66e227922e Comment load_chroot_env() and load_target_env() in
the release/release.conf.sample file.  The uncommented
version snuck in during testing.

Sponsored by:	The FreeBSD Foundation
2014-08-06 19:06:38 +00:00
gjb
0cf80d1f4d Merge the following from ^/projects/release-noxdev:
r269549, r269551, r269552, r269553, r269554, r269555, r269558, r269559,
r269560, r269561, r269628, r269629, r269630, r269635, r269637:

r269549:
  Create a new project branch, release-noxdev, for
  a sandbox workspace outside of head/ to update the
  release bits for arm builds since the deprecation of
  the XDEV and XDEV_ARCH make(1) variables.

r269551:
  Define load_chroot_env() and load_target_env()
  prototypes.

r269552:
  Call load_chroot_env() and load_target_env() where
  they can be mutually conflicting with regard to
  TARGET, TARGET_ARCH, XDEV, and XDEV_ARCH.

r269553:
  Add shebang line to arm/*.conf files since these
  should be considered to be executable (albeit not
  on their own) shell scripts.

r269554:
  Redefine load_chroot_env() and load_target_env() in
  the arm/*.conf files, and reindent.

r269555:
  Simplify where load_chroot_env() and load_target_env() are
  called.

r269558:
  Provide example in release.conf.sample for overriding the
  load_chroot_env() and load_target_env() prototypes.

r269559:
  Remove a gratuitous newline.

r269560:
  Unset potentially conflicting variables in load_chroot_env()
  and load_target_env().

r269561:
  Make global variables global, and accessible outside of
  the functions within which they were once defined.

r269628:
  Remove XDEV/XDEV_ARCH evaluation if EMBEDDEDBUILD is set.

r269629:
  In arm/release.sh, switch TARGET/TARGET_ARCH back to the
  original XDEV/XDEV_ARCH make(1) variables.

  In theory, this should have been a no-op, but the TARGET and
  TARGET_ARCH are now unset in load_target_env() to avoid
  collision with the chroot userland.

r269630:
  Export variables in the arm/*.conf files because they
  need to be passed through release.sh to arm/release.sh.

  Set MK_TESTS=no for the xdev target.

r269635:
  As part of the XDEV/XDEV_ARCH deprecation, the
  'xdev-links' target was intentionally no longer
  invoked automatically.

  Invoke the xdev-links target after xdev, which
  creates, for example, /usr/bin/armv6-freebsd-cc
  symlink to /usr/armv6-freebsd/usr/bin/cc.

r269637:
  Set TARGET and TARGET_ARCH to the XDEV and XDEV_ARCH
  counterparts for the xdev and xdev-links make(1)
  targets.

Sponsored by:	The FreeBSD Foundation
2014-08-06 19:04:05 +00:00
gjb
0bbb1729c4 Fake out the deprecation of XDEV and XDEV_ARCH by
continuing to use the variables in the configuration
file, but switch XDEV= and XDEV_ARCH= to TARGET= and
TARGET_ARCH= appropriately.

Sponsored by:	The FreeBSD Foundation
2014-07-23 22:35:23 +00:00
gjb
f61cfea21c Document r268461, readline(3) shlib no longer installed, and
statically linked into consumers in the base system.

Sponsored by:	The FreeBSD Foundation
2014-07-09 16:07:36 +00:00
gjb
b33aba701f Sort by commit revision number.
Sponsored by:	The FreeBSD Foundation
2014-07-08 15:14:21 +00:00
gjb
9dbd40ba77 Document r266531, IMAGACT_BINMISC enabled by default.
While here, fix a spacing nit from previous commit.

Sponsored by:	The FreeBSD Foundation
2014-07-08 15:04:35 +00:00
gjb
f1fc36b37c Document r266757, netmap(4) support for cxgbe(4).
Sponsored by:	The FreeBSD Foundation
2014-07-08 14:59:03 +00:00
gjb
8068923016 Document r266770, Intel Centrino Wireless-N 105 support.
Sponsored by:	The FreeBSD Foundation
2014-07-08 14:55:31 +00:00
gjb
a0443124b0 Document r267359, disklabel64 partitioning scheme.
Sponsored by:	The FreeBSD Foundation
2014-07-08 14:52:09 +00:00
gjb
d8675751e1 Document r268303, MacMini 3,1 support in asmc(4).
Sponsored by:	The FreeBSD Foundation
2014-07-08 14:46:40 +00:00
gjb
30584cb64b Drop leading 'r' in revision number from previous commit.
Sponsored by:	The FreeBSD Foundation
2014-07-08 14:45:11 +00:00
gjb
32194c25f0 Document r268351, end of ia64 support.
Sponsored by:	The FreeBSD Foundation
2014-07-08 14:42:44 +00:00
marcel
9f28abd980 Remove ia64.
This includes:
o   All directories named *ia64*
o   All files named *ia64*
o   All ia64-specific code guarded by __ia64__
o   All ia64-specific makefile logic
o   Mention of ia64 in comments and documentation

This excludes:
o   Everything under contrib/
o   Everything under crypto/
o   sys/xen/interface
o   sys/sys/elf_common.h

Discussed at: BSDcan
2014-07-07 00:27:09 +00:00
gjb
e485fdb2be The u-boot tarball needed for some boards, BEAGLEBONE for
example, explicitly hard-code gcc(1) as the compiler.

Partially revert r264703, which did a post-chroot install
of gcc(1).  This was initially removed because gcc(1) fails
to build usr.bin/dtc/ causing the xdev target to fail.  So
this time, move the gcc(1) installation after xdev is built.

This change is likely applicable to stable/10 arm build
failures, as well.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2014-07-03 19:37:25 +00:00
nwhitehorn
56276a9f52 Now that GENERIC can boot on UEFI systems (r268158), switch the build to use
UEFI-compatible images. These will boot as before on BIOS systems, but will
boot using the UEFI loader on UEFI-aware systems.
2014-07-02 15:23:13 +00:00
gjb
6098fcb198 Document r268045, vt(4) now in GENERIC.
Remove r260888, VT kernel configuration file is gone.

Sponsored by:	The FreeBSD Foundation
2014-07-01 21:04:40 +00:00
gjb
be29e6f09d Merge ^/projects/release-debugdist into ^/head:
r262491, r262493, r262516, r267345, r267397:

r262491:
  Add DEBUG_DISTRIBUTIONS, and set it to include base and
  EXTRA_DISTRIBUTIONS, excluding 'doc', since the documentation
  distribution does not have corresponding debug information.

  Use DEBUG_DISTRIBUTIONS in the 'distributeworld installworld'
  and 'packageworld' targets, to reduce the number of occurances
  of excluding distributions that do not have .debug files.

r262493:
  In release/Makefile, explicitly set WITHOUT_DEBUG_FILES=1
  for dvdrom and cdrom targets.  (Later reverted.)

  Exclude the *.debug.txz distributions from dvdrom and
  cdrom images, but include them for ftp distribution.

r262516:
  Rename ${dist}.debug.txz to ${dist}-dbg.txz to prevent the
  following output:
	eval: ${base....}: Bad substitution
	eval: ${doc....}: Bad substitution
	eval: ${games....}: Bad substitution
	eval: ${lib32....}: Bad substitution

  This also follows other naming conventions seen in the
  wild.

r267345:
  Explicitly set MK_DEBUG_FILES=no, which overrides the
  WITH_DEBUG_FILES=1 and WITHOUT_DEBUG_FILES=1 collisions
  previously experienced.

  This change allows us to create the {base,kernel}_debug.txz
  distributions without accidentally installing the *.debug
  files on the medium itself.

r267397:
  Remove evaluations of MK_DEBUG_FILES where not needed.
  If DEBUG_DISTRIBUTIONS is empty, which is true if
  MK_DEBUG_FILES evaluates to 'no' above, the loop does
  nothing.

MFC after:	1 month
Tested on:	head@r267801
Reviewed by:	brooks [1], emaste, imp [1]
		[1] earlier version
Sponsored by:	The FreeBSD Foundation
2014-07-01 19:04:04 +00:00
gavin
65255c4934 Remove an nunnecessary reference to csup. 2014-06-25 12:17:00 +00:00
gjb
811dcffcbc Drop 'Inc.' for consistency.
Sponsored by:	The FreeBSD Foundation
2014-06-17 21:08:49 +00:00
gjb
b7f08781d9 Add &citrix; and &citrix.rd; macros.
Sponsored by:	The FreeBSD Foundation
2014-06-16 20:21:15 +00:00
gjb
936253a6d8 Document r267536, Xen PVH DomU support for amd64.
Submitted by:	royger
Sponsored by:	The FreeBSD Foundation
2014-06-16 20:20:54 +00:00
gjb
9b3c9d611e Switch release/Makefile knobs from WITHOUT_FOO=1 to MK_FOO=no.
This allows greater granular control over the release
build, and avoids WITH_FOO=1 and WITHOUT_FOO=1 collision.

This change was verified to produce correct results
compared to an earlier build by diffing find(1) output
of the resulting bootonly/, dvd/, and release/ directories.

Tested on:	head@r267449
MFC after:	1 month
X-MFC-Note:	Requires commits not yet MFC'd, so likely
		longer than 1 month.
Sponsored by:	The FreeBSD Foundation
2014-06-14 01:03:24 +00:00
gjb
e027453834 Fix a typo in note for r266209, pmcstat(8)
Spotted by:	emaste
Sponsored by:	The FreeBSD Foundation
2014-06-12 17:19:57 +00:00
jmmv
7726c9bd9f Strip out the test suite from the installation media.
This affects the disc1.iso, dvd1.iso and bootonly.iso files.

Obtained from:	gjb
2014-06-10 17:05:41 +00:00
gjb
24c8aa65fd Fix indentation level.
MFC after:	3 days
X-MFC-With:	r267326
Sponsored by:	The FreeBSD Foundation
2014-06-10 15:20:41 +00:00
gjb
bca56c387a Add empty pkg-stage file to CLEANFILES if WITH_DVD=1.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2014-06-10 15:19:28 +00:00
gjb
bf51367c83 Document r267256, OpenSSL 1.0.1h update.
Sponsored by:	The FreeBSD Foundation
2014-06-09 20:52:42 +00:00
gjb
d5cc055f47 Move the Sendmail update to keep revision numbers incremental.
Sponsored by:	The FreeBSD Foundation
2014-06-09 20:50:49 +00:00
brueffer
91e4f18f6f Add vte(4) to the hardware notes.
MFC after:	3 days
2014-06-06 19:10:23 +00:00
imp
0ed032933f When building picobsd, define WITHOUT_OPENSSL and WITHOUT_KERBEROS and
remove the now-redundant checks for RELEASE_CRUNCH. This originally
was defined for building smaller sysinstall images, but was later also
used by picobsd builds for a similar purpose. Now that we've moved
away from sysinstall, picobsd is the only remaining consumer of this
interface. Adding these two options reduces the RELEASE_CRUNCH
special cases in the tree by half.
2014-06-06 04:09:07 +00:00
gjb
8486613b2f Document r266463, newsyslog.conf(5) includes in conf.d.
Sponsored by:	The FreeBSD Foundation
2014-06-05 23:53:47 +00:00
gjb
400bcb6ec9 Fix a typo.
Sponsored by:	The FreeBSD Foundation
2014-05-29 15:43:51 +00:00
luigi
310e93a4a7 add '3wire' (no handshake lines) to gettytab and ttys so that after
svn 264175 bhyve etc. work -- without that, /usr/bin/login would stop
in getpass()

MFC after:	3 days
2014-05-28 00:30:32 +00:00
gshapiro
9636f4c535 Note proper revision number for sendmail 8.14.9 merge. 2014-05-26 15:54:31 +00:00
luigi
e666b50f14 do not build libraries, they require a lot more stuff 2014-05-23 11:22:44 +00:00
luigi
a5bffeb3e9 remove unused code (building older releases should use the
picobsd file in the release itself)
2014-05-23 08:34:30 +00:00
luigi
171912e317 add libraries to the initial build for picobsd.
add a -j option so we can tune the amount of parallel make,
the default we used (-j 8) is large and was giving problems
with SUBDIR_PARALLEL due to some missing dependencies.
2014-05-23 08:10:07 +00:00
gjb
632e7c41d9 Disable the main FreeBSD pkg(7) repositories in the dvd
repository configuration to avoid fetching from upstream
in case there may be conflicts.

MFC After:	3 days
Sponsored by:	The FreeBSD Foundation
2014-05-22 19:25:41 +00:00
gjb
7d9c9ad8cf Add forward-compatibility glue with pkg-1.3:
- Use ASSUME_ALWAYS_YES=YES instead of ASSUME_ALWAYS_YES=1
   since pkg-1.3 expects "yes" or "true" values.
 - Before exporting PKG_ABI, strip extra characters from what
   is parsed from 'pkg -vv'.  This causes problems further down
   when creating the packages directory for inclusion on the
   dvd1.iso.  Previously PKG_ABI would be 'freebsd:9:x86:64',
   but now is '"freebsd:9:x86:64";' in pkg-1.3

Tested on:	stable/9@r265858 with ports-mgmt/pkg-devel
MFC After:	3 days
Sponsored by:	The FreeBSD Foundation
2014-05-22 19:22:03 +00:00
luigi
a5b9d0ccf7 fix picobsd cross builds on stable/10 2014-05-22 12:30:56 +00:00
gshapiro
a679702220 Note merge to head for sendmail 8.14.9.
MFC after:	3 days
2014-05-22 04:46:51 +00:00
gjb
5f51b79967 Document r266209, pmcstat(8) '-l' flag.
Sponsored by:	The FreeBSD Foundation
2014-05-17 19:45:23 +00:00
gjb
940d4b9b73 Document r265995, Blowfish crypt(3) format change.
Sponsored by:	The FreeBSD Foundation
2014-05-14 15:31:18 +00:00
gjb
527f96e416 Document r265876, power management bug with Intel Turbo Boost.
Sponsored by:	The FreeBSD Foundation
2014-05-14 15:31:16 +00:00
skreuzer
d71c133cad Bump copyright date
Approved by:	hrs@ (mentor)
2014-05-12 17:58:17 +00:00
gjb
886f256af7 Document r265555, addition of mrsas(4).
Sponsored by:	The FreeBSD Foundation
2014-05-07 21:00:09 +00:00
gjb
3d6b6cb9ab Separate &darpa; entity and create &darpa_afrl to
avoid confusion.

Suggested by:	rwatson
Sponsored by:	The FreeBSD Foundation
2014-05-07 20:31:44 +00:00
gjb
4f62e2f202 Correct attribution for casperd, co-sponsored by
The FreeBSD Foundation and Google, Inc.[1]

Since this was dual-sponsored, the sponsorurl needs
to be empty.

Add Google to the sponsor.ent file.

Reminded by:	rwatson [1]
Sponsored by:	The FreeBSD Foundation
2014-05-07 20:27:57 +00:00
gjb
dd0cdaed38 Add a note to keep the entity lists sorted alphabetically.
Sponsored by:	The FreeBSD Foundation
2014-05-07 20:18:50 +00:00
gjb
90f8efd55f Add attribution for r265348.
Add Netgate to sponsor.ent.

Sponsored by:	The FreeBSD Foundation
2014-05-07 20:15:36 +00:00
gjb
fba1162caf Add attribution for r265236.
Add LSI and Spectra Logic to sponsor.ent.

Sponsored by:	The FreeBSD Foundation
2014-05-07 20:15:34 +00:00
gjb
6f465f1339 Add attribution for r264601.
Sponsored by:	The FreeBSD Foundation
2014-05-07 20:15:32 +00:00
gjb
0d46940c2e Add attribution for r258884.
Add DARPA, AFRL to sponsor.ent.

Sponsored by:	The FreeBSD Foundation
2014-05-07 20:15:30 +00:00
gjb
db1c4d3632 Add sponsorship attribution for r258838 (casperd(8)).
Sponsored by:	The FreeBSD Foundation
2014-05-07 19:53:51 +00:00
gjb
63f6244dd8 Add references to sponsor.ent and vendor.ent in
relnotes/article.xml and share/xml/catalog.xml.

Sponsored by:	The FreeBSD Foundation
2014-05-07 19:44:44 +00:00
gjb
b6b1a01d1a Add two new entity files in followup to r265590,
sponsor.ent and vendor.ent, which will be used for
sponsor/vendor names and URLs.

Sponsored by:	The FreeBSD Foundation
2014-05-07 19:43:23 +00:00
gjb
c993fc8709 Modify release.xsl to allow proper attribution for
sponsored and/or contributed works.

This works similarly to how the subversion revision is
suffixed in release notes entries when 'revision="NNNNNN"'
is set.

The <para> tag in relnotes/article.xml can now take the
following new elements:

 - contrib: defined to what type of contribution the change
   is.  Right now, only 'vendor' or 'sponsor' are used.
   'vendor' is intended for vendor-contributed code, such as
   driver updates, etc.  'sponsor' is intended for sponsored
   work (the 'Sponsored by:' in the commit template).

 - vendor: The canonical name of the vendor.

 - sponsor: The canonical name of the sponsor.

 - vendorurl: The URL for the vendor website, if applicable.

 - sponsorurl: The URL for the sponsor website, if applicable.

If 'vendor' or 'sponsor' are set, but 'contrib' is not, nothing
is rendered.  If 'contrib' is set, but no 'vendor' or 'sponsor'
are defined, nothing is printed.  If 'vendorurl' or 'sponsorurl'
are set, the 'vendor' or 'sponsor' text is link, otherwise is
non-clickable text.

Sponsored by:	The FreeBSD Foundation
2014-05-07 19:20:54 +00:00
brueffer
f000514315 Generate hardware notes for mrsas(4). 2014-05-07 18:27:12 +00:00
gjb
3e5d31e008 Add svn revision number to sendmail entry and wrap
line.
Fix capitalization of Sendmail.

Sponsored by:	The FreeBSD Foundation
2014-05-07 12:45:33 +00:00
gjb
ee48c8a41b Sort entries by svn revision as oldest-newest to match
entry order in other branches.

Sponsored by:	The FreeBSD Foundation
2014-05-07 12:45:31 +00:00
gjb
b38ca02aca Move r265348 to 'net-if' section.
Sponsored by:	The FreeBSD Foundation
2014-05-07 12:45:30 +00:00
gjb
c75d690f03 Document r265348, Atheros AR1111 support.
Sponsored by:	The FreeBSD Foundation
2014-05-07 12:45:28 +00:00
gjb
75bb2fef23 Document r265236, addition of mpr(4).
Sponsored by:	The FreeBSD Foundation
2014-05-07 12:45:26 +00:00
imp
2118f42afd Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.
2014-05-06 04:22:01 +00:00
gjb
915372aa18 Use 'return' instead of 'exit' in main(), since the script exits
with the last returned exit code.

Sponsored by:	The FreeBSD Foundation
2014-05-05 23:36:46 +00:00
gjb
2b7aa883af Add a helper script for parsing 'svn log' for the
'Relnotes:' tag in case 'yes' is not explicitly
the first string value following the tab.

As it turns out, a number of commits have bypassed
my filters (both email and 'svn log --search'), and
this script returns the results I want when doing
these searches.

Sponsored by:	The FreeBSD Foundation
2014-05-05 23:01:01 +00:00
brueffer
6df58573ce Mention the axge(4) driver in the hardware notes.
MFC after:	1 week
2014-05-05 14:57:38 +00:00
gjb
116f0fb807 Fix typo: s/null/full
Spotted by:	jilles
Sponsored by:	The FreeBSD Foundation
2014-05-04 17:53:01 +00:00
gjb
baf69d5639 Document r265229[1], r265249[2]:
'-J' flag added to ps(1) [1], and top(1) [2].

Sponsored by:	The FreeBSD Foundation
2014-05-04 01:33:02 +00:00
gjb
0bc17abe76 Document r264601, addition of if_nf10bmac(4) (with no
corresponding manual page, so <literal> tags are used).

Sponsored by:	The FreeBSD Foundation
2014-05-04 01:33:00 +00:00
gjb
664b2fe727 Wrap lindev(4) references in <literal> tags.
Sponsored by:	The FreeBSD Foundation
2014-05-04 01:32:59 +00:00
gjb
302648fb4b Dereference man.lindev.4 macros, since the device is removed.
Sponsored by:	The FreeBSD Foundation
2014-05-04 01:32:57 +00:00
gjb
5397a577ca Document r265132, addition of full(4).
Sponsored by:	The FreeBSD Foundation
2014-05-04 01:32:55 +00:00
brueffer
e05f978e11 Add urtwn(4) to the hardware notes.
MFC after:	1 week
2014-05-03 15:33:48 +00:00
brueffer
3650d0b479 Add rsu(4) to the hardware notes.
MFC after:	1 week
2014-05-03 11:39:04 +00:00
brueffer
b135b84670 Generate hardware notes for mpr(4) and bump copyright for 2014. 2014-05-02 21:19:13 +00:00
nwhitehorn
6da76b129a Use mkimg instead of md(4) and gpart. 2014-05-01 03:24:41 +00:00
gjb
8820383a98 Remove note about hw.bus.devctl_disable removal, restored
in r265060.

Sponsored by:	The FreeBSD Foundation
2014-04-28 20:40:36 +00:00
gjb
bb7c7a9614 Turn off the full witness trace on console output.
On head/, or more specifically, when WITNESS is in
the kernel config, the console is spammed excessively
with lock order reversal between isofs and devfs.

Set debug.witness.trace=0 in the installer sysctl.conf
to avoid printing the full KDB stack backtrace.  This
does not prevent printing the lock order reversal has
happened, only lessens the console spam.

Sponsored by:	The FreeBSD Foundation
2014-04-27 16:40:40 +00:00
nwhitehorn
c3bdb37a0c loader's GPT support on BIOS does not seem to like the root filesystem
being the last filesystem on the disk for some reason when made by this
script. Add a vestigial swap partition to allow this to boot with QEMU
BIOS.
2014-04-27 16:34:59 +00:00
nwhitehorn
84a9d542ab Add script to setup bootable CD ISOs for both BIOS and EFI systems. Tested
and working on QEMU. Actually using this script as the regular image
generator, like with the memstick one, will require that the kernel support
EFI too. In particular, the following two things are required:
1. vt(9) be the default console driver
2. vt_efifb and vt_vga be able to coexist usefully in the same kernel

One other note here is that this requires newfs_msdos and mdconfig, which is
really ugly. NetBSD's makefs at least seems to support FAT now. If that
actually works, it should be imported and we can get rid of the mdconfig mess.
2014-04-27 01:06:02 +00:00
nwhitehorn
b222aeb0f9 Make a dual-boot BIOS/UEFI memstick image. Testing required before this gets
renamed make-memstick.sh.
2014-04-27 00:40:18 +00:00
gjb
908975c916 Add a separate script to build the memstick.img and the
mini-memstick.img with UEFI support.

As the comments in the file suggest, 1) there must
be existing ${.OBJDIR}/usr/src/release/{release,bootonly};
2) TARGET/TARGET_ARCH must be amd64; and 3) it must be
a vt(4)-enabled kernel with vt_efifb (*not* vt_vga).

This script is not hooked into release/Makefile in any way
until further testing is complete.

Sponsored by:	The FreeBSD Foundation
2014-04-25 21:11:00 +00:00
gjb
32749243a0 Fix indentation for diff reduction with commits to follow.
Sponsored by:	The FreeBSD Foundation
2014-04-25 19:43:18 +00:00
gjb
e61c0f1d81 Revert r264907 and r264908:
Restore make-memstick.sh back to its original state to
unbreak booting for machines that do not support GPT.

I have in-progress work to keep the MBR layout and add
the EFI partition, but it is not yet ready, and does
need at least one full release build to be certain it
does not break.

Sponsored by:	The FreeBSD Foundation
2014-04-25 18:46:54 +00:00
gjb
0b6c70fead Style cleanup
- Indent 1 full tab where needed
 - Use $() for shell exec
 - Insert a space between '$(( ))' parens

MFC After:	1 week
X-MFC-With:	r264907
Sponsored by:	The FreeBSD Foundation
2014-04-25 01:55:14 +00:00
gjb
fe37b9e4c2 Refactor make-memstick.sh to avoid creating the 'dangerously
dedicated' partition scheme, reported to cause the memstick.img
to fail to boot.

Similar to how make-memstick.sh worked on stable/8, use makefs(8)
to create the actual filesystem.  Then calculate the size of the
resulting image file, create the GPT partition scheme, then dd(1)
the filesystem created with makefs(8) to the freebsd-ufs GPT
partition.

This was tested on a known-working machine[1] for regression, and
a known-not-working machine[2] to ensure the boot issue has been
resolved.

Testers:	myself [1], db [2]
MFC After:	1 week
Sponsored by:	The FreeBSD Foundation
2014-04-25 01:38:57 +00:00
gjb
f2c38095da Move xdev knobs from release/arm/release.sh and into an
XDEV_FLAGS variable in ${KERNCONF}.conf file.

MFC after:	3 days
X-MFC-Note:	fix stable/10 XDEV_FLAGS local for branch
Sponsored by:	The FreeBSD Foundation
2014-04-23 02:01:22 +00:00
gjb
ecf8ff3ae3 Play musical-KNOBS a bit more with release/arm/release.sh.
For stable/10, r264703 sets the correct WITH/WITHOUT
knobs to get xdev built with the arm-freebsd-gcc binary
installed.  Unfortunately, the same fix does not work on
head/.

Also, quite to my amazement, WITH_GCC=1 and WITH_GNUCXX=1
causes xdev to fail spectactularly at least on r264791.

The situation as it stands is:

 - gcc(1) is needed for the u-boot build.
 - cc(1) *cannot* be clang(1)

To shoe-horn the toolchain to make 'xdev' give what is
needed, remove WITH_GNUCXX=1 and add WITH_GCC_BOOTSTRAP=1.

MFC After:	1 week
X-MFC-To:	stable/10 only
X-MFC-Note:	after stable/10 is broken in this way...
Sponsored by:	The FreeBSD Foundation
2014-04-23 01:47:07 +00:00
gjb
f68d811d9b Apply a slightly different color hammer to arm/release.sh:
- gcc(1) fails to build usr.bin/dtc
 - lack of WITH_GNUCXX=1 causes cc1plus(1) calls to fail
 - u-boot fails to build with clang (hard-coded gcc(1) calls)

Implement the proper incantation of WITH_/WITHOUT_ knobs
to get arm snapshot builds working again.

Since the cc(1) binary is no longer expected to be clang(1),
remove the chroot(8) post-install cc(1) overwrite.

MFC After:	3 days
X-MFC-With:	r264518,r264697,r264698
Tested on:	stable/10@r264677 RPI-B
Sponsored by:	The FreeBSD Foundation
2014-04-20 20:46:06 +00:00
gjb
fb156728ea Fix EOL escape.
MFC after:	3 days
X-MFC-With:	r264697
Sponsored by:	The FreeBSD Foundation
2014-04-20 16:34:10 +00:00
gjb
e3796eaa9d When building the 'xdev' target when WITH_GCC=1 and
WITHOUT_CLANG_IS_CC=1, it appears WITHOUT_CLANG=1 must
also be set.

While here, reorder the lines to put the WITH_* and
WITHOUT_* entries on the same line.

MFC After:	3 days
X-MFC-With:	r264518
Tested on:	stable/10@r264677
Sponsored by:	The FreeBSD Foundation
2014-04-20 16:33:28 +00:00
gjb
28e79f3caa Fix armv6 build failure: "armv6-freebsd-gcc: not found"
Help from:	imp
Sponsored by:	The FreeBSD Foundation
2014-04-15 23:27:14 +00:00
imp
c39e6fc2c9 NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
2014-04-13 05:21:56 +00:00
gjb
8606a0a992 Add SRC_UPDATE_SKIP, DOC_UPDATE_SKIP, and PORTS_UPDATE_SKIP
variables.  These are intended to allow bypassing the
'svn co /usr/{src,doc,ports}' step in the chroot when the
tree exists from external means.

The use case here is that /usr/src, /usr/doc, and /usr/ports
in the chroot exist as result of zfs dataset clones, so it
is possible (and happens quite often) that the included
distributions may not be consistent.  (This is not the case
for -RELEASE builds, but does happen for snapshot builds.)

Tested on:	stable/9@r264319
MFC After:	3 days
Sponsored by:	The FreeBSD Foundation
2014-04-11 13:48:45 +00:00
gjb
da0c56cf24 Merge r262906 from ^/projects/release-embedded:
Remove only-works-on-amd64 restriction.

Sponsored by:	The FreeBSD Foundation
2014-04-04 07:42:12 +00:00
gjb
9ca8f86a7e Merge r262907 from ^/projects/release-embedded:
Add ZEDBOARD support for release builds.

Sponsored by:	The FreeBSD Foundation
2014-04-04 07:02:38 +00:00
gjb
abe0b75d08 Allow overriding xz(1) path.
Requested by:	marck
MFC After:	5 days
X-MFC-With:	r264027,r264028,r264029,r264030,r264046
Sponsored by:	The FreeBSD Foundation
2014-04-03 12:04:05 +00:00
gjb
4a1f79beb5 Use xz(1) instead of gzip(1) to compress release images
when WITH_COMPRESSED_IMAGES is used.

Requested by:	delphij, brooks, Nikolai Lifanov
MFC After:	1 week
X-MFC-With:	r264027,r264028,r264029,r264030
Sponsored by:	The FreeBSD Foundation
2014-04-02 16:53:07 +00:00
gjb
6acd43a12d If WITH_COMPRESSED_IMAGES is set, add the compressed images to
the CLEANFILES list.

MFC after:	1 week
X-MFC-With:	r264027,r264028,r264029
Sponsored by:	The FreeBSD Foundation
2014-04-01 22:54:54 +00:00
gjb
11f7679c0d Fix logic error: s/||/&&/
Pointyhat:	gjb
MFC after:	1 week
X-MFC-With:	r264027,r264028
Sponsored by:	The FreeBSD Foundation
2014-04-01 22:52:27 +00:00
gjb
5e982f9855 Clean up trailing whitespace in release/Makefile.
MFC after:	1 week
X-MFC-With:	r264027
Sponsored by:	The FreeBSD Foundation
2014-04-01 22:46:46 +00:00
gjb
0fbab8558b Add a new release build variable, WITH_COMPRESSED_IMAGES.
When set to a non-empty value, the installation medium is
compressed with gzip(1) as part of the 'install' target in
the release/ directory.

With gzip(1) compression, downloadable image are reduced in
size quite significantly.  Build test against head@263927
shows the following:

 bootonly.iso:		64% smaller
 disc1.iso:		44% smaller
 memstick.img:		47% smaller
 mini-memstick.img:	65% smaller
 dvd1.iso:		untested

This option is off by default, I would eventually like to
turn it on by default, and remove the '-k' flag to gzip(1)
so only compressed images are published on FTP.

Requested by:	wkoszek
MFC After:	1 week
Sponsored by:	The FreeBSD Foundation
2014-04-01 22:41:26 +00:00
gjb
87937b5f2e Add the svn revision number to the IPX note.
Sponsored by:	The FreeBSD Foundation
2014-04-01 14:48:16 +00:00
gjb
5545a75da0 Document r263140, removal of IPX.
Sponsored by:	The FreeBSD Foundation
2014-03-31 14:04:57 +00:00
gjb
135d99492f Document r263754
Sponsored by:	The FreeBSD Foundation
2014-03-26 01:36:00 +00:00
glebius
d494babace Remove IPX support.
IPX was a network transport protocol in Novell's NetWare network operating
system from late 80s and then 90s. The NetWare itself switched to TCP/IP
as default transport in 1998. Later, in this century the Novell Open
Enterprise Server became successor of Novell NetWare. The last release
that claimed to still support IPX was OES 2 in 2007. Routing equipment
vendors (e.g. Cisco) discontinued support for IPX in 2011.

Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.
2014-03-14 02:58:48 +00:00
gjb
586576adbc Update board definition for WANDBOARD-QUAD to match crochet.
Sponsored by:	The FreeBSD Foundation
2014-03-09 02:00:48 +00:00
gjb
90ec12fc6e Add ZEDBOARD.
Tested against:	stable/10@r262905 (build only)
Sponsored by:	The FreeBSD Foundation
2014-03-07 22:14:39 +00:00
gjb
e14704ed30 Remove only-works-on-amd64 restriction.
Sponsored by:	The FreeBSD Foundation
2014-03-07 22:10:40 +00:00
gjb
4f9a1ea514 Add a hack-ish attempt to provide backwards-compatibility with
release.conf SVNROOT entries that do not have a trailing '/'.

In order to provide a mechanism to use !svn, the trailing '/'
was added to SVNROOT so there were no assumptions being made
about '/' being in the URL between SVNROOT and SRCBRANCH.

Sponsored by:	The FreeBSD Foundation
2014-03-06 18:48:02 +00:00
gjb
f40d4b8f24 Merge ^/projects/release-embedded into ^/head.
After several months of testing and fixing (and breaking)
various parts of release/release.sh changes, it is now
possible to build FreeBSD/arm images as part of the release
process.

When EMBEDDEDBUILD is set in the release.conf file, release.sh
will create the build environment, then run a separate script
in release/${XDEV}/release.sh [1].  Currently, only arm is
supported.

The release/${XDEV}/release.sh configures the build environment
specific for the target image, such as installing gcc(1),
installing additional third-party software from the ports tree,
and fetching external sources.

Once the build environment is set up, release/${XDEV}/release.sh
runs Crochet, written by Tim Kientzle, which builds the userland
and kernel, and creates an image that can be written to an SD
card with dd(1).  Many thanks to Tim for his work on Crochet.

Sample configurations for FreeBSD/arm boards are in the
release/arm/ directory, and Crochet configuration files for each
board are located in release/tools/arm/.  Supported boards at this
time are: BEAGLEBONE, PANDABOARD, RPI-B, and WANDBOARD-QUAD.

Adding support for additional boards will continue in the
projects/release-embedded/ branch, and incrementally merged back
to head/.

Many thanks to the FreeBSD Foundation for the support and
sponsorship of this project.

[1] XDEV is used in order to keep the various configurations
    organized by architecture, but since TARGET and TARGET_ARCH
    are used to build the chroot, the values of those variables
    cannot be used.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
2014-03-05 23:17:53 +00:00
rodrigc
fff232b919 Add a script which lists SVN log entries only for changesets
which have files which have been Added or Removed.

This can help identify changesets which should be
mentioned in Release Engineering's release notes.
2014-02-28 23:12:20 +00:00
brueffer
cf915d203f Add tws(4) to the hardware notes.
MFC after:	3 days
2014-02-27 21:47:20 +00:00
gjb
81ff845b6f Update release/release.conf.sample to reflect changes in r262509.
MFC after:	1 week
X-MFC-With:	r262509
Sponsored by:	The FreeBSD Foundation
2014-02-26 01:19:52 +00:00
gjb
46aa6a2ffd Rework how WORLD_FLAGS and KERNEL_FLAGS are set, to remove an
unnecessary expr(1) call.

Inspired by:	hrs (a few months ago)
MFC after:	1 week
X-MFC-With:	r262499, r262505
Sponsored by:	The FreeBSD Foundation
2014-02-26 01:06:41 +00:00
gjb
057e8b4bc7 Chase r262505, and remove CVS exclusion from picobsd builds.
Sponsored by:	The FreeBSD Foundation
2014-02-26 00:54:59 +00:00
gjb
aa58833be6 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.

Sponsored by:	The FreeBSD Foundation
2014-02-26 00:52:01 +00:00
gjb
e70125acff 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.

Submitted by:	Rick Miller (based on)
Sponsored by:	The FreeBSD Foundation
2014-02-25 22:13:48 +00:00
gjb
38f5e1d44f Merge the following:
^/user/gjb/hacking/release-embedded:
	259994,260000,260895-260896,261139,261152,
	261174,261176,261210,261221,261237,261239,
	261448,261489
 ^/user/gjb/release-embedded:
	262305,262307

svn:mergeinfo is intentionally not included in the commit, so it does
not propagate to head/.

Sponsored by:	The FreeBSD Foundation
2014-02-21 23:18:35 +00:00
gjb
8ed76379b5 Add configurations for WANDBOARD-QUAD images.
Tested against:	head@r261642 (build only)
Sponsored by:	The FreeBSD Foundation
2014-02-21 21:46:54 +00:00
gjb
eb1a5f8de9 Move ^/user/gjb/hacking/release-embedded up one directory, and remove
^/user/gjb/hacking since this is likely to be merged to head/ soon.

Sponsored by:	The FreeBSD Foundation
2014-02-21 03:35:43 +00:00
skreuzer
90bde37d52 Document r261504 - FreeBSD/i386 guests can be run under bhyve.
Document r261498 - ping uses the Capsicum framework to drop privileges
Document r261344 - mdocml have been upgraded to version 1.12.3
Documetn r261991 - llvm/clang have been upgraded to version 3.4

Approved by:	hrs (mentor)
2014-02-20 14:39:12 +00:00
luigi
0e6492a43b enable rfc1323 and rfc1644 by default in picobsd images.
I disabled it some 15 years ago but it is useful to have them on
when doing tcp throughput tests.
2014-02-18 04:38:26 +00:00
jhay
dcf30b256c etcupdate should use the src tree from where the release is built, not
the default (/usr/src) tree.

MFC after:	2 weeks
2014-02-17 12:29:17 +00:00
brueffer
de873bde87 Note the removal of nve(4). 2014-02-16 12:25:22 +00:00
brueffer
4c9c4234e2 Retire the nve(4) driver; nfe(4) has been the default driver for NVIDIA
nForce MCP adapters for a long time.

Yays:	jhb, remko, yongari
Nays:	none on the current and stable lists
2014-02-16 12:22:43 +00:00
brueffer
032003665c Add qlxgbe(4) and qlxge(4) to the hardware notes.
MFC after:	1 week
2014-02-04 12:34:08 +00:00
skreuzer
c1c5232595 OpenSSH been updated to 6.5p1.
bmake has been updated to version 20140101.

Approved by:	hrs (mentor)
2014-02-03 18:44:36 +00:00
gshapiro
13e17ec385 Note merge to head for sendmail 8.14.8.
MFC after:	5 days
2014-01-26 23:55:35 +00:00
skreuzer
608f61d0cf jemalloc has been updated to version 3.5.0.
Approved by:	hrs (mentor)
2014-01-23 14:13:12 +00:00
skreuzer
53ba94e776 OpenSSL has been updated to version 1.0.1.f
Approved by:	hrs (mentor)
2014-01-23 03:24:38 +00:00
gjb
a3b5448f01 Document r258830.
Sponsored by:	The FreeBSD Foundation
2014-01-21 01:21:20 +00:00
gjb
a57e752ace Document r258838.
Sponsored by:	The FreeBSD Foundation
2014-01-21 01:12:54 +00:00
gjb
fd1215c733 Document r258884.
Sponsored by:	The FreeBSD Foundation
2014-01-21 01:12:52 +00:00
gjb
422077510b Document r259626.
Sponsored by:	The FreeBSD Foundation
2014-01-21 01:12:50 +00:00
gjb
56e83c14e3 Document r260445.
Sponsored by:	The FreeBSD Foundation
2014-01-21 01:12:48 +00:00
gjb
728fafb020 Reformat to fix a nit in the rendered output.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:59:32 +00:00
gjb
2e5f237bb4 Move r260903, misplaced.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:52:28 +00:00
gjb
da0a57d770 Document r260410.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:50:34 +00:00
gjb
f85aa1aa6f Move r260532 to kernel-virtualization.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:50:32 +00:00
gjb
955a42e86e Document r260448.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:50:30 +00:00
gjb
d395e8a81b Document r260532.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:31:20 +00:00
gjb
0c553c9f93 Document r260552.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:31:18 +00:00
gjb
d9c5a63012 Document r260582.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:31:16 +00:00
gjb
6122dfe2dd Document r260583.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:12:12 +00:00
gjb
63ef6b02a1 Move r260847 to 'kernel-virtualization'.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:12:10 +00:00
gjb
9987379108 Document r260594.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:08:33 +00:00
gjb
56706c4923 Document r260847.
Reword entry for r260888.

Sponsored by:	The FreeBSD Foundation
2014-01-20 23:08:31 +00:00
gjb
bc1de291d8 Document r260888.
Sponsored by:	The FreeBSD Foundation
2014-01-20 22:25:50 +00:00
gjb
fcd8dcac76 Document r260903.
Sponsored by:	The FreeBSD Foundation
2014-01-20 22:08:11 +00:00
gjb
86ee5a8f61 Document r260910.
Sponsored by:	The FreeBSD Foundation
2014-01-20 22:08:09 +00:00
gjb
678e784964 Document r260913, onifconsole ttys(5) flag.
Sponsored by:	The FreeBSD Foundation
2014-01-20 21:58:29 +00:00
gjb
4b39f65469 Document r260921, nand(4) enabled by default for arm.
Sponsored by:	The FreeBSD Foundation
2014-01-20 21:50:06 +00:00
gjb
c8c4dda2a3 Document r260926, support for displaying VPD for PCI devices via
pciconf(8).

Sponsored by:	The FreeBSD Foundation
2014-01-20 21:50:04 +00:00
gjb
544c158537 Final sweep to remove items that now exist in a release.
While here, clean up spacing between closing para tags and closing
sectN tags.

Sponsored by:	The FreeBSD Foundation
2014-01-20 21:50:02 +00:00
gjb
24c52e0f4a Remove entries that:
- exist in a release [1]
 - do not have a corresponding revision class

[1] This is done to make ensure for 11.0-RELEASE, we do not end
up with entries from older releases, like happened with 10.0-R.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-01-20 21:50:00 +00:00
gjb
5fa8961078 Trim copyright years.
Add missing punctuation.
Use <quote></quote> in place of literal quotes.

Sponsored by:	The FreeBSD Foundation
2014-01-20 21:49:59 +00:00
gjb
8efc251031 Fix formatting, indentation, line length in preparation of
upcoming changes to this file.

Sponsored by:	The FreeBSD Foundation
2014-01-20 20:28:04 +00:00
gjb
1ff7a53604 Sync with (local) changes against releng/10.0/release/doc/
that were needed to fix 10.0-RELEASE release notes.

This corresponds to r43586 through r43593 of the doc/
repository.  There are no corresponding changes to the src/
repository tracking these.

Sponsored by:	The FreeBSD Foundation
2014-01-20 20:06:13 +00:00
gjb
284a0c8006 Update the pkg-stage target to be more compatible with pkg-1.2:
- Add a release-dvd.conf pkg(8) configuration file to override
   the default FreeBSD.conf configuration.
 - Remove architecture-specific pkg-stage.conf files, consolidate,
   and move their contents to scripts/pkg-stage.sh.
 - Use 'pkg -vv' to determine the ABI, which is used as the
   cache directory.

Prior to these changes, it would be possible for pkg-stage to fetch
conflicting binary packages from multiple repositories.

Tested against:	head@r260522, stable/10@r260522

MFC after:	3 days
X-Insta-MFC:	possibly
Sponsored by:	The FreeBSD Foundation
2014-01-16 16:12:09 +00:00
hrs
9b48baf3f2 - Fix indent.
- Minor clean up after DB5 migration.
2014-01-15 17:34:21 +00:00
skreuzer
dcc29e21f3 Remove reference to FreeBSD 6.2-RELEASE from 'Upgrading from
previous releases' paragraph since all supported version of FreeBSD
now support binary upgrades

Remove 'of course,' from foot note reminding to create a backup
before attempting a binary update

Approved by:    hrs (mentor)
2014-01-15 15:16:11 +00:00
hrs
11b54efacf Add missing arch= and revision= support. 2014-01-14 23:04:31 +00:00
hrs
2c937dd4c7 - Purge old translations.
- Add missing footer due to DSSSL->XSLT migration and use XML catalog to
  resolve URI[*].

Based on the work by:	gabor [*]
2014-01-14 22:46:23 +00:00
luigi
1b1ca7f807 do not use capsicum when building picobsd images 2014-01-06 08:09:19 +00:00
gjb
df1e5281df Move build_doc_ports() to the if...fi block from which it is called.
Sponsored by:	The FreeBSD Foundation
2013-12-27 17:36:43 +00:00
gjb
6b01bbf146 Copy head@r259933 -> user/gjb/hacking/release-embedded for initial
inclusion of (at least) arm builds with the release.

Sponsored by:	The FreeBSD Foundation
2013-12-27 04:23:07 +00:00
jmmv
8e72067a86 Put the release objdir inside the chroot.
When building the system from outside the chroot as part of the release
process, ensure the objdir is within the chroot so that the whole output
of the release.sh script is self-contained in a single directory.

Use CHROOTDIR/tmp/obj instead of CHROOTDIR/usr/obj to minimize possible
interferences with the output of the build itself.

Reviewed by:	gjb
Approved by:	rpaulo (mentor)
2013-12-25 18:25:58 +00:00
jmmv
b8dac04a8f Delay copying of resolv.conf into the chroot until /etc exists.
With an unpopulated chroot dir, release building was failing because
the script was attempting to copy resolv.conf into a non-existent /etc
directory of the chroot.  Fix this by copying the file only after the
installworld has happened, which will create this directory.

Reviewed by:	gjb
Approved by:	rpaulo (mentor)
2013-12-25 13:57:23 +00:00
rodrigc
b6353d1b7f Add pointer to wiki for Hyper-V information.
Wiki content for Hyper-V in FreeBSD 10 was significantly updated by
Abhishek Gupta <abgupta@microsoft.com>.
2013-12-24 05:10:41 +00:00
gjb
1c629a8317 Remove references to SUP_UPDATE and CVS_UPDATE.
Include base svn when evaluating if svn(1) exists.

MFC after:	3-days
X-MFC-to:	stable/10 only
Sponsored by:	The FreeBSD Foundation
2013-12-23 21:58:03 +00:00
gjb
62d693e2d0 Update FreeBSD version entities to reflect head/ is 11.0-CURRENT.
Sponsored by:	The FreeBSD Foundation
2013-12-23 20:39:54 +00:00
rodrigc
dc3cbdbb7e Mention jemalloc upgrade to 3.4.0 2013-12-23 19:48:02 +00:00
rodrigc
35811d34ae Updates for various userland tools. 2013-12-23 11:03:37 +00:00
rodrigc
c64911e391 Mention that sysinstall is gone, replaced by bsdinstall and bsdconfig.
Mention that bsdinstall supports installing ZFS on root.
2013-12-23 08:57:49 +00:00
rodrigc
276cb60bbc Mention RDRAND and Xen PVHVM. Add a revision number for 4TB RAM support on amd64. 2013-12-23 08:22:08 +00:00
rodrigc
5c5b646ba3 Add notes for ARM. 2013-12-23 07:58:46 +00:00
rodrigc
adde4bade3 Fix text for loading Hyper-V drivers via loader.conf.
Noticed by: hrs
2013-12-23 07:35:34 +00:00
rodrigc
1ab7995b1e Add updates for Raspberry PI support, unmapped VMIO, netmap(4), nvme(4). 2013-12-22 22:56:45 +00:00
rodrigc
018b52059b Group virtualization items in one section. 2013-12-22 19:38:51 +00:00
rodrigc
412c9a53b9 Add a note for Microsoft Hyper-V. 2013-12-22 19:33:15 +00:00
rodrigc
df4205685f Improve section on carp(4) updates.
Add some revision numbers.
2013-12-22 19:11:06 +00:00
gjb
47ed2e7236 Bootstrap etcupdate(8) as part of the release build, similar
to what is done for mergemaster(8).  This allows etcupdate(8)
to work out-of-box after the first upgrade of a system.

Submitted by:	jhb
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2013-12-22 16:12:47 +00:00
rodrigc
008047911e Mention virtio support. 2013-12-22 11:41:26 +00:00
rodrigc
515782e925 Mention addition of vmx(4). 2013-12-22 11:10:08 +00:00
rodrigc
b32afc84b6 Mention ZFS zio nop-write improvement. 2013-12-22 10:58:40 +00:00
rodrigc
ddc466d952 Add some revision numbers. 2013-12-22 10:52:51 +00:00
rodrigc
f6db2d936f Re-order ZFS items. 2013-12-22 10:50:09 +00:00
rodrigc
b52d00267f Mention TRIM support for ZFS. 2013-12-22 10:42:47 +00:00
rodrigc
49b8da9f0e Add revision number for iSCSI initiator. 2013-12-22 10:33:01 +00:00
rodrigc
fe2131a41b Mention that GCC is not built on platforms where CLANG is the default system
compiler.
2013-12-22 10:24:14 +00:00
rodrigc
fb7455c2d6 Add revision number for BIND removal. 2013-12-22 09:40:03 +00:00
rodrigc
091dbc68d2 Add item for clang 3.3 update. 2013-12-22 09:27:57 +00:00
dteske
c09ab6dda4 Move the installer's keymap solution introduced by SVN r259468. The new
location of /etc/rc.local on the install media is more appropriate as it
knows serial vs. non-serial and can also do the change earlier (so that
even the initial Install dialog can benefit from the change).

MFC after:	3 days
2013-12-21 16:43:40 +00:00
gjb
8cbbd0b8f5 Fix doc build.
Sponsored by:	The FreeBSD Foundation
2013-12-19 05:22:48 +00:00
rodrigc
c8c8bab609 Add item for pkg(8). 2013-12-19 04:55:35 +00:00
rodrigc
46ec78f11c Add entry for bhyve. 2013-12-19 03:21:53 +00:00
rodrigc
a84f53bdd7 Indent. 2013-12-18 21:23:16 +00:00
rodrigc
db4edfba91 Add SVN revision numbers for Chelsio updates. 2013-12-18 21:22:16 +00:00
rodrigc
7d83d1f685 Add SVN revision numbers for Mellanox updates. 2013-12-18 21:14:43 +00:00
rodrigc
e6859e701d Add OFED and Mellanox items to release notes.
Submitted by: Meny Yossefi <menyy mellanox com>
2013-12-17 04:19:03 +00:00
rodrigc
e769c17873 Add release note items from Chelsio.
Submitted by: np
2013-12-17 03:38:36 +00:00
gjb
f5110df30b Add a pkg(8) repository configuration file for cdrom-based package
installation.

As part of the 'pkg-stage' target, copy the configuration file
to the 'packages/repos/' directory on the DVD filesystem.

MFC after:	3 days
X-MFC-Before:	-RC3
Sponsored by:	The FreeBSD Foundation
2013-12-15 20:38:07 +00:00
luigi
352a463ebf revise the helper functions to lookup binaries and their
shared libraries.
2013-12-15 07:04:59 +00:00
gjb
c6b603dccf Reduce disc1.iso size by 74MB by removing lib32 libraries, sendmail,
and atf.

MFC after:	3 days
X-MFC-To-10:	immediate (-RC2 requirement)
Sponsored by:	The FreeBSD Foundation
2013-12-14 22:41:17 +00:00
rodrigc
c4cbbc15fb Mention BIND removal in release notes.
Submitted by: skreuzer
2013-12-12 20:20:46 +00:00
gjb
783b09fc44 Prevent release build errors found during snapshot builds where if
NOPORTS=1, pkg-stage.sh cannot build the ports-mgmt/pkg port if
WITH_DVD=1.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2013-12-12 05:49:27 +00:00
gjb
e5fc4e1ef1 Add WITH_DVD to RELEASE_RMAKEFLAGS, otherwise it is not actually
passed to 'make release'.

MFC after:	3 days
X-Before-RC2:	yes
Sponsored by:	The FreeBSD Foundation
2013-12-07 19:39:38 +00:00
gjb
8801a18040 Ensure WITH_DVD is not empty to prevent 'WITH_DVD= ' from evaluating
to true.

Submitted by:	hrs
MFC after:	3 days
X-MFC-to-10:	immediate
Sponsored by:	The FreeBSD Foundation
2013-12-05 00:56:03 +00:00
rodrigc
af8a4a9997 Update release notes.
Submitted by: skreuzer
2013-12-04 08:20:04 +00:00
gjb
f289f4d4b8 Turn off the dvdrom target by default. dvd1.iso is now built by
specifying 'WITH_DVD=1' during 'make release'.

This caused some problems during the freebsd-update builds for
10.0-BETA4.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2013-12-02 18:47:57 +00:00
gjb
fe2fafd5b4 Provide reproducibility between builds by building pkg(8) from ports,
instead of using pkg-bootstrap.

This should resolve a problem that was discovered during 10.0-BETA4
freebsd-update(8) builds,

Reported by:	secteam (delphij)
MFC after:	3 days
X-MFC-to-10:	possibly immediately, pending freebsd-update(8) builds
Sponsored by:	The FreeBSD Foundation
2013-12-02 14:28:30 +00:00
hrs
89adebbdbc Use standard CLEANFILES/CLEANDIRS and clean target in bsd.obj.mk. 2013-12-01 15:24:35 +00:00
hrs
3af21b4c79 - Prevent TARGET and TARGET_ARCH from being defined as empty when
TARGET="" and/or TARGET_ARCH="" is specified.
- Remove extra ().
2013-12-01 15:06:30 +00:00
gjb
e5b8a30889 Move OPTIONS_UNSET outside of the PBUILD_FLAGS variable, otherwise the
textproc/docproj port build fails.

Pointyhat:	gjb
MFC after:	3 days
X-Before-RC1:	yes
Sponsored by:	The FreeBSD Foundation
2013-11-30 23:56:26 +00:00
hrs
bcd91960e5 Add NOPKG to disable pkg-stage. 2013-11-30 17:07:53 +00:00
gjb
78f08ebb35 Document the dvdrom target and NODVD variable, forgotten with r258310.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2013-11-27 03:05:24 +00:00
rodrigc
1492013721 Change sysinstall.8 references to bsdinstall.8.
Submitted by: skreuzer
2013-11-25 18:11:55 +00:00
mav
c68617cf15 MFreleng/8.4 r251256 (by hrs):
Update description of logical CPU handling in the latest releases and
remove obsolete sysctl variable machdep.hlt_logical_cpus.

MFC after:	3 days
2013-11-23 11:46:13 +00:00
rodrigc
fa49ee50c9 Update text related to Intel CPU support and Apple hardware support.
Submitted by: skreuzer
2013-11-21 19:04:59 +00:00
rodrigc
ca5fe17a6a Update copyrights
Submitted by: skreuzer
2013-11-21 19:00:21 +00:00
gjb
da2cc957a9 Simplify PKG_ABI for pkg-stage.sh.
Submitted by:	hrs
MFC after:	3 days
X-MFC-With:	r258310
Sponsored by:	The FreeBSD Foundation
2013-11-18 20:01:52 +00:00
gjb
f4030e9ee6 Remove WITHOUT_PROFILE=1 for the dvd1.iso medium.
Requested by:	hrs
MFC after:	3 days
X-MFC-With:	r258310
Sponsored by:	The FreeBSD Foundation
2013-11-18 19:57:11 +00:00
gjb
47bd4a0525 Fix how ABI is evaluated so it matches more than a dot-zero
case.

MFC after:	3 days
X-MFC-With:	r258310
Sponsored by:	The FreeBSD Foundation
2013-11-18 17:52:18 +00:00
gjb
f240b29444 Add the 'dvd1.iso' target. This mimics the 'release.iso' target,
with the additional step of fetching packages for inclusion on the
dvd image.

The 'pkg-stage' target is used to run 'scripts/pkg-stage.sh' if
the '${TARGET}/pkg-stage.conf' configuration file exists (currently
only amd64 and i386).

Allow dvd1.iso to be skipped if NODVD=1.

MFC after:	3 days
X-MFC-With:	r258305, r258307, r258308, r258309
Sponsored by:	The FreeBSD Foundation
2013-11-18 16:25:56 +00:00
gjb
9f5a779e22 Set the PKG_CACHEDIR directory to 'dvd/' instead of 'release/'
in preparation of adding a 'dvd1.iso' target.

MFC after:	3 days
X-MFC-With:	r258305, r258307, r258308
Sponsored by:	The FreeBSD Foundation
2013-11-18 16:11:19 +00:00
gjb
5c3fff5c5f Unconditionally copy the build host /etc/resolv.conf into
the chroot directory, since hostname resolution may be
needed in the case of building a dvd image (with packages)
and also setting 'NOPORTS=1'.

MFC after:	3 days
X-MFC-With:	r258305, r258307
Sponsored by:	The FreeBSD Foundation
2013-11-18 16:04:04 +00:00
gjb
fa17320479 Add a script and configuration files to fetch pre-built packages
from pkg.FreeBSD.org for inclusion on release medium (dvd1.iso).

The script sources ${.CURDIR}/${TARGET}/pkg-stage.conf, which sets
several environment variables, such as the pkg(8) ABI, PACKAGESITE,
PKG_DBDIR, and PKG_CACHEDIR.  PKG_CACHEDIR is set to the directory
on the release medium used by bsdconfig(8) (/packages/${ABI}).  ABI
is determined by output of 'make -C /usr/src/release -V REVISION'.
See pkg.conf(5) for descripton on other variables set here.

The list of packages to include are set within the configuration
file.

The script and configuration files are intended to be run by the
'make dvd' target within the release directory, and assume the
release is built within a chroot environment (such as by using
release.sh).

Relevant updates to release/Makefile will follow.

Sponsored by:	The FreeBSD Foundation
2013-11-18 15:22:55 +00:00