Commit Graph

7047 Commits

Author SHA1 Message Date
Glen Barber
ee12fa01c6 Merge the following revisions from ^/projects/release-vmimage:
r272234, r272236, r272262, r272264, r272269, r272271, r272272,
r272277, r272279, r272376, r272380, r272381, r272392, r272234,
r272412:

r272234:
  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.

r272236:
  Use VMBASE in place of a hard-coded filename in the CLEANFILES
  list.

r272262:
  Remove a 'set -x' that snuck in during testing.

r272264:
  release/Makefile:
    Connect the virtual machine image build to the release
    target if WITH_VMIMAGES is set to a non-empty value.

  release/release.sh:
    Add WITH_VMIMAGES to RELEASE_RMAKEFLAGS.

  release/release.conf.sample:
    Add commented entries for tuning the release build if the
    WITH_VMIMAGES make(1) environment variable is set to
    a non-empty value.

r272269:
  release/Makefile:
    Include .OBJDIR in DESTDIR in the vm-base target.

  release/release.sh:
    Provide the full path to mddev.

r272271:
  Fix UFS label for the root filesystem.

r272272:
  Remove comments left in accidentally while testing, so the
  VM /etc/fstab is actually created.

r272277:
  Remove the UFS label from the root filesystem since it is added
  by mkimg(1) as a gpt label, consistent with the fstab(5) entry.

r272279:
  Comment cleanup in panic() message when mkimg(1) does not support
  the requested disk image format.

r272376:
  Separate release/scripts/mk-vmimage.sh to machine-specific
  scripts, making it possible to mimic the functionality for
  non-x86 targets.

  Move echo output if MAKEFLAGS is empty outside of usage().

  Remove TARGET/TARGET_ARCH evaluation.

r272380:
  Avoid using env(1) to set values passed to mk-vmimage.sh,
  and instead pass the values as arguments to the script,
  making it easier to run this by hand, without 'make release'.

  Add usage_vm_base() and usage_vm_image() usage helpers.

r272381:
  After evaluating WITH_VMIMAGES is non-empty, ensure
  the mk-vmimage.sh script exists before running it.

r272392:
  Add WITH_COMPRESSED_VMIMAGES variable, which when set enables
  xz(1) compression of the virtual machine images.

  This is intentionally separate to allow more fine-grained
  tuning over which images are compressed, especially in cases
  where compressing 20GB sparse images can take hours.

r272412:
  Document the new 'vm-image' target, and associated release.conf
  variables.

r272413:
  Remove two stray comments added during the initial iterations
  of testing, no longer needed.

MFC after:	5 days
X-MFC-10.1:	yes
Tested on:	r272269, r272272, r272279, r272380, r272392
Sponsored by:	The FreeBSD Foundation
2014-10-02 16:13:12 +00:00
Glen Barber
cadb91b066 Remove two stray comments added during the initial iterations
of testing, no longer needed.

Sponsored by:	The FreeBSD Foundation
2014-10-02 16:05:01 +00:00
Glen Barber
a9278c16be Add WITH_COMPRESSED_VMIMAGES variable, which when set enables
xz(1) compression of the virtual machine images.

This is intentionally separate to allow more fine-grained
tuning over which images are compressed, especially in cases
where compressing 20GB sparse images can take hours.

Sponsored by:	The FreeBSD Foundation
2014-10-02 00:34:03 +00:00
Glen Barber
a2950cc4e3 After evaluating WITH_VMIMAGES is non-empty, ensure
the mk-vmimage.sh script exists before running it.

Sponsored by:	The FreeBSD Foundation
2014-10-01 19:25:02 +00:00
Glen Barber
0bc9be5e74 Avoid using env(1) to set values passed to mk-vmimage.sh,
and instead pass the values as arguments to the script,
making it easier to run this by hand, without 'make release'.

Add usage_vm_base() and usage_vm_image() usage helpers.

Sponsored by:	The FreeBSD Foundation
2014-10-01 19:13:42 +00:00
Glen Barber
fadf2a24fe Separate release/scripts/mk-vmimage.sh to machine-specific
scripts, making it possible to mimic the functionality for
non-x86 targets.

Move echo output if MAKEFLAGS is empty outside of usage().

Remove TARGET/TARGET_ARCH evaluation.

Sponsored by:	The FreeBSD Foundation
2014-10-01 17:05:40 +00:00
Glen Barber
f6490fe596 Comment cleanup in panic() message when mkimg(1) does not support
the requested disk image format.

