Commit Graph

6984 Commits

Author SHA1 Message Date
Glen Barber
c52703953e MFC r284617:
Fix path to waagent.

Sponsored by:	The FreeBSD Foundation
2015-06-22 00:54:47 +00:00
Glen Barber
25a080cf58 MFC r284567:
Add Makefile.azure, used to upload VHD images to the
  Microsoft Azure environment, similar to the EC2 AMIs.

Sponsored by:	The FreeBSD Foundation
2015-06-21 04:39:34 +00:00
Glen Barber
c4b657dc62 MFC r284333:
Reduce the arm/armv6 image size from 1G to 480M.

  Since the images are effectively mostly zeros at 1G,
  reduce the size to allow installation on smaller SD
  cards, such as 512Mb.

  While here, stop writing the /boot.txt file on the
  WANDBOARD, which isn't used anyway.

Sponsored by:	The FreeBSD Foundation
2015-06-17 16:29:32 +00:00
Glen Barber
1927a7e81e MFC r283920, r283991, r283992, r284102:
r283920:
 Add a configuration file to support the Cubox/Hummingboard SoC.

r283991:
 Add initial support for building images for the Duovero Gumstix
 board.

r283992:
 Fix a whitespace nit.

r284102:
 Set the correct UBLDR_LOADADDR for the Wandboard and
 Cubox/Hummingboard images.

Sponsored by:	The FreeBSD Foundation
2015-06-08 15:24:24 +00:00
Glen Barber
b71525c542 MFC r283896:
In arm_create_disk(), disable soft updates journaling.

 Disabling soft updates journaling appears to resolve issues
 with kernel panics, and may also be generally bad to have
 enabled for SD cards.

Sponsored by:	The FreeBSD Foundation
2015-06-08 15:12:47 +00:00
Glen Barber
ceecf9b2bb MFC r283894, r283895, r283913, r284004, r284010:
r283894 [1]:
  Disable arm_create_user().

 r283895 [1]:
  Re-enable arm_create_user(), and pass the '-V DESTDIR/etc' to
  pw(8) to set the correct /etc directory for the user/group
  files.

 r283913:
  Pass the '-b' argument to pw(8) so the '/home' directory is
  created in the correct place.

 r284004:
  Make sure /home exists within the DESTDIR before creating the
  'freebsd' user account.

 r284010 [2]:
  Work around a potential bug in pw(8) when '-m' is specified.

 [1] For recording merge history only.
 [2] This commit post-dates the pw(8) '-R' addition in head/,
     which is needed for conflict resolution from r284004.

Sponsored by:	The FreeBSD Foundation
2015-06-08 15:08:09 +00:00
Glen Barber
932efdb54c MFC r283919:
Remove trailing tabs to avoid spamming stdout with long lines.

Sponsored by:	The FreeBSD Foundation
2015-06-05 00:28:38 +00:00
Glen Barber
2e5c27e4ec MFC r283673, r283674:
r283673:
  Sort configuration options for consistency with other boards.

 r283674:
  Export 'BOARDNAME' when differs from the KERNCONF.

Sponsored by:	The FreeBSD Foundation
2015-06-01 16:46:51 +00:00
Glen Barber
dc10575342 MFC r283573, r283574, r283575, r283576, r283580, r283593, r283618:
r283573:
  Remove a continuation on error, since the relevant behavior can
  only occur if a particular file exists.

 r283574:
  Set STAGE_TARGETS only if RELEASEDIR exists.

 r283575:
  Remove duplicate exists() sanity check.

 r283576:
  Reindent after previous commit.

 r283580:
  Use SVNREVISION and BUILDDATE if passed into the make(1)
  environment, fallback to trying to figure it out otherwise.

 r283593:
  Fix a typo in a comment.

 r283618:
  Invert the build date and svn revision to match the namimg
  convention that has been in use for a while.

Sponsored by:	The FreeBSD Foundation
2015-05-29 00:46:14 +00:00
Glen Barber
d4035293db MFC r283307:
Use mkimg(1) to create the i386 memstick images, similar to
 how is done for amd64.  The exception here is there is no
 EFI partition for i386.

