aboutsummaryrefslogtreecommitdiff
path: root/release
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* | release: update to use git instead of svn:Glen Barber2020-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | Makefile.* (cloudware): - Consistify setting the BUILDDATE for snapshots. (Missed a spot) Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/projects/release-git/; revision=364171
* | release: update to use git instead of svn:Glen Barber2020-08-126-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makefile.* (cloudware): - Consistify setting the BUILDDATE for snapshots. release.conf.sample/release.sh: - Run 'git clone' in 'quiet' mode. Makefile.inc1: - Set BUILDDATE and export the variable. Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/projects/release-git/; revision=364170
* | MFHGlen Barber2020-07-312-96/+0
|\| | | | | | | | | | | | | Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/projects/release-git/; revision=363741
| * - Cleanups related to sparc64 removal.Yoshihiro Takahashi2020-07-282-96/+0
| | | | | | | | | | | | | | | | | | | | - Remove remains of sparc64 files. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D25831 Notes: svn path=/head/; revision=363644
* | release: update to use git instead of svn:Glen Barber2020-07-313-185/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release.sh: - Bump the version number. - Default VCSCMD to '/usr/local/bin/git clone'. - Rename SVN* variables to GIT* equivalents. - Remove dead code to inject a trailing '/' between two variables. - Remove SRC_FORCE_CHECKOUT. - Exit if the build host does not have devel/git installed. - Install devel/git in the build chroot(8) for newvers.sh. release.conf.sample: - Update sample configuration variables to the git equivalent. relnotes-search.sh: - Remove script. It is specifically for use with svn. Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/projects/release-git/; revision=363740
* | Makefile.inc1:Glen Barber2020-07-164-58/+33
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | - New file. Adds logic to search for the git binary, as well as determining the branch and revision, used in various places. Makefile: - Remove searching for the svn{,lite} binary. Makefile.ec2: - Reduce duplicated code, removing searching for the svn{,lite} binary, in addition to EC2_SVN{BRANCH,REV}. - Rename EC2_SVN* with GIT* for consistency. Makefile.mirrors: - Remove the SRCBRANCH declaration, replaced with the exported GITBRANCH variable. - Update _SNAP_SUFFIX from SVNREVISION to GITREV, and remove the leading 'r' from it, since it will break git hashes. - Remove yet another instance of duplicated code to search for the svn{,version}lite binary. Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/projects/release-git/; revision=363258
* Enable EFI system partition on amd64 and i386 VM imagesOleksandr Tymoshenko2020-07-141-0/+5
| | | | | | | | | | | EFI support is a hard requirement for generating Hyper-V Gen2 VM images. Reviewed by: gjb MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D25655 Notes: svn path=/head/; revision=363187
* Make EC2 AMIs use portsnap and freebsd-update mirrors hosted in AWSColin Percival2020-06-301-0/+6
| | | | | | | | | | | | This adjusts freebsd-update.conf and portsnap.conf files in EC2 AMIs to point at the new AWS-hosted mirror network. Approved by: re (delphij) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D25498 Notes: svn path=/head/; revision=362791
* release: Fix arm GPT imageEmmanuel Vadot2020-06-101-1/+1
| | | | | | | | | msdosfs labels are capitalized, use EFI instead of efi. MFC after: 3 days Notes: svn path=/head/; revision=362010
* release: amd64 efi boot name is bootx64Emmanuel Vadot2020-06-091-1/+1
| | | | | | | | | | efi_boot_name is just used for arm image so no harm done. Reported by: gonzo MFC after: 3 days Notes: svn path=/head/; revision=361980
* Include the shells/bash port on Vagrant images, which preventsGlen Barber2020-05-281-1/+1
| | | | | | | | | | | | a shell issue during startup. PR: 245051 MFC after: 1 minute (if approved by re@) X-MFC-for: 11.4-RC2 Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=361591
* Make i386 memstick images bootable.Ed Maste2020-05-241-9/+0
| | | | | | | | | | | | | | | | | | | | | | This reverts the i386 part of r342283, "Rework UEFI ESP generation", and the followup commit in r342690. r342283 added an ESP to the i386 memstick image, and as a side effect made the ESP the active partition, not the bootcode-containing UFS partition. As a result the i386 memstick images would not boot in either UEFI or legacy mode - UEFI failed because we do not support i386 UEFI booting, and legacy mode failed because the partition with legacy bootcode was not active. The bootcode-containing UFS partition is again the only, and active, partition. PR: 246494 Reported by: Jorge Maidana Differential Revision: The FreeBSD Foundation Notes: svn path=/head/; revision=361437
* pkgbase: use -dev,-dbg instead of -development,-debugEd Maste2020-05-202-9/+9
| | | | | | | | | | | | | | | | | | -development is long and awkward, and is also inconsistent with prior art from the Linux world, which uses -dev (Debian) or -devel (Red Hat). Follow the Debian convention, and similarly for debug info packages. Also remove redundant pkgbase development tag from includes. We already tag include files with package=runtime,dev; there is no need to separately tag them as dev. Discussed with: bapt Reviewed by: manu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24139 Notes: svn path=/head/; revision=361290
* Add ebsnvme-id to EC2 AMIs and enable /dev/aws/diskColin Percival2020-05-181-2/+2
| | | | | | | | | | | | | | | | | | | | The ebsnvme-id utility exposes information about EC2 disks -- for Elastic Block Store volumes, their volume IDs and "linux device names", and for Instance Store (aka "Ephemeral") disks, their serial numbers. The dev_aws_disk rc.d script and associated devd.conf rule maintains a tree under /dev/aws/disk: /dev/aws/disk/ebs/<volume ID> /dev/aws/disk/linuxname/<linux device name> /dev/aws/disk/ephemeral/<serial number> which are symlinks to the corresponding nda or nvd devices. MFC after: 1 week Sponsored by: https://www.patreon.com/cperciva Notes: svn path=/head/; revision=361150
* Add /etc/autofs/special_efs to EC2 AMIsColin Percival2020-05-171-0/+17
| | | | | | | | | | | | | | | | Since Amazon Elastic File System is only available within AWS, it seems more appropriate to have this added only in EC2 AMIs rather than "polluting" non-EC2 images with it. Reviewed by: gjb MFC after: 7 days Relnotes: Amazon EFS filesystems can be automounted by enabling autofs and placing "/efs -efs" into /etc/auto_master. Sponsored by: https://www.patreon.com/cperciva Differential Revision: https://reviews.freebsd.org/D24791 Notes: svn path=/head/; revision=361143
* Set use_nvd=0 in EC2 AMIs.Colin Percival2020-04-271-0/+4
| | | | | | | | | | | | | | | | | | | | | FreeBSD is in the process of switching from nvd(4) to nda(4) as the disk device front-end to NVMe. Changing the default in the kernel is tricky since existing systems may have /dev/nvd* hard-coded e.g. in /etc/fstab; however, there's no reason to not change the default in HEAD for *new* systems. At present I have no intention of MFCing this to stable branches, since someone might reasonably expect scripts they use for launching and configuring FreeBSD 12.1 instances to work with FreeBSD 12.2 AMIs, for example. Reviewed by: gjb, imp Relnotes: NVMe disks in EC2 instances launched from 13.0 and later now show up as nda(4) devices. Differential Revision: https://reviews.freebsd.org/D24583 Notes: svn path=/head/; revision=360396
* release: arm64: rockpro64: Set hw.ncpu to 4Emmanuel Vadot2020-04-251-0/+7
| | | | | | | | Since there is known issue with big.LITTLE set the number of CPU to 4 which is the number present in the LITTLE cluster. Notes: svn path=/head/; revision=360321
* Add PINE64 ROCK64 config for generation of release imagesEmmanuel Vadot2020-04-241-0/+28
| | | | Notes: svn path=/head/; revision=360273
* Add PINE64 ROCKPro64 config for generation of release imagesEmmanuel Vadot2020-04-241-0/+28
| | | | | | | | | Submitted by: Daniel Engberg Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D22538 Notes: svn path=/head/; revision=360272
* Add support for generating release images using GPT for ARMEmmanuel Vadot2020-04-241-14/+44
| | | | | | | | Submitted by: Daniel Engberg (Original version) Differential Revision: https://reviews.freebsd.org/D22537 Notes: svn path=/head/; revision=360271
* release: arm64: Remove DTSO for Allwinner boardsEmmanuel Vadot2020-04-193-3/+3
| | | | | | | | | | | Both SID and THS dts node are now in the main dts and the DTSO have been removed in r359935 MFC after: 2 month X-MFC-With: r359935 Notes: svn path=/head/; revision=360093
* pkgbase: remove more profile package leftoversEd Maste2020-04-011-1/+1
| | | | | | | | As of r356797 we don't produce profile packages. r358549 removed one remnant of profile package support; clean up another now. Notes: svn path=/head/; revision=359519
* pkgbase: Move device.hints from the runtime to the bootloader packageEmmanuel Vadot2020-03-241-3/+2
| | | | | | | | | | | | | | | | | Also mark it as config file so if a user changes this file pkg will attempt to merge the new file upon an update. device.hints is neither related to runtime or loader but it make more sense to have it in loader in case some user delete /boot/ and wants to recreate it, now only two packages are required FreeBSD-bootloader and the kernel package. While here change where we override the package for files installed in /boot, this allow us to keep other tags (such as config). Reported by: pizzamig Reviewed by: bapt pizzamig emaste Differential Revision: https://reviews.freebsd.org/D24159 Notes: svn path=/head/; revision=359265
* retire amd(8)Ed Maste2020-03-091-2/+2
| | | | | | | | | | | | | | autofs was introduced with FreeBSD 10.1 and is the supported method for automounting filesystems. As of r296194 the amd man page claimed that it is deprecated. Remove it from base now; the sysutils/am-utils port is still available if necessary. Discussed with: cy Relnotes: Yes Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=358821
* pkgbase: remove logic for _profile packagesKyle Evans2020-03-021-10/+0
| | | | | | | | | | | | | | | | | We don't produce these anymore as of r356797, remove the remnant in generate-ucl.sh that accounted for them. This isn't strictly necessary, but future work is needed for the various packages that can be generated on a lib build. Namely, we may produce -development packages for private/internal libs that should be installed but won't have the base FreeBSD-libfoo pkg to depend on because it's internal (e.g. liby, libpmcstat, libifconfig) but we want the headers installed. It may be a better move to just shove these into -runtime-development instead, but if not then we've just simplified the cases that need to take private/internal libs into account. Notes: svn path=/head/; revision=358549
* caroot pkg: pass through the pkg -r rootdir as DESTDIRKyle Evans2020-02-191-1/+2
| | | | | | | | If we're trying to bootstrap a different root with pkgbase, we should be doing the right thing with caroot. Notes: svn path=/head/; revision=358092
* Mount /dev while deinstalling pkg inside EC2 AMIs.Colin Percival2020-02-111-0/+2
| | | | | | | | | | This gets rid of (harmless) warnings: "pkg: Cannot open /dev/null:No such file or directory". MFC after: 2 weeks Notes: svn path=/head/; revision=357750
* Remove /qemu from EC2 ARM AMIsColin Percival2020-02-111-0/+3
| | | | | | | | | | | I forgot to do this as part of r345858 -- I added it to the vm_extra_pre_umount in vmimage.subr but forgot that function was overridden in the EC2 build. MFC after: 2 weeks Notes: svn path=/head/; revision=357749
* RPI3: Add RPi4 firmware files to the FAT partitionKyle Evans2020-01-311-1/+3
| | | | | | | | | | I've discovered I have this local diff that never got committed -- this should have been a part of r355424. Reproted by: Klaus Küchemann <maciphone2@googlemail.com> Notes: svn path=/head/; revision=357335
* pkgbase: generate dependencies in generate-ucl.shKyle Evans2020-01-3043-792/+14
| | | | | | | | | | | | | | | | | | | | | | | | | This cuts out a large chunk of duplicated *.ucl files that just needed dependencies tacked on, and gives generate-ucl.sh some leeway in case a future pkg may need more than one dependency. Run-through to determine which ones could simply be removed done with for i in *.ucl; do diff -U3 template.ucl ${i}; done | less and inspecting for any differences beyond just adding deps at the end. The remaining ucl files are basically all differently-licensed, require scripts, or are marked vital. I've opted to remove %PKGDEPS% entirely without regard for third-party ucl, as pkgbase is not yet considered production. However, I do not hold a strong position on this and there is approximately 0 chance it will return. clibs should have been added previously in generate-ucl.sh as one that doesn't have any dependencies, but do so now that we would otherwise be tacking on the runtime dependency. Reviewed by: manu, bapt (earlier version) Differential Revision: https://reviews.freebsd.org/D23415 Notes: svn path=/head/; revision=357283
* pkgbase: fix caroot packaging and add post-install scriptKyle Evans2020-01-292-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | The original intention for caroot was to be packaged separately, perhaps so that users can have a more/less conservative upgrade policy for this separated from the rest of base. secure/caroot/Makefile doesn't have anything interesting to package, but its subdirectories might. Move the PACKAGE= to Makefile.inc so both blacklisted and trusted get packaged consistently into the correct one rather than the default -utilities. Also tag the directories for package=caroot, as they could also be empty; blacklisted is empty by default, but trusted is not. Add a post-install script to do certctl rehash, along with a note should we eventually come up with a way to detect that files have been added or removed that requires a rehash. -caroot gets a dependency on -utilities, as that's where we provide certctl at the moment. We can perhaps reconsider this and put certctl into this package in the future, but there are some bits within -utilities that unconditionally invoke certctl so let's hold off for now. Reviewed by: manu (earlier version, before -utilities dep added) Differential Revision: https://reviews.freebsd.org/D23352 Notes: svn path=/head/; revision=357264
* pkgbase: kill off clibs.ucl and docs.uclKyle Evans2020-01-292-34/+0
| | | | | | | | | These are just direct copies of the template. If they don't exist but are attempted to be used, generate-ucl.sh will simply fallback to the template anyways. Let it do so to reduce potential maintenance burden. Notes: svn path=/head/; revision=357257
* multi-boot for openstack/qcow imagesWarner Losh2020-01-271-0/+3
| | | | | | | | | | | | | | | Make stock FreeBSD more useful for people wishing to use them. The QEMU folks suggested this change. It adds a serial console which allows them to interact with FreeBSD from the earliest moments. This allows them to configure FreeBSD via the serial port to set it up for CI use. Reviewed by: kevans@ Sponsored by: Netflix, Inc Differential Revision: https://reviews.freebsd.org/D22786 Notes: svn path=/head/; revision=357184
* Fix a typo.Glen Barber2020-01-131-1/+1
| | | | | | | | MFC after: 3 days Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=356686