Sponsored by:	The FreeBSD Foundation
2014-09-29 01:17:42 +00:00
Glen Barber
1e2f9a549b Remove the UFS label from the root filesystem since it is added
by mkimg(1) as a gpt label, consistent with the fstab(5) entry.

Sponsored by:	The FreeBSD Foundation
2014-09-28 23:22:55 +00:00
Glen Barber
5baa1b2730 Remove comments left in accidentally while testing, so the
VM /etc/fstab is actually created.

Sponsored by:	The FreeBSD Foundation
2014-09-28 21:15:30 +00:00
Glen Barber
79a94b12ae Fix UFS label for the root filesystem.
Sponsored by:	The FreeBSD Foundation
2014-09-28 21:13:30 +00:00
Glen Barber
f54137c331 release/Makefile:
Include .OBJDIR in DESTDIR in the vm-base target.

release/release.sh:
  Provide the full path to mddev.

Sponsored by:	The FreeBSD Foundation
2014-09-28 20:06:02 +00:00
Glen Barber
4e187d25fa release/Makefile:
Connect the virtual machine image build to the release
  target if WITH_VMIMAGES is set to a non-empty value.

release/release.sh:
  Add WITH_VMIMAGES to RELEASE_RMAKEFLAGS.

release/release.conf.sample:
  Add commented entries for tuning the release build if the
  WITH_VMIMAGES make(1) environment variable is set to
  a non-empty value.