Sponsored by:	The FreeBSD Foundation
2015-05-26 00:44:29 +00:00
Glen Barber
1526801344 MFC r282785, r282787, r282789, r282790, r282791, r282792, r282793,
r282794, r282795, r282796, r282797, r282798, r282799, r283265,
r283266, r283268, r283271, r283272, r283298, r283302:

 Add a new file, Makefile.mirrors, which is intended to replace
 a 474-line kludge of a shell script to pre-create the directory
 hierarchy on ftp-master.

 This is not in any way connected to the build, and there is no
 intention to do so.  This only intent here is to try to make
 things a little bit easier.

 Always use the 'make install' directory as the source for images.
 For RE purposes, we use the default (/R within the chroot), so
 this helps avoid copying files multiple times and xz(1)-compressing
 additional times when not needed.

 Fix staging virtual machine images for ftp propagation.

 This Makefile is not for general consumption.

Sponsored by:	The FreeBSD Foundation
2015-05-25 22:12:30 +00:00
Glen Barber
ea16eedac6 MFC r283252:
Include the TARGET in the EC2 AMI name.

  Without this, AWS rejects subsequent image uploads of a different
  architecture because the name conflicts.

Sponsored by:	The FreeBSD Foundation
2015-05-24 02:15:18 +00:00
Glen Barber
e3d5164567 MFC r282500, r282693:
r282500:
  Add initial support for building RPI2 images.

  In release.sh, allow overriding buildenv_setup() before
  the handoff to arm/release.sh.

  Copy arm/RPI-B.conf -> arm/RPI2.conf, set UBOOT_PORT and
  the correct KERNEL, and add the buildenv_setup() override
  to install the sysutils/u-boot-rpi2 port/package.

  Copy tools/arm/crochet-RPI-B.conf -> tools/arm/crochet-RPI2.conf,
  and set the correct entries for the RaspberryPi2 board.

 r282693:
  Merge ^/projects/release-arm-redux into ^/head.

  Of note:

  - This commit adds native FreeBSD/arm release build support without
    requiring out-of-tree utilities.

  - Part of this merge removes the WANDBOARD-{SOLO,DUAL,QUAD} kernel
    configuration files, for which the IMX6 kernel configuration file
    should be used instead.

  - The resulting images have a 'freebsd' user (password 'freebsd'),
    to allow ssh(1) access when console access is not available (VGA
    or serial).  The default 'root' user password is set to 'root'.

  - The /etc/ttys file for arm images now enable both ttyv0 and ttyu0
    by default.

Note:  The RPI2 kernel configuration does not yet exist in stable/10,
however the merge conflicts needed to be properly resolved.
Additionally, SRCBRANCH has been set to base/stable/10 in the updated
arm configuration files as part of this commit.

Sponsored by:	The FreeBSD Foundation
2015-05-20 19:32:57 +00:00
Glen Barber
a19799c7d5 MFC r282772:
Fix virtual machine disk format creating by passing VMFORMAT
  to mkimg(1)

PR:		200068
Sponsored by:	The FreeBSD Foundation
2015-05-14 04:21:04 +00:00
Glen Barber
e8da9d5e58 Document EN-15:04 and EN-15:05.
Sponsored by:	The FreeBSD Foundation
2015-05-14 04:05:34 +00:00
Glen Barber
a18fff50da MFC r282419, r282435:
r282419:
   Add logic to detect if the net/bsdec2-image-upload port needs
   to be installed. [1]

   For the cw-ec2-portinstall and ec2ami targets, touch the
   .TARGET file after completion to prevent duplicate invocations.

   Add cw-ec2-portinstall and ec2ami to CLEANFILES.

 r282435:
   Remove a debugging line that snuck in with the previous commit.

Sponsored by:	The FreeBSD Foundation
2015-05-08 02:21:29 +00:00
Glen Barber
1ab76292c2 Update the last svn rev marker.
Sponsored by:	The FreeBSD Foundation
2015-05-05 15:48:25 +00:00
Glen Barber
c31227eb19 Document r282278, wc(1) race when receiving SIGINFO fixed.
Sponsored by:	The FreeBSD Foundation
2015-05-05 15:16:38 +00:00
Glen Barber
0ebf94ab54 MFC r282148:
Fix CROCHETBRANCH.

PR:		199760
Sponsored by:	The FreeBSD Foundation
2015-05-01 00:31:40 +00:00
Glen Barber
44e59d8cdd MFC r282116:
Add the cw-ec2-portinstall target to always install the
  net/bsdec2-image-upload port.

Sponsored by:	The FreeBSD Foundation
2015-04-30 00:35:45 +00:00
Glen Barber
8c89d53018 MFC r282112:
Fix a comment.

