Commit Graph

6921 Commits

Author SHA1 Message Date
Glen Barber
0b1e90a005 Document r276991, Remove termcap(5) entry reordering; install
termcap(5) verbatim instead.

Sponsored by:	The FreeBSD Foundation
2015-01-12 03:14:54 +00:00
Glen Barber
64c78e1b05 Document r276986, hint.acpi_throttle.0.disabled="1" and
hint.p4tcc.0.disabled="1" by default.

Sponsored by:	The FreeBSD Foundation
2015-01-12 02:50:22 +00:00
Glen Barber
281e4f7fb1 MFC r276765, r276766, r276820, r276822, r276827, r276828:
r276765:
  Update pkg-stage.sh to be compatible with pkg-1.4.x.

  In 1.3.x and earlier, ABI format is, for example,
  freebsd:11:x86:64.

  In 1.4.x, ABI format is FreeBSD:11:amd64, and a new
  configuration entry, ALTABI, is: freebsd:11:x86:64.

  Export PKG_ABI and PKG_ALTABI accordingly, and if
  PKG_ALTABI is set, create a symlink within the dvd
  PKG_CACHEDIR so both new and old ABI directories
  exist.

r276766:
  Properly change directories before creating the
  PKG_ALTABI -> PKG_ABI symlink.

r276820:
  Print informational output when NOPORTS is set,
  which would otherwise cause pkg-stage.sh to
  silently exit.

r276822:
  Ensure /var/run/ld-elf.so.hints exists before building
  pkg(8).

r276827:
  Ensure the ports directories exist for the list of
  packages intended to be included on the DVD, and
  remove any nonexistent ports from the final list.

  Print the list of missing paths, and ensure that
  DVD_PACKAGES is non-zero length (which should never
  happen).

r276828:
  Switch to x11/gnome3 now that x11/gnome2 no longer
  exists in the ports tree.

Sponsored by:	The FreeBSD Foundation
2015-01-11 01:38:32 +00:00
Glen Barber
66b01cccdd Document r275945, capabilities support added to elfdump(1).
Sponsored by:	The FreeBSD Foundation
2015-01-05 20:34:06 +00:00
Glen Barber
b8c4a18f65 Document r275891, CAM port/LUN limits increased.
Sponsored by:	The FreeBSD Foundation
2015-01-05 20:34:03 +00:00
Glen Barber
aabfa36079 Document r275490, vfs.zfs.spa_slop_shift tunable addition.
Sponsored by:	The FreeBSD Foundation
2015-01-05 20:34:00 +00:00
Glen Barber
4c2c5ef5fa Document r275040, dpv(1), dpv(3), figpar(3).
Sponsored by:	The FreeBSD Foundation
2015-01-05 20:33:57 +00:00
Glen Barber
0ede7c5152 Document r274939, iSNS support in ctld(8).
Sponsored by:	The FreeBSD Foundation
2015-01-05 20:33:53 +00:00
Glen Barber
5361766eed Trim the copyright year list to match the style in head.
Sponsored by:	The FreeBSD Foundation
2015-01-02 22:53:03 +00:00
Glen Barber
2f83f75b96 Bump copyright year.
Sponsored by:	The FreeBSD Foundation
2015-01-02 22:25:30 +00:00
Glen Barber
4164b58ecf Prune stable/10 release notes page after 10.1-RELEASE.
Sponsored by:	The FreeBSD Foundation
2015-01-02 22:25:27 +00:00
Glen Barber
164288e3a4 Bump copyright year.
Sponsored by:	The FreeBSD Foundation
2015-01-02 21:41:39 +00:00
Glen Barber
f9406da83e Document the following security advisorires:
- FreeBSD-SA-14:27.stdio
 - FreeBSD-SA-14:28.file
 - FreeBSD-SA-14:30.unbound
 - FreeBSD-SA-14:31.ntp

Sponsored by:	The FreeBSD Foundation
2015-01-02 21:40:55 +00:00
Enji Cooper
be39f9d233 MFC r264400,r265836:
r264400:

  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.

r265836:

  Remove last two NO_MAN= in the tree. In both of these cases, MAN= is
  what is needed.
2014-12-31 23:25:37 +00:00
Glen Barber
d491e7d151 Update the FreeBSD versions in the stable/10 errata file.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-11-14 21:12:28 +00:00
Glen Barber
e83e658342 MFC r274095:
Fix VOLUME_LABEL when BRANCH contains '-' and '.'
  characters, in particular '-' and '.'.