Sponsored by:	The FreeBSD Foundation
2014-09-28 17:53:10 +00:00
Glen Barber
8234f86da8 Remove a 'set -x' that snuck in during testing.
Sponsored by:	The FreeBSD Foundation
2014-09-28 17:16:45 +00:00
Glen Barber
c925095689 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
Glen Barber
a68d274b86 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 Atkinson
dc42251bc6 Add ipheth(4) to the hardware notes.
MFC after:	6 days
2014-09-26 13:12:00 +00:00
Christian Brueffer
ed2e001163 Add smsc(4) to the hardware notes. 2014-09-26 11:22:32 +00:00
Glen Barber
83f0a683f4 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
Pedro F. Giffuni
fbbabf630e 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
Glen Barber
41ab81a556 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
Glen Barber
094be940b6 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
Glen Barber
98e600cc4a 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
Nathan Whitehorn
013713e765 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
Glen Barber
53bdd39b8a 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
Glen Barber
b60a2f70da 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
Glen Barber
017717d87f 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
Glen Barber
a53123ac8d Add an arch.powerpc64 entity.
Sponsored by:	The FreeBSD Foundation
2014-09-09 19:58:55 +00:00
Glen Barber
361246024a 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
Glen Barber
9c6096d3a7 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
Glen Barber
f07e1c32aa 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
Glen Barber
ce470233d4 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
Glen Barber
f64f30c974 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
Glen Barber
2f40fb9ce2 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
Glen Barber
5d60413452 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
Glen Barber
95d901dba9 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
Glen Barber
9b4b426a62 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
Glen Barber
feca3d7855 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
Glen Barber
b751c93322 Sort by commit revision number.
Sponsored by:	The FreeBSD Foundation
2014-07-08 15:14:21 +00:00
Glen Barber
6aa1dfd93b 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
Glen Barber
5583f7efec Document r266757, netmap(4) support for cxgbe(4).
Sponsored by:	The FreeBSD Foundation
2014-07-08 14:59:03 +00:00
Glen Barber
cafefdc7fc Document r266770, Intel Centrino Wireless-N 105 support.
Sponsored by:	The FreeBSD Foundation
2014-07-08 14:55:31 +00:00
Glen Barber
88ce9ff764 Document r267359, disklabel64 partitioning scheme.
Sponsored by:	The FreeBSD Foundation
2014-07-08 14:52:09 +00:00
Glen Barber
5db178347f Document r268303, MacMini 3,1 support in asmc(4).
Sponsored by:	The FreeBSD Foundation
2014-07-08 14:46:40 +00:00
Glen Barber
61d8c3047c Drop leading 'r' in revision number from previous commit.
Sponsored by:	The FreeBSD Foundation
2014-07-08 14:45:11 +00:00
Glen Barber
d9fa41e1a1 Document r268351, end of ia64 support.
Sponsored by:	The FreeBSD Foundation
2014-07-08 14:42:44 +00:00
Marcel Moolenaar
e7d939bda2 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
Glen Barber
13c36b4884 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
Nathan Whitehorn
7fad9ac96c 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
Glen Barber
847e9fae7c 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
Glen Barber
ffc6fb79b6 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 Atkinson
ac1b139605 Remove an nunnecessary reference to csup. 2014-06-25 12:17:00 +00:00
Glen Barber
9cc4bdc285 Drop 'Inc.' for consistency.
Sponsored by:	The FreeBSD Foundation
2014-06-17 21:08:49 +00:00
Glen Barber
4099be8dca Add &citrix; and &citrix.rd; macros.
Sponsored by:	The FreeBSD Foundation
2014-06-16 20:21:15 +00:00
Glen Barber
eb0c646c5f Document r267536, Xen PVH DomU support for amd64.
Submitted by:	royger
Sponsored by:	The FreeBSD Foundation
2014-06-16 20:20:54 +00:00
Glen Barber
ba7bd912bf 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
Glen Barber
4f8fc8713a 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
Julio Merino
cb3ba77815 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
Glen Barber
fdbd636433 Fix indentation level.
MFC after:	3 days
X-MFC-With:	r267326
Sponsored by:	The FreeBSD Foundation
2014-06-10 15:20:41 +00:00
Glen Barber
cd15d7f34e 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
Glen Barber
9761044ad5 Document r267256, OpenSSL 1.0.1h update.
Sponsored by:	The FreeBSD Foundation
2014-06-09 20:52:42 +00:00
Glen Barber
00c37433f4 Move the Sendmail update to keep revision numbers incremental.
Sponsored by:	The FreeBSD Foundation
2014-06-09 20:50:49 +00:00
Christian Brueffer
31ce2c778c Add vte(4) to the hardware notes.
MFC after:	3 days
2014-06-06 19:10:23 +00:00
Warner Losh
04efeffe99 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
Glen Barber
11033496a1 Document r266463, newsyslog.conf(5) includes in conf.d.
Sponsored by:	The FreeBSD Foundation
2014-06-05 23:53:47 +00:00
Glen Barber
f069f300ad Fix a typo.
Sponsored by:	The FreeBSD Foundation
2014-05-29 15:43:51 +00:00
Luigi Rizzo
7db42b3f97 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
Gregory Neil Shapiro
e444ea8bad Note proper revision number for sendmail 8.14.9 merge. 2014-05-26 15:54:31 +00:00
Luigi Rizzo
f36b456b26 do not build libraries, they require a lot more stuff 2014-05-23 11:22:44 +00:00
Luigi Rizzo
7cb79611c2 remove unused code (building older releases should use the
picobsd file in the release itself)
2014-05-23 08:34:30 +00:00
Luigi Rizzo
60ae18aea8 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
Glen Barber
540a8eac2f 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
Glen Barber
f0d60b2a4e 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 Rizzo
c15bc72781 fix picobsd cross builds on stable/10 2014-05-22 12:30:56 +00:00
Gregory Neil Shapiro
377456f91e Note merge to head for sendmail 8.14.9.
MFC after:	3 days
2014-05-22 04:46:51 +00:00
Glen Barber
4c0874041f Document r266209, pmcstat(8) '-l' flag.
Sponsored by:	The FreeBSD Foundation
2014-05-17 19:45:23 +00:00
Glen Barber
a19c94859b Document r265995, Blowfish crypt(3) format change.
Sponsored by:	The FreeBSD Foundation
2014-05-14 15:31:18 +00:00
Glen Barber
32cced09c2 Document r265876, power management bug with Intel Turbo Boost.
Sponsored by:	The FreeBSD Foundation
2014-05-14 15:31:16 +00:00
Steven Kreuzer
5c50ff3f99 Bump copyright date
Approved by:	hrs@ (mentor)
2014-05-12 17:58:17 +00:00
Glen Barber
adb7cfe32b Document r265555, addition of mrsas(4).
Sponsored by:	The FreeBSD Foundation
2014-05-07 21:00:09 +00:00
Glen Barber
68c06f2a11 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
Glen Barber
17021848d8 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
Glen Barber
a8783f0d7e Add a note to keep the entity lists sorted alphabetically.
Sponsored by:	The FreeBSD Foundation
2014-05-07 20:18:50 +00:00
Glen Barber
2d7acd0341 Add attribution for r265348.
Add Netgate to sponsor.ent.