Sponsored by:	The FreeBSD Foundation
2015-04-30 00:34:41 +00:00
Glen Barber
2c8a8b73a1 Document r282199, drm update to match Linux 3.8.13.
Sponsored by:	The FreeBSD Foundation
2015-04-29 16:15:38 +00:00
Glen Barber
875a6ad6f7 Document r280632, kern.osreldate now configurable jail(8) parameters.
Sponsored by:	The FreeBSD Foundation
2015-04-29 16:15:36 +00:00
Glen Barber
6c8076309b Document r278608, bcm2835_cpufreq driver addition.
Sponsored by:	The FreeBSD Foundation
2015-04-29 16:15:34 +00:00
Glen Barber
444d09ca06 Document r277592, file(1) update to version 5.22.
Sponsored by:	The FreeBSD Foundation
2015-04-29 16:15:32 +00:00
Glen Barber
d3ce4eab4b Document r281255, devfs(5) read/write update timestamp
precision.

Sponsored by:	The FreeBSD Foundation
2015-04-28 21:58:11 +00:00
Glen Barber
34bc9c6f84 Fix a whitespace nit.
Sponsored by:	The FreeBSD Foundation
2015-04-28 18:12:10 +00:00
Glen Barber
ba650c2149 Update svn revision marker.
Sponsored by:	The FreeBSD Foundation
2015-04-28 18:12:08 +00:00
Glen Barber
cd9f9141d6 Document r281957, hptnr(4) driver updated to version 1.1.1.
Sponsored by:	The FreeBSD Foundation
2015-04-28 18:12:05 +00:00
Glen Barber
62323484da Document r281936, disallow ar(1) directory traversal.
Sponsored by:	The FreeBSD Foundation
2015-04-28 18:12:03 +00:00
Glen Barber
e6a1f9cc53 Document r281843, GELI passphrase prompt support in loader.
Sponsored by:	The FreeBSD Foundation
2015-04-28 18:12:01 +00:00
Glen Barber
9fceabd77a Document r281687, ACPI update to 20150410.
Sponsored by:	The FreeBSD Foundation
2015-04-28 18:11:59 +00:00
Glen Barber
55eb065886 Document r281161, '-R' flag added to netstat(8).
Add Limelight Networks to sponsors.ent.

Sponsored by:	The FreeBSD Foundation
2015-04-28 18:11:56 +00:00
Glen Barber
3bb53d6a32 Document r281075, ACPICA update to version 20150204.
Sponsored by:	The FreeBSD Foundation
2015-04-28 18:11:54 +00:00
Glen Barber
a5cadd46ff Document r281044, fix directory inclusion when '--one-file-system'
is specified.

Sponsored by:	The FreeBSD Foundation
2015-04-28 18:11:51 +00:00
Glen Barber
0027fa6e78 Document r280392, make sure that setmode sets errno on failure.
Sponsored by:	The FreeBSD Foundation
2015-04-28 18:11:49 +00:00
Glen Barber
8488b7e518 Document r280370, DSM TRIM support for virtual AHCI disks.
Sponsored by:	The FreeBSD Foundation
2015-04-28 18:11:47 +00:00
Glen Barber
2b3e28664a Document r280304, OpenSSL update to version 1.0.1m.
Sponsored by:	The FreeBSD Foundation
2015-04-28 18:11:45 +00:00
Glen Barber
f3e8c4299d MFC r280299, r280840, r280846, r280879, r280881, r280884, r280928,
r281783, r281809, r281832:

 r280299 (cperciva):
  When creating VM images, copy the contents of the created filesystem
  into a new filesystem before packaging it into a disk image.  This
  prevents "remnants" of deleted files from showing up in the VM images,
  and reduces their compressed size (by about 10% for the cloudware
  images) as a result.

 r280840 (cperciva):
  Clean up filesystem unmounting in vmimage builds:
  - Remove vm_umount_base function which is currently unused.
  - Add umount_loop function which loops attempting to unmount one
    filesystem.
  - Replace calls to umount with calls to umount_loop.
  - Don't attempt to unmount ${DESTDIR}/dev if it isn't mounted.

  The looping is necessary because sometimes umount fails due to
  filesystems being busy.  The most common cause of such busyness is
  periodic(8) jobs running `find / ...`.

 r280846 (cperciva):
  Improve check for whether ${DESTDIR}/dev is mounted.

 r280879 (cperciva):
  Add bits for building EC2 disk images.

 r280881 (cperciva):
  Partially revert r278118 now that the required logic for deciding
  whether freebsd-update can be useful has moved into the
  firstboot_freebsd_update script.

 r280884 (cperciva):
  Fix pkg(8) command line in vm_extra_pre_umount().

 r280928 (cperciva):
  Add code for creating an EC2 AMI.

 r281783:
  When building VM disk images, vm_copy_base() uses tar(1) to copy
  the userland from one md(4)-mounted filesystem to a clean filesystem
  to prevent remnants of files that were added and removed from
  resulting in an unclean filesystem.  When newfs(8) creates the first
  filesystem with journaled soft-updates enabled, the /.sujournal file
  in the new filesystem cannot be overwritten by the /.sujournal in the
  original filesystem.

  To avoid this particular error case, do not enable journaled
  soft-updates when creating the md(4)-backed filesystems, and instead
  use tunefs(8) to enable journaled soft-updates after the new
  filesystem is populated in vm_copy_base().

  While here, fix a long standing bug where the build environment /boot
  files were used by mkimg(1) when creating the VM disk images by using
  the files in .OBJDIR.

 r281809:
  Simplify variable expansion in attempt to fix the vm-image build.

 r281832:
  Fix locating the /boot files.