Insta-MFC ok:	re (hrs)
Sponsored by:	The FreeBSD Foundation
2014-11-04 23:02:16 +00:00
Glen Barber
cd16c2ad1f MFC r273653:
Fix a few issues with creating VOLUME_LABEL for the
  installation ISOs:

   - TYPE, BRANCH, and REVISION are only defined if
     OSRELEASE is not defined, so in situations where
     one might set OSRELEASE for an in-house ISO build,
     VOLUME_LABEL would be empty.

   - makefs(8) limits the volume label to 32 characters,
     which for the powerpc64 case, OSRELEASE expands to
     FreeBSD-11.0-CURRENT-powerpc-powerpc64.  Even with
     removing the prefixing 'FreeBSD-', the string is 30
     characters long, leaving zero room for suffixing the
     type of ISO media (BO for bootonly, CD for cdrom, and
     DVD for dvdrom).

  Resolve these by defining VOLUME_LABEL when defining
  OSRELEASE if unset.  If OSRELEASE is defined by the
  builder, use the OSRELEASE from that definition as the
  VOLUME_LABEL.

  In addition, for cases where both TARGET and TARGET_ARCH
  are used for the VOLUME_LABEL, use TARGET_ARCH if it
  differs from TARGET.

  There are probably a few sharp edges here yet, but these
  problems are going to affect the powerpc/powerpc64 builds
  for 10.1-RELEASE, so the immediate concern is fixing the
  underlying problem at hand quickly, and less so about the
  elegance of the fix.

Insta-MFC ok:	re (kib)
Sponsored by:	The FreeBSD Foundation
2014-10-26 17:14:57 +00:00
Pedro F. Giffuni
49279d32cb MFC r271787:
simple_httpd: cosmetic cleanups.

Many tab vs space cleanups.
Use setpgid() instead of setpgrp() which is more portable.
2014-10-23 02:50:18 +00:00
Glen Barber
598825154e Fix label for the UEFI bootonly cd.
Sponsored by:	The FreeBSD Foundation
2014-10-21 00:07:37 +00:00
Glen Barber
854d7730cc MFC r273204:
Add more descriptive metadata to the ISO images.

Sponsored by:	The FreeBSD Foundation
2014-10-21 00:06:03 +00:00
Glen Barber
23f19d0a4b MFC r273093, r273096:
r273093:
  Merge the following from ^/projects/release-vmimage:
  r272436, r272437, r272792:

  r272436:
    Remove the first argument to panic(), which was initially
    intended to be the exit code, however when a non-zero exit
    code was returned to release/Makefile, this would prevent
    any remaining (and possibly successful) stages from being
    attempted.

  r272437:

    If the vm-base target fails, prevent the vm-image target
    from being run since it cannot possibly succeed.

  r272792:

    Add /usr/local/bin and /usr/local/sbin to PATH, needed
    if third-party software needs to use utilities outside
    of the base system during post-install stages (indexinfo
    is one culprit).

r273096:
  Merge the following from ^/projects/release-vmimage:
  r273076, r273077, r273079, r273095:

  r273076:
    Add a separate make(1) target to release/Makefile to
    build FreeBSD virtual machine disk images for use on
    the Microsoft Azure service.

    For now, this target is not directly connected to the
    build, however can be manually invoked.

    The 'vm-azure' target invokes {amd64,i386}/mk-azure.sh,
    which does the heavy lifting to produce proper VHDs.
    mk-azure.sh uses a configuration file, defaulting to
    tools/azure.conf if otherwise unset.

  r273077:
    Clear VM_RC_LIST.

  r273079:
    Fix signal list to trigger umount(8).

  r273095:
    Output an informational message when mkimg(1) runs, so it
    does not appear that the process has stopped while waiting
    for a 'y/n' response when waagent is deprovisioned.

Relnotes:	yes
Sponsored by:	The FreeBSD Foundation
2014-10-16 23:16:26 +00:00
Glen Barber
b23eaa074e Revert r273084:
In the stable/ branches, release.prev intentionally points to the
  previous version, in addition to a number of intentional version
  mappings for the errata.html page, that this commit breaks.

Reported by:	hrs
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-10-14 16:44:15 +00:00
Glen Barber
573ee03521 Clean up the stable/10 errata document now that releng/10.1
has precedence over releng/10.0.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-10-14 13:06:13 +00:00
Glen Barber
126214c4af Update the FreeBSD versions in the stable/10 errata documentation
to reflect reality.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-10-14 13:03:11 +00:00
Glen Barber
dd2cbaa560 MFC r272414:
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.

Sponsored by:	The FreeBSD Foundation
2014-10-14 12:23:44 +00:00
Glen Barber
56afbfb442 Revert r272724:
Features not yet available in stable/10 are needed in
  mkimg(1), and it is more dangerous to tweak these changes
  in stable/10 directly without explicitly testing certain
  failure cases.

  Re-addition of this change is imminent.

Sponsored by:	The FreeBSD Foundation
2014-10-08 04:42:56 +00:00
Glen Barber
0b99612eef MFC r272414:
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.