Sponsored by:	The FreeBSD Foundation
2014-05-07 20:15:36 +00:00
Glen Barber
91f7ca8625 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
Glen Barber
258edf4796 Add attribution for r264601.
Sponsored by:	The FreeBSD Foundation
2014-05-07 20:15:32 +00:00
Glen Barber
880014df66 Add attribution for r258884.
Add DARPA, AFRL to sponsor.ent.

Sponsored by:	The FreeBSD Foundation
2014-05-07 20:15:30 +00:00
Glen Barber
b17cc1119a Add sponsorship attribution for r258838 (casperd(8)).
Sponsored by:	The FreeBSD Foundation
2014-05-07 19:53:51 +00:00
Glen Barber
b9a00c9165 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
Glen Barber
6ed9a30c51 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
Glen Barber
37e9c1d132 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
Christian Brueffer
5fdd3ac20b Generate hardware notes for mrsas(4). 2014-05-07 18:27:12 +00:00
Glen Barber
3c0b107a16 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
Glen Barber
bef467af31 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
Glen Barber
33b6b9f670 Move r265348 to 'net-if' section.
Sponsored by:	The FreeBSD Foundation
2014-05-07 12:45:30 +00:00
Glen Barber
1d1ddbb763 Document r265348, Atheros AR1111 support.
Sponsored by:	The FreeBSD Foundation
2014-05-07 12:45:28 +00:00
Glen Barber
e1dab7bb0b Document r265236, addition of mpr(4).
Sponsored by:	The FreeBSD Foundation
2014-05-07 12:45:26 +00:00
Warner Losh
c6063d0da8 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
Glen Barber
4c9e857efa 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
Glen Barber
aa8426befc 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
Christian Brueffer
f75b645b40 Mention the axge(4) driver in the hardware notes.
MFC after:	1 week
2014-05-05 14:57:38 +00:00
Glen Barber
33dc5c2a8c Fix typo: s/null/full
Spotted by:	jilles
Sponsored by:	The FreeBSD Foundation
2014-05-04 17:53:01 +00:00
Glen Barber
52586e7474 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
Glen Barber
f7d2f98988 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
Glen Barber
b4f99e79c1 Wrap lindev(4) references in <literal> tags.
Sponsored by:	The FreeBSD Foundation
2014-05-04 01:32:59 +00:00
Glen Barber
c026b77a11 Dereference man.lindev.4 macros, since the device is removed.
Sponsored by:	The FreeBSD Foundation
2014-05-04 01:32:57 +00:00
Glen Barber
006838ecc0 Document r265132, addition of full(4).
Sponsored by:	The FreeBSD Foundation
2014-05-04 01:32:55 +00:00
Christian Brueffer
42b097602d Add urtwn(4) to the hardware notes.
MFC after:	1 week
2014-05-03 15:33:48 +00:00
Christian Brueffer
92c8a5f121 Add rsu(4) to the hardware notes.
MFC after:	1 week
2014-05-03 11:39:04 +00:00
Christian Brueffer
0eb41ebc3d Generate hardware notes for mpr(4) and bump copyright for 2014. 2014-05-02 21:19:13 +00:00
Nathan Whitehorn
18cb3a015d Use mkimg instead of md(4) and gpart. 2014-05-01 03:24:41 +00:00
Glen Barber
70b7e330c6 Remove note about hw.bus.devctl_disable removal, restored
in r265060.