Sponsored by:	The FreeBSD Foundation
2015-04-27 19:41:40 +00:00
Glen Barber
fb67590bfe Document SA-15:07, SA-15:08, SA-15:09.
Sponsored by:	The FreeBSD Foundation
2015-04-21 16:54:21 +00:00
Glen Barber
e312e8e251 MFC r280861:
s/AutoSize/Growfs/ following upstream commit r761.

Sponsored by:	The FreeBSD Foundation
2015-04-08 22:02:15 +00:00
Glen Barber
4e86b844aa Document removal of 10.1-RELEASE QCOW2 virtual machine disk
images from FTP, due to a crash-on-boot problem.

Requested by:	jhb (months ago), bapt (recently)
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2015-04-01 04:58:08 +00:00
Glen Barber
4ef325807a MFC r280640:
Crochet sources moved to a new home; update accordingly.

Sponsored by:	The FreeBSD Foundation
2015-03-28 05:11:16 +00:00
Glen Barber
daf763ee08 Document SA-15:06.
Sponsored by:	The FreeBSD Foundation
2015-03-25 17:58:44 +00:00
Glen Barber
6a9e8cc7d7 MFC r279249, r279250, r279257:
r279249:
  Add 'cloudware-install' target to handle copying cloud
  disk images to a directory within DESTDIR.

  Add CLOUDINSTALL variable to automatically generate the
  actual list of install targets.  While here, rename the
  cloud-specific names from 'vm-' to 'cw-' to avoid naming
  collisions.

  Add AZURE_DISK, GCE_DISK, and OPENSTACK_DISK output file
  variables.

  Add 'cloudware-install' to the 'install' target.

 r279250:
  Remove a stale comment.

 r279257:
  Add a CLOUDPACKAGE variable to contain a list of targets for
  post-install packaging cloud provider images.

  Add a 'gce-package.sh' script to generate the final output
  image ready for upload to the GCE platform.  Right now, this
  is the only image that has a specific output format (GNU-tar),
  and this implementation is expected to be temporary.

  This is not directly connected to the other release targets.

Sponsored by:	The FreeBSD Foundation
2015-03-03 02:46:59 +00:00
Glen Barber
a7048e25cf Document FreeBSD-EN-15:01.vt, FreeBSD-EN-15:02.openssl,
FreeBSD-EN-15:03.freebsd-update, FreeBSD-SA-15:04.igmp,
FreeBSD-SA-15:05.bind

Sponsored by:	The FreeBSD Foundation
2015-02-25 16:36:44 +00:00
Glen Barber
25a808c60f Update commented last revision.
Sponsored by:	The FreeBSD Foundation
2015-02-20 20:33:43 +00:00
Glen Barber
84dae73b7c Add 'Generic Storage' section.
Document r279002, r279055:
 ctld(8) update to control non-iSCSI CTL ports
 CTL LUN mapping rewrite

Sponsored by:	The FreeBSD Foundation
2015-02-20 20:30:04 +00:00
Glen Barber
c723a5558a Document r277583, arc_meta_limit exposed via kstats.
Sponsored by:	The FreeBSD Foundation
2015-02-20 20:30:01 +00:00
Glen Barber
26959d8681 Document r277434, fstyp(8) addition.
Sponsored by:	The FreeBSD Foundation
2015-02-20 20:29:59 +00:00