6898 Commits

Author SHA1 Message Date
gjb
524a0ad518 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
gjb
50b9567d08 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
emaste
618d8006d2 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
gjb
b5e5f060ae Document r271947, OpenPAM updated to Ourouparia (20140912).
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-25 16:48:23 +00:00
gjb
d1d1b8fe18 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
gjb
74ceae8d3b 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
gjb
1dbb0a1907 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
gjb
d7e6a9f504 Document r271967, mkimg(1) empty partition support.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:16 +00:00
gjb
d63d137b6a Add sponsor attribution for r271470
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:13 +00:00
gjb
d36a045e13 Document r271816, drm/i915 HW context support.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:11 +00:00
gjb
66a7fec3b0 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
brueffer
c546415691 Spelling, grammar and punctuation fixes.
Approved by:	re (gjb)
2014-09-22 20:04:59 +00:00
gjb
e34350f59e 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
gjb
af46b1fe8b 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
gjb
ed5abc5007 Document SA-14:19
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-16 19:25:27 +00:00
emaste
11d930cebb 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
gjb
4f7be401fc 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
gjb
dd436f76ca 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
gjb
ebd65b549a 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
gjb
9d621a762d 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
emaste
52dc56108e 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
gjb
30e366f556 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
gjb
c32d713587 Document SA-14:18.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-09 17:38:55 +00:00
emaste
63b0cc75c9 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
gjb
259a8f66d5 - 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
gjb
8894289180 Document r263720, hostname- and IP-based restrictions added
to ctld(8).

Submitted by:	trasz
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-08 15:42:45 +00:00
gjb
f9220a91f7 Document r271260, support for /etc/rc.d/<service>/
subdirectories.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-08 15:00:01 +00:00
gjb
8df04a2533 Document r271234, mrsas(4) enabled in GENERIC for amd64
and i386.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-08 14:59:59 +00:00
gjb
41da06704c Document r271205, powerpc ATI Radeon 9700 backlight fix.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-08 14:59:57 +00:00
gjb
2139254e4b Document r271153, KSTACK_PAGES increased 4 -> 8 on powerpc64.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-08 14:59:55 +00:00
gjb
48180318a3 - Refine entry for r271130 since a follow-up commit
adds 64-bit libstand.

- Document r271135, initial UEFI boot support.

- Document r271136, boot1.efi, boot1.efifat, loader.efi
  installed to /boot.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-08 14:59:53 +00:00
gjb
471b8a73bc Document r271130, sys/boot/libstand moved to 32-bit specific
directory naming convention.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-08 14:59:51 +00:00
gjb
d2a36566dd Document r271128, several performance enhancements to vt(4).
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-08 14:59:49 +00:00
gjb
778da94be7 Document r271116, ofwfb updated to work with
x11-servers/xorg-server.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-08 14:59:47 +00:00
gjb
a434c5e9c4 Document r271111, vt(4) enabled for PS3.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-08 14:59:45 +00:00
gjb
be0094980b Document r271095, vt(4) keymap support added to the syscons
rc(8) startup script.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-08 14:59:43 +00:00
gjb
b97bfa455f Document r271069, Mac Mini 3,1 support added to asmc(4).
Sponsored by:	The FreeBSD Foundation
2014-09-04 11:15:38 +00:00
gjb
68b3b15c73 Document r262566, sshd(8) startup script creates ed25519 keys
if ENOENT on startup.

Sponsored by:	The FreeBSD Foundation
2014-09-04 02:14:57 +00:00
gjb
f9b0b57357 Document r264438, mdconfig(8) rc.conf(5) listing is no longer
required to be sequential.

Sponsored by:	The FreeBSD Foundation
2014-09-04 02:14:55 +00:00
gjb
d270d2b3cb Document r259141, jail(8) ipv6 allocation startup bug.
Sponsored by:	The FreeBSD Foundation
2014-09-04 02:14:53 +00:00
gjb
dff59f47ed Document libc updates from illumos and Apple.
Submitted by:	pfg
Sponsored by:	The FreeBSD Foundation
2014-09-03 20:53:11 +00:00
gjb
478f4fda1a Minor rewording to the r260387 entry.
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:48:33 +00:00
gjb
788030ad60 Document r270890, pathchk(1): Ensure bytes >= 128 are considered
non-portable characters.

Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:45 +00:00
gjb
edcd7cfaa7 Document r270997, zdb(8) included in /rescue.
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:43 +00:00
gjb
2f29c013bf Document r270810, hptnr(4) update to 1.0.1.
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:41 +00:00
gjb
59f561a488 Document r270892, autofs(5)
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:39 +00:00
gjb
f77dd08d74 Minor rewording to the r260385 entry.
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:37 +00:00
gjb
8c9c43b55e Remove a generalized sentence regarding iSCSI updates that
should be covered by the past few commits.

Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:35 +00:00
gjb
c0977ad13c Expand r262855 to illustrate how to enable the test suite.
Submitted by:	jmmv
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:33 +00:00
gjb
dc49e9fd5f Document r265524, iSCSI performance optimizations.
Submitted by:	trasz
Sponsored by:	The FreeBSD Foundation
2014-09-03 16:46:31 +00:00