Sponsored by:	The FreeBSD Foundation
2014-04-28 20:40:36 +00:00
Glen Barber
73e46dba11 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
Nathan Whitehorn
faecd0da18 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
Nathan Whitehorn
457b8af283 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
Nathan Whitehorn
be583ba69d 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
Glen Barber
ed785830d7 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
Glen Barber
a29123a849 Fix indentation for diff reduction with commits to follow.
Sponsored by:	The FreeBSD Foundation
2014-04-25 19:43:18 +00:00
Glen Barber
cac71a6495 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
Glen Barber
ad22db2755 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
Glen Barber
6dceb683a7 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
Glen Barber
192daa5d18 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
Glen Barber
70ba1fc251 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
Glen Barber
4f52dde357 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
Glen Barber
3654a9b190 Fix EOL escape.
MFC after:	3 days
X-MFC-With:	r264697
Sponsored by:	The FreeBSD Foundation
2014-04-20 16:34:10 +00:00
Glen Barber
2093b3b701 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
Glen Barber
f83d85861b 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
Warner Losh
3bdf775801 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
Glen Barber
3e64b4c52d 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
Glen Barber
67aa0eff2f 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
Glen Barber
fde4d9a822 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
Glen Barber
3b485e461d 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
Glen Barber
55af5cf123 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
Glen Barber
0c5359919c 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
Glen Barber
510f330370 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
Glen Barber
86bb4323ab 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
Glen Barber
cbc0e08a7b 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
Glen Barber
6bcca1dc2f Add the svn revision number to the IPX note.
Sponsored by:	The FreeBSD Foundation
2014-04-01 14:48:16 +00:00
Glen Barber
fb01014241 Document r263140, removal of IPX.
Sponsored by:	The FreeBSD Foundation
2014-03-31 14:04:57 +00:00
Glen Barber
88ab2b6093 Document r263754
Sponsored by:	The FreeBSD Foundation
2014-03-26 01:36:00 +00:00
Gleb Smirnoff
2c284d9395 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
Glen Barber
b719fba2ea Update board definition for WANDBOARD-QUAD to match crochet.
Sponsored by:	The FreeBSD Foundation
2014-03-09 02:00:48 +00:00
Glen Barber
a193d6a320 Add ZEDBOARD.
Tested against:	stable/10@r262905 (build only)
Sponsored by:	The FreeBSD Foundation
2014-03-07 22:14:39 +00:00
Glen Barber
e7e17a891a Remove only-works-on-amd64 restriction.
Sponsored by:	The FreeBSD Foundation
2014-03-07 22:10:40 +00:00
Glen Barber
9362e2bc57 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
Glen Barber
e0436612a9 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
Craig Rodrigues
82cac3982b 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
Christian Brueffer
309044d474 Add tws(4) to the hardware notes.
MFC after:	3 days
2014-02-27 21:47:20 +00:00
Glen Barber
faca946f67 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
Glen Barber
2e314957a9 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
Glen Barber
aa2e8af3e1 Chase r262505, and remove CVS exclusion from picobsd builds.
Sponsored by:	The FreeBSD Foundation
2014-02-26 00:54:59 +00:00
Glen Barber
23659c9d9d 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
Glen Barber
9bb84a63b7 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
Glen Barber
2175208978 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
Glen Barber
d91104f02e 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
Glen Barber
c98bb15d01 MFH: tracking commit
Sponsored by:	The FreeBSD Foundation
2014-02-21 03:30:12 +00:00
Steven Kreuzer
7a8d39f1a8 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 Rizzo
c3c9304aa9 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
John Hay
d6d73d476b 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
Christian Brueffer
e6a6b0592e Note the removal of nve(4). 2014-02-16 12:25:22 +00:00
Christian Brueffer
7f47cbd3ce 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
Glen Barber
227c919124 Pass WORLD_FLAGS to the gcc and xdev builds.
Building gnu/usr.bin/cc/ with '-j' set blows up quite
impressively, so add '-j1' after WORLD_FLAGS, and add
a comment explaining why '-j1' is there.

Sponsored by:	The FreeBSD Foundation
2014-02-04 16:18:38 +00:00
Christian Brueffer
b25a3b00ed Add qlxgbe(4) and qlxge(4) to the hardware notes.
MFC after:	1 week
2014-02-04 12:34:08 +00:00
Glen Barber
7bcf52bd4d Export WORLD_FLAGS and KERNEL_FLAGS for buildworld/buildkernel.
Sponsored by:	The FreeBSD Foundation
2014-02-03 22:51:30 +00:00
Steven Kreuzer
53b403818d 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
Glen Barber
0dc54b44a8 Include 'TARGET-TARGET_ARCH' in the resulting image name similar
to 'make -V OSRELEASE' output.

This probably should use 'make -V OSRELEASE' directly, but for
now, this keeps the line length reasonable for readability.

Sponsored by:	The FreeBSD Foundation
2014-01-28 17:27:56 +00:00
Glen Barber
476a484ecb Compress arm/armv6 images before generating checksums to reduce
image size for download.

Sponsored by:	The FreeBSD Foundation
2014-01-28 17:23:44 +00:00
Glen Barber
f2d505cd53 Add initial support for the PANDABOARD.
Sponsored by:	The FreeBSD Foundation
2014-01-28 03:09:57 +00:00
Glen Barber
416b6e64c4 Copy resulting images to top level /R directory of the chroot
to match behavior of 'make install' target of src/release/.
Generate sha256 and md5 checksums while here.

