aboutsummaryrefslogtreecommitdiff
path: root/release
Commit message (Collapse)AuthorAgeFilesLines
...
* Correct the path to the md(4)-backed UFS filesystem for pine64Glen Barber2017-11-141-1/+1
| | | | | | | | | | images. Boot-tested by: lidl Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=325804
* Update the GUMSTIX image build to use arm/arm TARGET/TARGET_ARCH.Glen Barber2017-11-133-3/+3
| | | | | | | | | | | | Update the TARGET/TARGET_ARCH matching in release/release.sh and release/Makefile.mirrors for simplification. Discussed with: mmel MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=325769
* Specify WITH_UNIFIED_OBJDIR in chroot_arm_build_release() toGlen Barber2017-11-061-8/+8
| | | | | | | | | ensure the output image is created in the correct .OBJDIR. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=325490
* Rework r325076: Just use the pre-existing OBJDIR.Bryan Drewery2017-11-051-7/+3
| | | | | | | | | | Like was done in usr.sbin/mergemaster in r249906, we can just use the already-built OBJDIR for install(1). Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325457
* release/arm: Do not install ubldrEmmanuel Vadot2017-11-0310-20/+0
| | | | | | | | | | | | ubldr is the non-pie version of ubldr.bin, do not install two copies of the same binary. This will allow us to remove ubldr in the future. All the u-boot ports know how to load ubldr.bin Reviewed by: gjb (earlier version) Notes: svn path=/head/; revision=325373
* Fix an error in the PINE64.conf, where the ubldr is not neededGlen Barber2017-11-031-6/+3
| | | | | | | | | | and the u-boot needs to be written to the partition with dd(1). Reported by: manu Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=325369
* Add a configuration file for building pine64 SoC images.Glen Barber2017-11-031-0/+51
| | | | | | | | Parts obtained from: crochet Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=325367
* Include TARGET and TARGET_ARCH in chroot_arm_build_release()Glen Barber2017-11-031-4/+6
| | | | | | | | | | make(1) invocations following the OBJDIR restructuring to ensure the output arm SoC image is in the correct directory. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=325366
* Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR.Bryan Drewery2017-11-012-14/+9
| | | | | | | | | | | | | | | | | | | | | | This changes the build OBJDIR from the older style of /usr/obj/<srcdir> for native builds, and /usr/obj/<target>.<target_arch>/<srcdir> for cross builds to a new simpler format of /usr/obj/<srcdir>/<target>.<target_arch>. This new format is used regardless of cross or native build. It allows easier management of multiple source tree object directories. The UNIFIED_OBJDIR option will be removed and its feature made permanent for the 12.0 release. Relnotes: yes (don't note UNIFIED_OBJDIR option since it will be removed) Prior work: D3711 D874 Reviewed by: gjb, sjg Discussed at: https://lists.freebsd.org/pipermail/freebsd-arch/2016-May/017805.html Discussed with: emaste Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D12840 Notes: svn path=/head/; revision=325288
* Add the amazon-ssm-agent package to EC2 AMI builds. This makes itColin Percival2017-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | immediately available on instances which are running without internet access (or which can't rely on firstboot_pkgs to install it for some other reason). Note that this agent is not enabled by default; to enable it, add amazon_ssm_agent_enable="YES" to /etc/rc.conf, e.g., by placing the lines >>/etc/rc.conf amazon_ssm_agent_enable="YES" into the EC2 user-data. In addition to being enabled, the agent requires keys to be provided via IAM Roles; users are encouraged to be very careful in using this functionality due to the inherent vulnerability in the idea of providing credentials via a service accessible to any process which can open an HTTP connection. Requested by: Amazon No objection from: re@ Relnotes: FreeBSD/EC2 AMIs now include the Amazon EC2 Systems Manager (SSM) Agent. Notes: svn path=/head/; revision=325254
* Run mm-mtree with whatever -j value the build is using.Bryan Drewery2017-10-311-1/+2
| | | | | | | | | Reviewed by: gjb Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D12807 Notes: svn path=/head/; revision=325179
* Set a default hostname for virtual machine images.Glen Barber2017-10-301-0/+4
| | | | | | | | | | | | | A recent bug in security/sudo causes segmentation faults when the system is not configured with a hostname, which causes issues with some virtual machine setups, notably Vagrant. Set the default hostname to the output of 'uname -o'. Submitted by: Nicholas Fiorentini Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=325156
* Update several more URLsEitan Adler2017-10-294-4/+4
| | | | | | | | - Primarily http -> https - Primarily FreeBSD project URLs Notes: svn path=/head/; revision=325096
* Rework r254951 to not reach into private OBJDIR areas.Bryan Drewery2017-10-291-5/+3
| | | | | | | | | | | | | | | | | | | The original change was dealing with the build wanting to run a newer install(1) that was not yet installed. The solution to look into the private legacy directory of the existing build conflicts with 2 upcoming features: a changed OBJDIR format, and splitting the host tools into arch-dependent and arch-independent directories. Rather than hardcoding and changing the paths in this script, just let kernel-toolchain do the work, while disabling much of the meat. With -j15 this finishes in 25 seconds for me and 117 seconds with -j1. All that is really needed is bootstrap-tools, but the system is not currently written in a way that all previous dependent steps will have ran. The previous steps, such as _worldtmp, are being reworked and renamed and so cannot be relied upon to be right. Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325076
* Increase the arm/armv6 and arm/armv7 images from 2.5GB to 3GB,Glen Barber2017-10-1310-10/+11
| | | | | | | | | | | since the RPI2 (at least) does not fit in 2.5GB. While here, add a missing BOARDNAME to RPI2.conf. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=324599
* Add arm/armv7 checks to env_check().Glen Barber2017-10-121-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=324567
* Switch BEAGLEBONE, CUBIEBOARD, and PANDABOARD to use the GENERICGlen Barber2017-10-093-3/+6
| | | | | | | | | | | kernel configuration. Submitted by: andrew Differential Revision: https://reviews.freebsd.org/D12484 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=324442
* Catch up with r324340, switching relevant arm SoCs from armv6Glen Barber2017-10-068-8/+8
| | | | | | | | | to armv7. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=324370
* Support armv7 builds for userlandWarner Losh2017-10-051-1/+1
| | | | | | | | | | | | | | | | | | | Make armv7 as a new MACHINE_ARCH. Copy all the places we do armv6 and add armv7 as basically an alias. clang appears to generate code for armv7 by default. armv7 hard float isn't supported by the the in-tree gcc, so it hasn't been updated to have a new default. Support armv7 as a new valid MACHINE_ARCH (and by extension TARGET_ARCH). Add armv7 to the universe build. Differential Revision: https://reviews.freebsd.org/D12010 Notes: svn path=/head/; revision=324340
* Remove release-related documentation from the base repository,Glen Barber2017-10-0525-3840/+0
| | | | | | | | | moved to the doc repository (see revisions r51045:r51061). Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=324338
* Fix the 'reldoc' target, following doc commit r51047.Glen Barber2017-10-051-4/+8
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=324331
* Bump armv6 SoC images to 2.25GB. RPI-B is full, so increase allGlen Barber2017-10-029-9/+9
| | | | | | | | | | image sizes for consistency. Submitted by: manu Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=324209
* Revert r323812 from release/tools/arm.subr, which has broken theGlen Barber2017-09-221-10/+0
| | | | | | | | | | | | build on arm/armv6 images. Pointyhat: gjb (myself) MFC after: immediate MFC note: releng/10.4 has broken because of this Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=323924
* Bootstrap etcupdate(8) and mergemaster(8) databases when creatingGlen Barber2017-09-202-0/+19
| | | | | | | | | | | | | | virtual machine images and embedded images, similar to what is done when extracting base.txz to the target root filesystem in an new installation. Noticed by: marius Tested with: head@r323729 MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=323812
* Increase arm{,64} SoC image sizes to prevent "filesystem full" buildGlen Barber2017-09-136-6/+6
| | | | | | | | | failures. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=323542
* make-memstick.sh: use UFSv2Ed Maste2017-09-114-4/+4
| | | | | | | | | | | | | | | | | | There's not much practical difference as far as install media is concerned but newfs creates UFSv2 by default and it is sensible to use the contemporary UFS version. I also intend to change makefs to create UFSv2 by default (to match newfs) so we'll want make-memstick.sh to be explicit, rather than relying on the host tool's default. Reviewed by: andrew, gjb, jhibbits MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D12231 Notes: svn path=/head/; revision=323438
* revert unintentional changes from r323436Ed Maste2017-09-114-4/+4
| | | | Notes: svn path=/head/; revision=323437
* boot1: remove BOOT1_MAXSIZE default valueEd Maste2017-09-114-4/+4
| | | | | | | | | | | | This Makefile relies on Makefile.fat providing the correct value for BOOT1_MAXSIZE and BOOT1_OFFSET. Since BOOT1_OFFSET had no default value here the build would already fail if Makefile.fat did not provide correct values. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=323436
* make-memstick.sh: use 'set -e' to abort if any step failsEd Maste2017-09-053-12/+6
| | | | | | | | | | | | | | | Also remove the now-redundant error handling that was only for makefs. This change applies arm64's r308171 to the other make-memstick.sh versions. Reviewed by: gjb MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D12195 Notes: svn path=/head/; revision=323178
* mkisoimages.sh: remove obsolete x$var conventionEd Maste2017-09-044-4/+4
| | | | | | | | Ancient shells had trouble with empty variables but this has not been relevant for FreeBSD for a very long time (decades?). Notes: svn path=/head/; revision=323165
* Increase the Amazon EC2 AMI image size from 2GB to 3GB to preventGlen Barber2017-08-281-2/+2
| | | | | | | | | image build failures due to a full md(4)-backed filesystem. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322968
* Use py-google-compute-engine instead for releasing Google ComputeGlen Barber2017-08-221-3/+6
| | | | | | | | | | | | Engine (GCE) images with an updated version of Google's tools. PR: 221714 Submitted by: helen _dot_ koike _@_ collabora_dot_com (original) MFC after: 5 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322794
* Revert r322327, r322352, r322358:Glen Barber2017-08-152-41/+0
| | | | | | | | | | | | | | | | | | | | | | | Disconnect the dependency on the kernel package from the runtime package. There are a number of problems here: 1) The runtime package installed into a chroot or a jail would include the kernel package, changing the behavior of how jails work now [1]; 2) As result of (1), it is possible a binary may incorrectly resolve kernel symbols [2]; in addition, it is possible there will be unexpected fallout with 32-bit jails on a 64-bit host kernel [2]. Noticed by: brd [1] Discussed with: kib [2] MFC after: 3 days MFC note: record-only to wipe from the merge tracker Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322545
* Always expand the full path to the configuration file specifiedGlen Barber2017-08-151-1/+1
| | | | | | | | | | with the '-c' flag. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322544
* Add SVNVERSION_CMD to bsd.own.mk, adding the capability to includeGlen Barber2017-08-112-2/+2
| | | | | | | | | | | | | | svnversion metadata to the runtime and kernel packages. Instead of traversing src/sys, as is done by newvers.sh for uname(1), a full tree walk is done to prevent userland and/or modifications from not being reflected in a modified tree (M). MFC after: 5 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322412
* Further revise r322327 and r322352 in release/packages/kernel.ucl.Glen Barber2017-08-101-1/+11
| | | | | | | | | | | | | | | | | Use PPID and PID to kill off the pre-install and parent pkg(8) processes unless 'Y' or 'y' are entered at the prompt if the user wants to proceed with upgrading the kernel and userland at the same time. This restores some of the logic and intent of r322327, with the caveat of printing "child process terminated unexpectedly." MFC after: 5 days MFC with: r322327, r322352 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322358
* Revise part of r322327 in release/packages/kernel.ucl.Glen Barber2017-08-101-10/+4
| | | | | | | | | | | | | | | | | | | | | | It appears I misunderstand process forking and signal handling in how the pre-/post-install scripts are executed internally by pkg(8). In some cases (not all), ^C when prompted to cancel the kernel package update will stop the pre-install script from executing, but allow pkg(8) to continue extracting the package when it is not the intent. In order to keep somewhat of an anti-footshooting measure in place, print the recommendation to install the kernel package first if ASSUME_ALWAYS_YES is false and TERM is set, then sleep for 5 seconds to allow the user to see the message. MFC after: 5 days MFC with: r322327 X-MFC-Note: Maybe not until I am happy with this.. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322352
* Add a dependency on the kernel package for the runtime package.Glen Barber2017-08-092-0/+37
| | | | | | | | | | | | | | | | | | | | | | | The idea here is that, provided upstream pkg(8) maintainers accept the proposed change, the kernel.ucl will contain a post-install script causing pkg(8) to emit a message informing to reboot the system after the kernel is upgraded using 'pkg upgrade', so the new userland is installed on the running new kernel. At present, this functionality does not exist in pkg(8), but will help ensure the upgrade path follows that from UPDATING. To work around this for now, evaluate ASSUME_ALWAYS_YES, and prompt the user if they wish to proceed if not set to true. Since there is a kernel dependency, and a non-GENERIC kernel may be in use, update Makefile.inc1 to replace '%KERNCONF%' in the runtime.ucl with the first-built kernel set either via command line or in make.conf(5). MFC after: 5 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322327
* Revert r321659, re-enabling ChallengeResponseAuthentication, which wasGlen Barber2017-07-281-6/+0
| | | | | | | | | | discussed a while back between cperciva@ and so@, and I forgot. Reported by: cperciva Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=321661
* Turn off ChallengeResponseAuthentication for EC2 AMIs, one of EC2'sGlen Barber2017-07-281-0/+6
| | | | | | | | | | requirements. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=321659
* Bump the image size for BANANAPI and CUBIEBOARD2 to 1.5G, asGlen Barber2017-07-272-2/+2
| | | | | | | | | | 1G is no longer large enough. Reported by: manu Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=321619
* Allow passing NOPKG= to make(1) to prevent the pkg-stage targetGlen Barber2017-07-061-1/+1
| | | | | | | | | | from getting executed. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=320748
* Fix the ftp-stage target for RPI3 images by loosening theGlen Barber2017-07-051-2/+2
| | | | | | | | | | constraints on the TARGET and TARGET_ARCH variables. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=320686
* Fix Vagrant image upload after recent API changes.Glen Barber2017-07-031-19/+19
| | | | | | | | | | | | | - Update ATLAS_UPLOAD_URL to avoid various regular expressions from failing to match due to redirections. - Use ATLAS_UPLOAD_URL throughout the script. - Adjust several regular expression patterns. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=320599
* Remove CHROOT_MAKEENV from the RPI3 configuration file, to avoidGlen Barber2017-06-271-1/+0
| | | | | | | | | | | | assuming the build host is amd64. MFC after: 3 days X-MFC-With: r320252, r320253, r320254 X-MFC-Note: maybe Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=320407
* Revert r319603, r319608, and r319609. Creating a hard link to theGlen Barber2017-06-261-2/+0
| | | | | | | | | dtb file for the cubieboard2 is no longer needed in 12-CURRENT. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=320373
* Include WORLD_FLAGS in CHROOT_IMAKEFLAGS and CHROOT_DMAKEFLAGS, toGlen Barber2017-06-231-2/+2
| | | | | | | | | | allow passing '-jN' to the installworld and distributeworld targets. Submitted by: bdrewery Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=320289
* Fix, for the fourth or fifth time now, looking up where boot1.efiGlen Barber2017-06-231-2/+2
| | | | | | | | | | | | is located. MFC after: 5 days X-MFC-Note: maybe X-MFC-With: r320252, r320253 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=320254
* Remove two configuration entries used for debugging that snuck in.Glen Barber2017-06-231-2/+1
| | | | | | | | | | MFC after: 5 days X-MFC-Note: maybe X-MFC-With: r320252 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=320253
* In release/release.sh:Glen Barber2017-06-233-12/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | - Rename chroot_arm_armv6_build_release() to chroot_arm_build_release() and make it hardware agnostic (such as armv6 -vs- armv7 -vs- arm64). - Evaluate EMBEDDED_TARGET differently so release/tools/arm.subr can be used for arm/armv6 and arm64/aarch64. - Update comments and copyright. In release/tools/arm.subr: - In arm_create_disk(), change the default alignment from 63 to 512k, fixing a boot issue on arm64 and EFI. [1] - Update comments and copyright. Add a RPI3 configuration file, pieces obtained from Crochet. Obtained from: Crochet [1] MFC after: 5 days X-MFC-Note: maybe Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=320252