Sponsored by:	The FreeBSD Foundation
2014-10-08 04:25:17 +00:00
Ed Maste
760b6bed3c MFC r271549 (nwhitehorn):
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
Approved by:	re
2014-09-30 16:36:50 +00:00
Glen Barber
5ee03d13f4 Document r271947, OpenPAM updated to Ourouparia (20140912).
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-25 16:48:23 +00:00
Glen Barber
a2192a1f90 Document r271943, Latest/pkg.txz symlink included on the DVD to
make bootstrapping pkg(8) easier.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-25 16:48:21 +00:00
Glen Barber
b31c701583 Document r271880, serial and null console support added to UEFI
boot loader.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-25 16:48:19 +00:00
Glen Barber
c401d9ee13 Document r272006, GEOM_ELI passphrase caching on boot with multiple
providers.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:18 +00:00
Glen Barber
9f8dcf602b Document r271967, mkimg(1) empty partition support.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:16 +00:00
Glen Barber
c26e5736a8 Add sponsor attribution for r271470
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:13 +00:00
Glen Barber
1cd1d4aab1 Document r271816, drm/i915 HW context support.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:11 +00:00
Glen Barber
7e238f1868 Document r271470, addition of BIOS- and UEFI-capable CDROM images.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:09 +00:00
Christian Brueffer
f8a936dcb8 Spelling, grammar and punctuation fixes.
Approved by:	re (gjb)
2014-09-22 20:04:59 +00:00
Glen Barber
c9ece0e534 MFC r271876:
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.

Approved by:	re (delphij)
Sponsored by:	The FreeBSD Foundation
2014-09-22 05:00:55 +00:00
Glen Barber
4f7a654374 MFC r271676, r271677, r271678:
r271676:
  Catch up with Crochet changes to fix the BEAGLEBONE
  build.

r271677:
  Catch up with Crochet changes to fix the WANDBOARD-QUAD
  build.

r271678:
  Set a static revision of the Crochet checkout to avoid
  surprise build failures.

Approved by:	re (marius)
Sponsored by:	The FreeBSD Foundation
2014-09-18 17:15:38 +00:00
Glen Barber
959d01cde9 Document SA-14:19
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-16 19:25:27 +00:00
Ed Maste
f843b07f12 MFC r265171 by nwhitehorn: Use mkimg instead of md(4) and gpart [for powerpc].
Approved by:	re
2014-09-15 16:47:04 +00:00
Glen Barber
0c1a4e9b19 MFC r271480, r271483, r271491:
r271480:
  Set PKG_CACHEDIR to an 'All/' directory one level lower
  to fix 'pkg repo' generating repository metadata for the
  on-disc packages.

r271483:
  Fix duplicate PKG_ABI in the PKG_CACHEDIR path.

r271491:
  Simplify dvd package population with pkg-1.3.

Approved by:	re (rodrigc)
Sponsored by:	The FreeBSD Foundation
2014-09-15 02:21:34 +00:00
Glen Barber
bda79dd0c5 Include the 'mini' (bootonly) UEFI memstick image
in the list of IMAGES.

This is a direct commit to stable/10.

Approved by:	re (marius)
Sponsored by:	The FreeBSD Foundation
2014-09-12 19:32:18 +00:00
Glen Barber
50bcf5cde0 Connect the UEFI-capable disc1.iso and dvd1.iso variants
to the build.

This is a direct commit to stable/10.

Approved by:	re (marius)
Sponsored by:	The FreeBSD Foundation
2014-09-12 18:23:22 +00:00
Glen Barber
93d46df8de MFC r271331:
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, relnotes)
Sponsored by:	The FreeBSD Foundation
2014-09-12 17:01:14 +00:00
Ed Maste
bd79523bd9 MFC r264995 (nwhitehorn):
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.

Approved by:	re
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
2014-09-12 16:37:56 +00:00
Glen Barber
eacf1543fa Connect the UEFI-capable memstick.img to the build.
This is a direct commit to stable/10, as the script
in head/ does UEFI by default.

Approved by:	re (rodrigc)
Sponsored by:	The FreeBSD Foundation
2014-09-09 21:07:21 +00:00
Glen Barber
6dc5d31f4b Document SA-14:18.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-09 17:38:55 +00:00
Ed Maste
800834be00 MFC UEFI memstick build script
r264935 (gjb):

    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.

r264992 (nwhitehorn):

    Make a dual-boot BIOS/UEFI memstick image. Testing required before
    this gets renamed make-memstick.sh.

r265017 (nwhitehorn):

    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.

Approved by:	re
Sponsored by:	The FreeBSD Foundation
2014-09-09 16:11:04 +00:00
Glen Barber
3cb970c02d - Document 263725, ctld(8) 'portal-group' is overrideable.
- Document 263726, ctld(8) 'auth-group' default entry.

Submitted by:	trasz
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-08 15:42:47 +00:00