Sponsored by:	The FreeBSD Foundation
2014-01-27 13:28:55 +00:00
Gregory Neil Shapiro
50244b6481 Note merge to head for sendmail 8.14.8.
MFC after:	5 days
2014-01-26 23:55:35 +00:00
Glen Barber
3da8636145 Remove EMBEDDED_WORLD_FLAGS from release.sh, and move the gcc(1)
build to arm/release.sh.

This prevents needing to build a separate chroot environment for
the arm/armv6 builds when it is not absolutely necessary.  This
is useful for situations where a single userland build is used
to populate more than one chroot.

Sponsored by:	The FreeBSD Foundation
2014-01-26 01:27:53 +00:00
Glen Barber
f8089757bb Fix TARGET_ARCH and XDEV_ARCH for BEAGLEBONE, should be arm/armv6.
Sponsored by:	The FreeBSD Foundation
2014-01-25 23:59:20 +00:00
Glen Barber
45935e14a0 Explicitly set XDEV_ARCH and TARGET_ARCH to 'armv6', which resolves
boot-time issues when building 10.0-RELEASE images.

Sponsored by:	The FreeBSD Foundation
2014-01-25 09:07:55 +00:00
Glen Barber
d725697e06 Add initial support for building arm BEAGLEBONE images.
- In arm/release.sh:
   - Move crochet work directory creation to occur earlier,
     since its parent directory is needed to store a fetched
     u-boot version.

   - Add a before_build() function as a quick hack to run
     board-specific (kernel configuration specific, really)
     commands, if any.

   - For the BEAGLEBONE kernel, a specific version of u-boot
     source is needed.  Fetch the source in before_build() for
     this case.  Unfortunately, there are no checksums available
     (that I can find) for these sources.  For a quick solution,
     add the hard-coded sha256 of the tarball, and fetch from
     my public_html/ directory.  A more permanent solution for
     this needs to be found.

Add initial release.sh and crochet configuration files for the
BEAGLEBONE build.

Sponsored by:	The FreeBSD Foundation
2014-01-24 22:12:59 +00:00
Steven Kreuzer
b341c6c857 jemalloc has been updated to version 3.5.0.
Approved by:	hrs (mentor)
2014-01-23 14:13:12 +00:00
Steven Kreuzer
e6eb55f346 OpenSSL has been updated to version 1.0.1.f
Approved by:	hrs (mentor)
2014-01-23 03:24:38 +00:00
Glen Barber
0e3619c1b4 Document r258830.
Sponsored by:	The FreeBSD Foundation
2014-01-21 01:21:20 +00:00
Glen Barber
0a2eba9c0e Document r258838.
Sponsored by:	The FreeBSD Foundation
2014-01-21 01:12:54 +00:00
Glen Barber
76b808e5d8 Document r258884.
Sponsored by:	The FreeBSD Foundation
2014-01-21 01:12:52 +00:00
Glen Barber
56579fc693 Document r259626.
Sponsored by:	The FreeBSD Foundation
2014-01-21 01:12:50 +00:00
Glen Barber
729accb5e5 Document r260445.
Sponsored by:	The FreeBSD Foundation
2014-01-21 01:12:48 +00:00
Glen Barber
96ee781b93 Reformat to fix a nit in the rendered output.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:59:32 +00:00
Glen Barber
aba2802443 Move r260903, misplaced.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:52:28 +00:00
Glen Barber
c243e038f0 Document r260410.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:50:34 +00:00
Glen Barber
a8be2362f8 Move r260532 to kernel-virtualization.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:50:32 +00:00
Glen Barber
0238d66444 Document r260448.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:50:30 +00:00
Glen Barber
4a5edead12 Document r260532.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:31:20 +00:00
Glen Barber
418ee7f0e2 Document r260552.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:31:18 +00:00
Glen Barber
fcd4a64339 Document r260582.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:31:16 +00:00
Glen Barber
e417503b7b Document r260583.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:12:12 +00:00
Glen Barber
78a4910fd2 Move r260847 to 'kernel-virtualization'.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:12:10 +00:00
Glen Barber
6deed2008a Document r260594.
Sponsored by:	The FreeBSD Foundation
2014-01-20 23:08:33 +00:00
Glen Barber
4db7b8a854 Document r260847.
Reword entry for r260888.

