aboutsummaryrefslogtreecommitdiffstats
path: root/release
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
* Ensure the TYPE, BRANCH, and REVISION variables are set inGlen Barber2020-01-131-0/+6
| | | | | | | | | | | | cloudware targets when OSRELEASE is overridden. Submitted by: Trond Endrestol PR: 243287 MFC after: 3 days Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=356685
* release: chase ports r519089 (rpi-firmware update)Kyle Evans2019-12-052-6/+8
| | | | | | | | | | | | | | | | The recent rpi-firmware update renamed "0" to "zero" in the RPi0 DTB filename It also included the components needed to boot the RPi4, so install those now -- interested parties can install sysutils/u-boot-rpi4 and copy config_rpi4.txt to config.txt on the FAT partition in order to boot the board. Do note that we currently don't support ethernet/usb/pci. Reviewed by: manu MFC after: 3 days Notes: svn path=/head/; revision=355424
* Remove picobsd build scripts and the remaining tinywareKyle Evans2019-11-0594-14660/+0
| | | | | | | | | | | | | | | Postings were sent to -arch@ on 2019/09/13 and 2019/10/01, proposing and confirming a removal of these scripts on 2019/10/31, due to significant work needed to bring this into the modern world and nobody having done this work in the past couple of years. No objections or proposed work was raised in response to these postings. The tinyware may see a resurrection into a separate repo for archival purposes if any users of it show interest in doing so. MFC after: never Notes: svn path=/head/; revision=354346
* picobsd: add deprecation noticesKyle Evans2019-10-211-0/+1
| | | | | | | | | | | | | | Notices appear both in picobsd(8) (near the top for easy notice) and are also printed to stderr on every invocation of picobsd for visibility. The tentative date for removal is October 31st, as no volunteers have stepped forward at all from postings to -arch@ at least. No objection from: -arch@ MFC after: 3 days Notes: svn path=/head/; revision=353788
* Increase the default VMSIZE for raw, qcow2, vhd, and vmdk virtualGlen Barber2019-10-111-1/+1
| | | | | | | | | machine images due to 'filesystem full' failures. Sponsored by: Rubicon Communications, LLC (Netgate) Notes: svn path=/head/; revision=353440
* Switch EC2 AMIs from using the dual-dhclient script to using the newColin Percival2019-10-021-1/+1
| | | | | | | | | | dual-dhclient-daemon daemon. This makes it possible to stop/restart the dhclients. MFC after: 1 month Notes: svn path=/head/; revision=353022
* Move simple_httpd out of picobsd, add HTTPD option (default OFF)Kyle Evans2019-10-013-676/+0
| | | | | | | | | | | | | | | | | | picobsd/tinyware has had this compact HTTPD server for a long time, and some people do use it. Move it out into usr.sbin well in advance of any action being taken on picobsd. This has been gated behind an HTTPD option defaulted to *off*, primarily for two reasons: 1.) This code likely needs a good audit, as it's been living off in picobsd land for a long time, and 2.) We don't currently ship an httpd and this may not be a welcome surprise. Reviewed by: eugen Differential Revision: https://reviews.freebsd.org/D21724 Notes: svn path=/head/; revision=352927
* pkgbase: Move cap_mkdb from runtime to utilities POST-INSTALLEmmanuel Vadot2019-09-162-1/+23
| | | | | | | | | | | Since login and login.conf moved to the utilities packages move also the post-install related commands. Reported by: mj-mailinglist@gmx.de Reviewed by: bapt Notes: svn path=/head/; revision=352389
* pkgbase: Create a FreeBSD-utilities package and make it the default oneEmmanuel Vadot2019-09-051-0/+2
| | | | | | | | | | | | | The default package use to be FreeBSD-runtime but it should only contain binaries and libs enough to boot to single user and repair the system, it is also very handy to have a package that can be tranform to a small mfsroot. So create a new package named FreeBSD-utilities and make it the default one. Also move a few binaries and lib into this package when it make sense. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21506 Notes: svn path=/head/; revision=351858
* pkgbase: Move rc scripts and related files to their own packagesEmmanuel Vadot2019-09-051-0/+2
| | | | | | | | | | | | It doesn't need to be in runtime and might help people who want to experiment with other rc system or don't use one (like in small embedded mfsroot). Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21499 Notes: svn path=/head/; revision=351851
* pkgbase: Move the bootloader related files to a new FreeBSD-bootloader packageEmmanuel Vadot2019-09-052-0/+5
| | | | | | | | | | Bootloader file isn't needed for jails so don't include it in FreeBSD-runtime. Reviewed by: bapt, delphij, gjb Differential Revision: https://reviews.freebsd.org/D21496 Notes: svn path=/head/; revision=351848
* Use makefs -t msdos in make_esp_fileMatt Macy2019-09-031-1/+1
| | | | | | | | | | | | | | | With this last piece in place, make -C /usr/src/release release.iso is finally able to run in a jail. This was not possible before because msdosfs cannot be mounted inside a jail. Submitted by: ryan@ixsystems.com Reviewed by: emaste@, imp@, gjb@ MFC after: 1 week Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D21385 Notes: svn path=/head/; revision=351771
* simple_httpd was not buildable for some time due to multiple missingEugene Grosbein2019-08-181-27/+27
| | | | | | | | | | | | "static" keywords and -Werror,-Wmissing-variable-declarations This change adds needed "static" so it builds again with WARNS?=6 No functional changes. MFC after: 1 week Notes: svn path=/head/; revision=351179
* motd: Generate from template to /var/runConrad Meyer2019-07-201-1/+1
| | | | | | | | | | | | Update login(1), its manual pages, similar utilities, and motd.5 to refer to the new location. Suggested by: delphij@ (re: r349256) Reviewed by: bcr (manpages), delphij Differential Revision: https://reviews.freebsd.org/D20721 Notes: svn path=/head/; revision=350184
* pkgbase: Add a FreeBSD-bluetooth packageEmmanuel Vadot2019-07-192-0/+26
| | | | | | | | | | | | | Move the bluetooth related files from FreeBSD-runtime to a new package named FreeBSD-bluetooth The FreeBSD runtime is only intended to have everything for a working FreeBSD installation and bluetooth isn't needed for that. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D20959 Notes: svn path=/head/; revision=350132
* pkgbase: Add a FreeBSD-hostapd packageEmmanuel Vadot2019-07-192-0/+25
| | | | | | | | | | | | | Move the hostapd related files from FreeBSD-runtime to a new package n FreeBSD-hostapd The FreeBSD runtime is only intended to have everything for a working FreeBSD installation and hostapd isn't needed for that. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D20958 Notes: svn path=/head/; revision=350131