aboutsummaryrefslogtreecommitdiff
path: root/release
Commit message (Collapse)AuthorAgeFilesLines
* release: sync 'git count' logic with newvers.shGlen Barber2021-03-171-1/+1
| | | | | | | | | | Sync determining the git count with newvers.sh by adding the --first-parent argument. This ensures uname(1) reflects the file name for snapshots. Reported by: Mark Millard MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate")
* Remove tmpfs size and properly format generated fstab for armDaniel Engerg2021-03-171-5/+5
| | | | | | | | Remove tmpfs size limitation, this breaks make installworld and installation of some packages Format generated fstab using tabs to make it consistent and readable MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D29283
* release: do not set __MAKE_CONF and SRCCONF for the chroot buildGlen Barber2021-03-161-3/+4
| | | | | | | PR: 254319 Submitted by: truckman MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate")
* pkgbase: Add an src.conf option for splitting man pagesEmmanuel Vadot2021-03-161-0/+5
| | | | | | | | | | | Man pages can be big in total, add an options to split man pages in -man packages so we produce smaller packages. This is useful for small jails or mfsroot produced of pkgbase. The option is off by default. Reviewed by: bapt, Mina Galić <me@igalic.co> Differential Revision: https://reviews.freebsd.org/D29169 MFC after: 2 weeks
* pkgbase: Remove case for runtime and jail package ucl generationEmmanuel Vadot2021-03-161-15/+0
| | | | | | | | | | They aren't needed and produce wrong package comments : We use to have "runtime-dev package" instead of "FreeBSD Base System (Development Files)" for example Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D29168 MFC after: 2 weeks
* release: Move the vagrant.vmx config out to its own file to match vboxBrad Davis2021-03-122-32/+33
| | | | | | Silly to have all these echos and makes this easier to use in other tooling. Reviewed by: gjb (re)
* release: sprinkle UNAME_r hacks following c883b6fd8ccdGlen Barber2021-03-044-4/+4
| | | | | | | | | Pass UNAME_r override to make(1) for ports builds when building ports for another branch. MFC after: 3 days MFC with: 0be274d37379, 80ab50e1de19, c883b6fd8ccd Sponsored by: Rubicon Communications, LLC ("Netgate")
* release: fix VMSIZE following 1ca8842f3ad9Glen Barber2021-03-046-8/+8
| | | | | | | | | | | | truncate(1) is not case-sensitive with regard to setting the size of a file. makefs(8), however, does not honor upper-case values. Update release-specific files and the release(7) manual page to reflect this. MFC with: 1ca8842f3ad9 Submitted by: ehem_freebsd_m5p.com (original) Differential Review: https://reviews.freebsd.org/D28979 Sponsored by: Rubicon Communications, LLC ("Netgate")
* Remove /boot/efi from mtree, missed in 0b7472b3d8d2.Nathan Whitehorn2021-03-021-0/+1
| | | | | | | | | This had prevented the bootconfig step from determining if an ESP exists, resulting in its unconditional setup. On BIOS-booted amd64, this wasn't harmful, just unnecessary, but it resulted in failed installations on non-EFI-supporting platforms like powerpc64. MFC after: 3 days
* Include Makefile.inc1 in Makefile.vm, missed in previous changeGlen Barber2021-03-021-0/+1
| | | | | | MFC after: 3 days MFC with: 80ab50e1de19, 0be274d37379 Sponsored by: Rubicon Communications, LLC ("Netgate")
* Adjust where UNAME_r is defined for ports buildsGlen Barber2021-03-022-1/+4
| | | | | | | | | In followup to 80ab50e1de19ca125f05a13937c796d48c4edd4a, export UNAME_r in Makefile.inc1 instead of Makefile.vm. MFC after: 3 days MFC with: 80ab50e1de19 Sponsored by: Rubicon Communications, LLC ("Netgate")
* Use makefs(8) in release VM-image generation instead of md(4) and newfs.Nathan Whitehorn2021-02-252-102/+77
| | | | | | | | | | | | | | Using makefs instead reduces the privileges needed to build VM images, simplifies the script (no need to copy files to a fresh image at the end), and improves portability by allowing generation of cross-endian images. As a result of the last, this patch also adds support for generation of powerpc64 and powerpc64le VM images. No other changes to the output. Tested and working for both amd64 and powerpc64 targets. Reviewed by: gjb Differential Revision: https://reviews.freebsd.org/D28912
* Mount the ESP on /boot/efi in VM images.Nathan Whitehorn2021-02-241-1/+10
| | | | | This follows an earlier change (0b7472b3d8d2) for mounting the ESP from systems set up through the installer and should be MFC'ed with it.
* Delete memstick images for PowerPC.Nathan Whitehorn2021-02-241-50/+0
| | | | | | | | | | | | | These images only ever worked on Apple Powermacs, which are now a very old platform, and did so only for a very loose definition of "worked" (they booted on a small subset of supported machines). Moreover, all the machines they *did* boot on also would boot from a memstick made by dd'ing an CD image to a flash drive. Since a flash drive prepared in this way would also boot all the newer systems we support, the memstick images were strictly less functional than the CD images, even for booting from memory sticks. Reviewed by: jhibbits MFC after: 1 week
* pass UNAME_r to fix building 14.x ports on 13.xGlen Barber2021-02-181-1/+1
| | | | | MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate")
* release: permanently remove the 'reldoc' target and associatesGlen Barber2021-02-1812-107/+6
| | | | | | | | | | | | | | | Following 7b1d1a1658ffb69eff93afc713f9e88ed8b20eac, the structure for the reldoc target has significantly changed as result of the ASCIIDoctor/Hugo migration. As the release notes related files on the installation medium are inherently out of date, purge them entirely. Discussed within: re, doceng No objection: re (silence), doceng (silence) Timeout: 2 weeks MFC after: 1 week MFC to: stable/13, stable/12, and stable/11 only Sponsored by: Rubicon Communications, LLC ("Netgate")
* release.sh: fix OSVERSION and UNAME_r overridesGlen Barber2021-02-111-0/+7
| | | | | | | | | Add PBUILD_FLAGS and UNAME_r overrides to extra_chroot_setup() to fix building ports for 14-CURRENT builds on 13.x. MFC after: 3 days MFC with: c511a5ab53ba335dc85f7ac93843872eb5763602 Sponsored by: Rubicon Communications, LLC ("Netgate")
* release: fix overriding UNAME_rGlen Barber2021-02-111-0/+4
| | | | Sponsored by: Rubicon Communications, LLC ("Netgate")
* release: disable the 'reldoc' target after the ASCIIDoctor switchGlen Barber2021-02-051-31/+31
| | | | | | | | | | The 'reldoc' target includes release-related documentation on installation medium. Since the switch from XML to ASCIIDoctor, the file locations have moved, and it will take some time to sort out how this target should work now. MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate")
* release.sh: Skip installing textproc/docproj when NODOC is setGlen Barber2021-02-031-1/+1
| | | | | | | PR: 253192 Submitted by: Yasuhiro Kimura MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate")
* release: update workaround during transition to gitGlen Barber2021-02-021-2/+5
| | | | | | | PR: 253181 Submitted by: Yasuhiro Kimura MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate")
* release: ROCKPRO64: Remove the quirk that disable the big coresEmmanuel Vadot2021-01-271-7/+0
| | | | It's not needed anymore.
* release: fix PORT variableGlen Barber2021-01-201-1/+1
| | | | | Reported by: Yasuhiro Kimura (yasu xat utahime dot org) Sponsored by: Rubicon Communications, LLC ("Netgate")
* release.sh: bump Copyright year after previous commitGlen Barber2021-01-191-1/+1
| | | | Sponsored by: Rubicon Communications, LLC (netgate.com)
* release: Add workaround to use SVN for portsGlen Barber2021-01-191-3/+17
| | | | | | | | | | The ports tree is scheduled to be converted from Subversion to Git after the currently-scheduled 13.0-RELEASE, so the source of truth will be Subversion for the ports tree. Implement a hack specifically for this case. Sponsored by: Rubicon Communications, LLC (netgate.com)
* pkgbase: correct typo in System Accounting UtilitiesEd Maste2021-01-111-2/+2
| | | | Reported by: avg, N. J. Mann
* pkgbase: Rename -acct package System Accounting UtilitiesEd Maste2021-01-111-2/+2
| | | | Man pages for these tools refer to 'system accounting'.
* release.sh: Update GITROOT URLGlen Barber2020-12-292-7/+4
| | | | | | | | | Hard-code the GITROOT for the ports tree to use cgit-beta until the ports repository is converted. While here, remove $FreeBSD$ RCS IDs. Sponsored by: Rubicon Communications, LLC (netgate.com)
* 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