Sponsored by:	The FreeBSD Foundation
2014-01-20 23:08:31 +00:00
Glen Barber
f76075f807 Document r260888.
Sponsored by:	The FreeBSD Foundation
2014-01-20 22:25:50 +00:00
Glen Barber
cf3be0f2c2 Document r260903.
Sponsored by:	The FreeBSD Foundation
2014-01-20 22:08:11 +00:00
Glen Barber
81b4af3864 Document r260910.
Sponsored by:	The FreeBSD Foundation
2014-01-20 22:08:09 +00:00
Glen Barber
7eb7bae388 Document r260913, onifconsole ttys(5) flag.
Sponsored by:	The FreeBSD Foundation
2014-01-20 21:58:29 +00:00
Glen Barber
a071fdd1de Document r260921, nand(4) enabled by default for arm.
Sponsored by:	The FreeBSD Foundation
2014-01-20 21:50:06 +00:00
Glen Barber
2f3e143f31 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
Glen Barber
9b919293f5 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
Glen Barber
683e1de39d 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
Glen Barber
54f9beb117 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
Glen Barber
fe0f2d73ae 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
Glen Barber
4ee034d81e 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
Glen Barber
b479fd538c When bootstrapping the build chroot, the default environment is
set up for the amd64/amd64 TARGET/TARGET_ARCH combination.

Some of the build tools used here (u-boot in particular) require
use of gcc(1).  The lang/gcc* from ports/ will install as 'gccNN'
instead of 'gcc', so they cannot be used without extra hacks.

Add an EMBEDDED_WORLD_FLAGS variable to be used to properly set
up the build chroot.  For the RPI-B case, EMBEDDED_WORLD_FLAGS
is set to 'WITH_GCC=1', which is used to set up the build chroot.

While here, in followup to r260895, do not rely on the necessary
configuration files and/or scripts to exist in the build target
src/ tree.

To work around cases where files do not exist, copy (from the
local release/ checkout) the tools/${XDEV}/crochet-${KERNEL}.conf
to ${CHROOTDIR}/tmp/external/crochet-${KERNEL}.conf to make them
accessible to the external utilities that need them (i.e., crochet).

Sponsored by:	The FreeBSD Foundation
2014-01-19 22:25:57 +00:00
Glen Barber
37c587b8a1 Move tools/release/${XDEV}/ to release/tools/${XDEV}/.
In general, the workflow used for the latest releases has been
to checkout head/release/ to a directory outside of any build
environments, modify the release.conf accordingly, and run:

	# ./release.sh -c ./release.conf

By moving tools/release/${XDEV}/ (for RPI-B build testing, in
this case), any dependency on a different branch of the source
tree can be removed.  In particular, release.sh expects the
tools/release/${XDEV}/crochet-${KERNEL}.conf file to exist, so
by moving the crochet configuration file to a directory in
release/, it becomes possible to build images for branches that
do not yet have the necessary configuration files and/or scripts.

Sponsored by:	The FreeBSD Foundation
2014-01-19 22:01:08 +00:00
Glen Barber
4f18ae673c MFH: Tracking commit (r260891)
Sponsored by:	The FreeBSD Foundation
2014-01-19 19:58:44 +00:00
Glen Barber
6f50c4ea71 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
Hiroki Sato
4415efa2c2 - Fix indent.
- Minor clean up after DB5 migration.
2014-01-15 17:34:21 +00:00
Steven Kreuzer
75126ac798 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
Hiroki Sato
cd0dd0d833 Add missing arch= and revision= support. 2014-01-14 23:04:31 +00:00
Hiroki Sato
fd11bdfba7 - 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
Glen Barber
e01ff6218a MFH: tracking commit (head@r260486)
Sponsored by:	The FreeBSD Foundation
2014-01-09 17:27:00 +00:00
Luigi Rizzo
c04dbdba8e do not use capsicum when building picobsd images 2014-01-06 08:09:19 +00:00
Glen Barber
34d63eb560 Implement cross build support for embedded devices into
release.sh:

 - Modify release/release.sh to recognize an 'EMBEDDEDBUILD'
   variable.  When set, release/release.sh will build the chroot
   userland as is done for big-iron builds.

 - Instead of running the 'buildworld', 'buildkernel', and
   'release' targets in the chroot, a separate script is run.
   The script tools/release/${XDEV}/release.sh sets up the rest
   of the chroot workspace, such as installing ports that will
   be needed, and building the 'xdev' target.

 - crochet (by kientzle@) is checked out from the upstream
   repository (and if needed, u-boot, in the case of Raspberry
   Pi).

 - tools/release/${XDEV}/release.sh then runs crochet with
   a configuration file specific to the ${KERNCONF} being built.

