aboutsummaryrefslogtreecommitdiffstats
path: root/release
Commit message (Collapse)AuthorAgeFilesLines
* riscv: increase GENERICSD gapMitchell Horne2020-12-161-1/+1
| | | | | | | | Leave more room for bootloaders at the beginning of the image. In particular, the u-boot files for the HiFive Unleashed are ~5MB in size. Notes: svn path=/head/; revision=368705
* Append the branch commit count to _SNAP_SUFFIX for developmentGlen Barber2020-12-162-1/+7
| | | | | | | | | snapshot builds. Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=368704
* release: Rename arm64/RPI3.conf to arm64/RPI.confEmmanuel Vadot2020-12-151-6/+4
| | | | | | | | | | | We now have a u-boot port and config.txt for booting on all 64bits variant of the RPI boards (RPI2v1.1, RPI3* and RPI4*) so use the new u-boot-rpi-arm64 and the config_arm64.txt files. Discussed with: karels, kevans Notes: svn path=/head/; revision=368662
* Fix staging riscv images.Glen Barber2020-12-091-2/+2
| | | | | | | Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=368493
* Copy arm64 make-memstick.sh and mkisoimages.sh to the riscvGlen Barber2020-12-092-0/+145
| | | | | | | | | directory to allow properly building *.iso and *.img files. Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=368476
* release: don't checksum images if there are noneMitchell Horne2020-12-081-0/+2
| | | | | | | | | | For platforms that don't have any of the memstick, cdrom, or dvdrom release images (i.e. riscv64), the release-install target will trip up when invoking md5(1) on the non-existent image files. Skipping this allows the install to complete successfully. Notes: svn path=/head/; revision=368424
* RISC-V release confsMitchell Horne2020-12-082-0/+24
| | | | | | | | | | | | | | | | | | | | Add two release flavors for RISC-V. First, the traditional "big-iron" images, capable of generating distribution sets and VM images. Installer images won't be built yet, but can be trivially enabled in the future with the addition of riscv/make-memstick.sh. Second, a GENERICSD embedded image. I've opted for this instead of board-specific SD card images as it allows users to just dd the u-boot they want. The RISC-V hardware ecosystem is still young, so a configuration for e.g. the new PolarFire SoC Icicle Kit would likely see very few users. Reviewed by: gjb Relnotes: yes Differential Revision: https://reviews.freebsd.org/D27045 Notes: svn path=/head/; revision=368423
* riscv: allow building virtual machine imagesMitchell Horne2020-12-081-1/+1
| | | | | | | | | | | | RISC-V has the same booting requirements as arm64 (loader.efi, no legacy boot options), so generated images for both architectures have the same partition layout. Reviewed by: gjb Differential Revision: https://reviews.freebsd.org/D27044 Notes: svn path=/head/; revision=368422
* release.sh: add support for RISC-V embedded buildsMitchell Horne2020-12-082-5/+8
| | | | | | | | | | | | | | | Since the few existing RISC-V hardware platforms are single board computers, we can piggyback off of arm/arm64's embedded build support for generating SD card images. I don't see a pressing need to change the naming in this file at this time. Reviewed by: gjb, manu Differential Revision: https://reviews.freebsd.org/D27043 Notes: svn path=/head/; revision=368421
* release: Merge the RPI2 and BEAGLEBONE image with the GENERICSD oneEmmanuel Vadot2020-11-243-81/+53
| | | | | | | | | | | | | | | | Both RPI2 and BEAGLEBONE are still popular and used arm boards. Both u-boots can coexist as they are named differently and live in the fat partition. This leave us with only one image that can be used for both of those boards and all the other ones supported by FreeBSD provided that you install the correct u-boot on it. Reviewed by: imp Relnotes: yes Differential Revision: https://reviews.freebsd.org/D27283 Notes: svn path=/head/; revision=367995
* Release: arm: Remove config for old boardsEmmanuel Vadot2020-11-246-161/+0
| | | | | | | | | | | | All those board are impossible to buy nowadays and could boot using the GENERICSD image after putting the correct u-boot on them. Reviewed by: imp Relnotes: yes Differential Revision: https://reviews.freebsd.org/D27282 Notes: svn path=/head/; revision=367994
* release: rpi3: Copy the bcm2710 variant of the rpi2Emmanuel Vadot2020-11-221-1/+1
| | | | | | | This is the dtb intented to be used for booting RPI2 v1.2 in aarch64. Notes: svn path=/head/; revision=367938
* release: Switch the Allwinner board to GPTEmmanuel Vadot2020-11-193-6/+6
| | | | | | | | | | Allwinner bootrom have an alternate location for u-boot at 128k. Work was made recently in u-boot to relocate correctly if loaded from there. The advantage of this offset is that we can now use a GPT scheme. Notes: svn path=/head/; revision=367843
* pkgbase: Remove %VCS_REVISION% from utilities commentsEmmanuel Vadot2020-11-061-1/+1
| | | | | | | | We don't do that on other packages so be consistent. It also don't work when building from git. Notes: svn path=/head/; revision=367418
* release: Add an image for CIEmmanuel Vadot2020-11-022-1/+40
| | | | | | | | | | | | | | | | | | | | A lot of projects CI can't do FreeBSD tests currently. The main reason is that the project CI infrastructure is runned on Linux and that our images aren't modifiable from a Linux hosts. Add a basic image specific for this case (called BASIC-CI for a lack of a better name). The image have no package pre-installed. It only have a few modification to have dhcp client runned on the default interface and sshd started with option to be able to log on without a password as root. Sponsored by: The FreeBSD Foundation Reviewed by: re (gjb@) Differential Revision: https://reviews.freebsd.org/D25598 Notes: svn path=/head/; revision=367284
* arm64: set the correct partition type in make-memstick.shMitchell Horne2020-10-301-1/+1
| | | | | | | | | | | | | | | We create a UFS root filesystem using makefs(8), and later pass it to mkimg(1) when creating the final image. The correct partition type is freebsd-ufs; the freebsd parition type is for partitions containing a BSD disklabel. Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26987 Notes: svn path=/head/; revision=367178
* arm64: convert virtual machine images to GPTMitchell Horne2020-10-302-11/+3
| | | | | | | | | | | | | | | | | | | These images were switched to MBR in r281876 as a way to cope with a hard-coded partition GUID in QEMU's default EFI firmware. Enough time has passed that this is no longer a problem; QEMU versions >= 4.0 include a copy of edk2 EFI firmware that can detect the root filesystem properly. Alternatively, sysutils/u-boot-qemu-arm64 can be used. Switch back to building these images with a GPT partition table, and re-enable the swap partition. Reviewed by: gjb, emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26986 Notes: svn path=/head/; revision=367177
* vmimage.subr: noisier failure for unsupported targetsMitchell Horne2020-10-301-2/+2
| | | | | | | | | | | | | | | | | | | The return code of write_partition_layout() doesn't bubble up, so an invocation of make vm-release for an incorrect/unsupported target will appear to succeed while make vm-install will fail due to missing files. This isn't a common point of failure, but is worth handling properly. Upgrade this case to print a message to stderr, and exit in place. This is okay to do since at this point in the execution of mk-vmimage.sh, cleanup() has already been run. Reviewed by: gjb MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D26985 Notes: svn path=/head/; revision=367176
* Slight refactor in vmimage.subrMitchell Horne2020-10-301-24/+30
| | | | | | | | | | | | De-duplicate the invocation of mkimg(1). No functional change. Reviewed by: gjb MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26984 Notes: svn path=/head/; revision=367175
* Bump the ISO EFI partition size from 1024 to 2048, following r366732.Glen Barber2020-10-152-2/+2
| | | | | | | | Suggested by: imp Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=366738
* Increase the amd64 ISO ESP file size from 800KB to 1024KB.Glen Barber2020-10-152-6/+6
| | | | | | | | | | | | | | | | | | | | | At some poing over the last week, the bootx64.efi file has grown past the 800KB threshold, resulting in being unable to copy it to the EFI/BOOT directory. # stat -f %z efiboot.znWo7m 819200 # stat -f %z stand-test.PIEugN/EFI/BOOT/bootx64.efi 842752 The comment in the script that creates the ISOs suggests that 800KB is the maximum allowed for the boot code, however I was able to boot an ISO with a 1024KB boot partition. Additionally, I verified against an ISO from OtherOS, where the boot EFI partition is 2.4MB. Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=366732
* [PowerPC64LE] Add release building script for powerpc64le.Brandon Bergren2020-09-231-0/+10
| | | | | | | | | | This was originally part of the initial commit, but after discussion in D26399, I split it out into its own commit after the kernel config file. Sponsored by: Tag1 Consulting, Inc. Notes: svn path=/head/; revision=366044
* arm64: generate ISO release imagesMitchell Horne2020-09-181-0/+93
| | | | | | | | | | | | | | | | Some IPMI implementations on arm64 are reportedly unable to load our memstick installer images, but support the older ISO format. Start generating these for arm64. Unlike installer ISOs for other platforms, these images are UEFI-only. Reviewed by: emaste Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26452 Notes: svn path=/head/; revision=365884
* pkgbase: use consistent annotation for objectk eysKyle Evans2020-09-181-1/+1
| | | | | | | | | | | | Everywhere else we use objects ("scripts", generally) we do sepcify the optional colon. Be consistent and do the same for directories. PR: 249273 Submitted by: Martin <martin.jakob gmx com> MFC after: 1 week Notes: svn path=/head/; revision=365883
* Fix setting RELENGDIR when release.sh is called from an externalGlen Barber2020-09-141-1/+3
| | | | | | | | | script. Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=365725
* Spawn the DHCPv6 client in EC2 instances via rtsold.Colin Percival2020-09-131-3/+13
| | | | | | | | | | | | | | | | | | Prior to this commit, EC2 AMIs used a "dual-dhclient" tool which was launched in place of dhclient and spawned both the base system dhclient for IPv4 and the ISC dhclient from ports for IPv6. Now that rtsold supports the "M bit" (managed configuration), we can go back to having the base system dhclient spawned normally, and provide a script to rtsold which spawns the ISC dhclient from ports when rtsold decides that it is appropriate. Thanks to: bz MFC after: 1 week Sponsored by: https://www.patreon.com/cperciva Notes: svn path=/head/; revision=365696
* Bump the size of EC2 AMIs up to 5 GB.Colin Percival2020-09-131-2/+2
| | | | | | | | | | | | | The FreeBSD base system continues to expand. 4GB is now insufficient; we passed 3 GB in May 2019; we passed 2 GB in August 2017. Over half of the disk space used is in /usr/lib/debug/. Without this change, instances boot but are unusable, since the first thing which breaks when VM filesystems are too small is the "pkg install" in the VM building process. Notes: svn path=/head/; revision=365695
* Fix indentation following r365638. No functional changes.Glen Barber2020-09-111-25/+25
| | | | | | | Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=365639
* Add a NOGIT option to avoid explicitly requiring devel/git if theGlen Barber2020-09-112-1/+5
| | | | | | | | | | sources are obtained through a different mechanism. Reported and tested by: Ruslan Garipov Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=365638
* Fix ordering of the 'pull' subcommand and the '-q' flag.Glen Barber2020-08-291-3/+3
| | | | | | | | Pointyhat to: gjb (myself) Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=364968
* Restore the '-q' flag to the 'git pull' command.Glen Barber2020-08-291-3/+3
| | | | | | | Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=364967
* Remove the VCSUPDATE command, because git is too stupid to haveGlen Barber2020-08-291-4/+3
| | | | | | | | | | | | the '-C <directory>' after the subcommand. Meanwhile, hard-code 'git -C <...> pull' for now. Reported by: Michael Butler Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=364966
* Refine the VCSUPDATE logic further:Glen Barber2020-08-291-6/+6
| | | | | | | | | | - Look for the .git directory instead of top-level directory. - Use 'git -C' instead of cd(1). Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=364960
* Add a VCSUPDATE command to run 'git pull' instead of 'git clone'Glen Barber2020-08-291-3/+16
| | | | | | | | | | if the tree already exists. Reported by: Michael Butler Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=364959
* Indentation fixes. No functional changes.Glen Barber2020-08-291-8/+8
| | | | | | | Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=364958
* Avoid the build from falling over if devel/git is not installedGlen Barber2020-08-291-3/+7
| | | | | | | | | | | | on the system. Set a null branch/hash in this case, to avoid undefined GITREV/GITBRANCH variables from falling over in other areas. Reported by: many Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=364957
* Install devel/git from packages if NOPORTS is set in the release.shGlen Barber2020-08-291-0/+5
| | | | | | | | | | configuration file. Reported by: Michael Butler Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=364956
* Add a new line to force a commit to verify if lwhsu did indeedGlen Barber2020-08-281-0/+1
| | | | | | | | | fix the jenkins build by adding git to the dependency list. Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=364899
* Correct the conditional evaluating if git exists.Glen Barber2020-08-271-1/+1
| | | | | | | | Pointyhat to: gjb (myself) Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/projects/release-git/; revision=364868
* Do not unconditionally build git from ports if it already exists.Glen Barber2020-08-271-1/+2
| | | | | | | Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/projects/release-git/; revision=364866
* Adjust the logic to locating GIT_CMD.Glen Barber2020-08-271-7/+7
| | | | | | | | | | Use 'git -C' instead of cd(1). [1] Suggested by: garga [1] Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/projects/release-git/; revision=364864
* Fix passing OPTIONS_UNSET with multiple options to make(1).Glen Barber2020-08-271-2/+3
| | | | | | | | | While here, adjust the copyright. Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/projects/release-git/; revision=364862
* Fix the current working directory when setting GITREV andGlen Barber2020-08-251-2/+2
| | | | | | | | | GITBRANCH. Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/projects/release-git/; revision=364778
* Remove an escape that does not belong.Glen Barber2020-08-241-1/+1
| | | | | | | Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/projects/release-git/; revision=364724
* MFHGlen Barber2020-08-1217-48/+53
|\ | | | | | | | | | | | | Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/projects/release-git/; revision=364173
| * pkgbase: Replace / with | for PKG_WWWEmmanuel Vadot2020-08-111-1/+1
| | | | | | | | | | | | | | | | | | PKG_WWW contain / char, replace the delimiter by a '|'. Reported by: 0mp Notes: svn path=/head/; revision=364104
| * pkgbase: Add PKG_NAME_PREFIX, PKG_MAINTAINER and PKG_WWWEmmanuel Vadot2020-08-1116-45/+48
| | | | | | | | | | | | | | | | | | This is useful for downstream users to customize the packages. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D26019 Notes: svn path=/head/; revision=364103
| * release: RPI3: Add the RPI2 DTBEmmanuel Vadot2020-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | The RPI2 v1.2 is using the same SoC as the RPI3 so it can boot this image but needs the RPI2 dtb. MFC after: 3 days Notes: svn path=/head/; revision=364053
| * pkgbase: Fix dependanciesEmmanuel Vadot2020-08-071-0/+2
| | | | | | | | | | | | | | | | | | The package name is converted with _ instead of - as we have some variables that cannot contain - Convert back the dependancies with - instead of _ Notes: svn path=/head/; revision=364009
| * pkgbase: Remove vcs revision from kernel and runtime commentEmmanuel Vadot2020-08-062-2/+2
| | | | | | | | | | | | | | This is not needed and we don't do that for other packages. Notes: svn path=/head/; revision=363962