Note that this is effectively a first-pass attempt to integrate
this into the release process.

Tested against:	head@r259961
Sponsored by:	The FreeBSD Foundation
2013-12-28 02:27:06 +00:00
Glen Barber
4eb970a44f 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
Julio Merino
6a1456ccc2 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
Julio Merino
87ed802785 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
Craig Rodrigues
ea4f1eed8e 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
Glen Barber
688e932b26 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
Glen Barber
34a5ebdef1 Update FreeBSD version entities to reflect head/ is 11.0-CURRENT.
Sponsored by:	The FreeBSD Foundation
2013-12-23 20:39:54 +00:00
Craig Rodrigues
6cb6c0a8af Mention jemalloc upgrade to 3.4.0 2013-12-23 19:48:02 +00:00
Craig Rodrigues
c5934b2941 Updates for various userland tools. 2013-12-23 11:03:37 +00:00
Craig Rodrigues
917254668a 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
Craig Rodrigues
bc14111650 Mention RDRAND and Xen PVHVM. Add a revision number for 4TB RAM support on amd64. 2013-12-23 08:22:08 +00:00
Craig Rodrigues
1f6cee1d60 Add notes for ARM. 2013-12-23 07:58:46 +00:00
Craig Rodrigues
a6a150cf43 Fix text for loading Hyper-V drivers via loader.conf.
Noticed by: hrs
2013-12-23 07:35:34 +00:00
Craig Rodrigues
f56bc132df Add updates for Raspberry PI support, unmapped VMIO, netmap(4), nvme(4). 2013-12-22 22:56:45 +00:00
Craig Rodrigues
e069771009 Group virtualization items in one section. 2013-12-22 19:38:51 +00:00
Craig Rodrigues
44f16dcd63 Add a note for Microsoft Hyper-V. 2013-12-22 19:33:15 +00:00
Craig Rodrigues
aa11f0ccfd Improve section on carp(4) updates.
Add some revision numbers.
2013-12-22 19:11:06 +00:00
Glen Barber
e9120a2560 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
Craig Rodrigues
1d76efc0e2 Mention virtio support. 2013-12-22 11:41:26 +00:00
Craig Rodrigues
5763cfa3bd Mention addition of vmx(4). 2013-12-22 11:10:08 +00:00
Craig Rodrigues
e1c330759c Mention ZFS zio nop-write improvement. 2013-12-22 10:58:40 +00:00
Craig Rodrigues
ebee380515 Add some revision numbers. 2013-12-22 10:52:51 +00:00
Craig Rodrigues
4162adb60f Re-order ZFS items. 2013-12-22 10:50:09 +00:00
Craig Rodrigues
e9d61292a1 Mention TRIM support for ZFS. 2013-12-22 10:42:47 +00:00
Craig Rodrigues
280a818a10 Add revision number for iSCSI initiator. 2013-12-22 10:33:01 +00:00
Craig Rodrigues
e52bea575d Mention that GCC is not built on platforms where CLANG is the default system
compiler.
2013-12-22 10:24:14 +00:00
Craig Rodrigues
3770137db3 Add revision number for BIND removal. 2013-12-22 09:40:03 +00:00
Craig Rodrigues
3a40ddcf1a Add item for clang 3.3 update. 2013-12-22 09:27:57 +00:00
Devin Teske
a36511c287 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
Glen Barber
18f3ddcdee Fix doc build.
Sponsored by:	The FreeBSD Foundation
2013-12-19 05:22:48 +00:00
Craig Rodrigues
75381a059a Add item for pkg(8). 2013-12-19 04:55:35 +00:00
Craig Rodrigues
8cf9cdeb65 Add entry for bhyve. 2013-12-19 03:21:53 +00:00
Craig Rodrigues
6168ea49fe Indent. 2013-12-18 21:23:16 +00:00
Craig Rodrigues
4c099f7e5c Add SVN revision numbers for Chelsio updates. 2013-12-18 21:22:16 +00:00
Craig Rodrigues
7e9787e273 Add SVN revision numbers for Mellanox updates. 2013-12-18 21:14:43 +00:00
Craig Rodrigues
0fe7bfaef4 Add OFED and Mellanox items to release notes.
Submitted by: Meny Yossefi <menyy mellanox com>
2013-12-17 04:19:03 +00:00
Craig Rodrigues
577973f5f9 Add release note items from Chelsio.
Submitted by: np
2013-12-17 03:38:36 +00:00