Commit graph

8155 commits

Author SHA1 Message Date
Colin Percival
4de43de58f 14.1: update to RC1
Now that we're at RC1, switch from "quarterly" packages to the release
package set.

Approved by:	re (implicit)
2024-05-23 17:10:09 -07:00
Colin Percival
8f7da18ea2 Modernize DVD package set in preparation for 14.1
Remove archivers/unzip (now in base) and emulators/linux_base-c7 (old
and unlikely to be useful without other linux packages being installed),
ports-mgmt/portmaster (now largely obsolete and discouraged in favour
of using pkg and binary packages) and x11-drivers/xf86-video-vmware
(questionably useful).

Replace devel/git with devel/git@lite (sufficient for most purposes),
and adjust the "ensure the ports exist to sanitize the list" code to
ignore the @lite part when checking that /usr/ports/devel/git exists.

Add sysutils/seatd and x11-wm/sway for wayland support.

Approved by:	re (cperciva)
MFC after:	1 minute
Differential Revision:	https://reviews.freebsd.org/D45278

(cherry picked from commit d31ed58b9f9360cecd9acfbd12999190edca6e56)
(cherry picked from commit 0543cdc36a)
2024-05-23 17:08:37 -07:00
Graham Perrin
cf1e3e15dd pkg-stage.sh: add x11/sddm
Approved by:	re (cperciva)
MFC After: 2 days
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/996

(cherry picked from commit 5ff76402daf17b9c36048bf11957dac7556272a6)
(cherry picked from commit 9317a4a3a8)
2024-05-23 17:08:22 -07:00
Colin Percival
1f2c98c92c Revert "Reapply "release.sh: Add -jN to make release""
Release builds on 14.x have been failing for unclear reasons; the most
likely culprit is the recently-enabled parallel release building.  Turn
it off on the 14.1 release branch to make sure we don't run into any
problems with building the release.

This is a direct commit to releng/14.1 -- I'm leaving parallel release
building turned on in stable/14 so I can try to track down the problems
there (and it's also enabled in HEAD, where I haven't seen any failures).

This reverts commit db34bbcedb.

Discussed with:	karels
Approved by:	re (cperciva)
2024-05-17 09:15:33 -07:00
Colin Percival
67f4116a10 release: make dependencies, not recursive make
For historical reasons, the vm-release and cloudware-release targets
were written as recursive makes of ${VMTARGETS} and ${CLOUDTARGETS};
this worked fine until we started running `make release -jN` and
had both VM and cloud targets depending on ${QEMUTGT}, at which
point things exploded when we tried to build the port twice at the
same time.

Switch vm-release and cloudware-release to have make dependencies on
their individual components; this way a single make process runs and
is aware of the duplicate dependency (and only runs it once).

MFC after:	5 days
Approved by:	re (delphij)

(cherry picked from commit ce7756fdca1f0a89a74bc406cd3d3ac1d1be1ffb)
(cherry picked from commit e306ad1c19)
2024-05-14 14:38:17 -07:00
Colin Percival
0db0821fb8 release: Rework vm_extra_pre_umount
The vm_extra_pre_umount function in vmimage.subr served two purposes:
It removed /etc/resolv.conf and /qemu (if cross-building), and it
provided a function for cloudware to override in order to make cloud
specific changes to the filesystem before constructing a disk image.

This resulted in a number of bugs:
1. When cross-building, the emulator binary was left as /qemu in the
Azure, GCE, Openstack and Vagrant images.
2. The build host's resolv.conf was left as /etc/resolv.conf in the
basic-ci and basic-cloudinit images.
3. When building GCE images, a Google-specific resolv.conf file was
constructed, and then deleted before the disk image was created.

Move the bits needed for running code inside a VM staging directory
from vm_install_base into a new vm_emulation_setup routine, and move
the corresponding cleanup bits from vm_extra_pre_umount to a new
vm_emulation_cleanup routine.

Remove the /qemu and /etc/resolv.conf cleanups from the cloudware
configuration files (where they exist) since we will now be running
vm_emulation_cleanup to remove those even when vm_extra_pre_umount
has been overridden.

Override vm_emulation_cleanup in gce.conf since in that one case (and
*only* that one case) we don't want to clean up resolv.conf (since it
was constructed for the VM image rather than copied from the host).

releng/14.1 candidate.

MFC after:	1 week
Approved by:	re (delphij)
Sponsored by:	https://www.patreon.com/cperciva

(cherry picked from commit 0b1c5628c74a37e2aa2aa3769c606d3e826302f8)
(cherry picked from commit c5342be39c)
2024-05-14 14:38:09 -07:00
Colin Percival
1653215de8 release: Use qemu when cross-building vm images
For a bit over 5 years, we have used qemu when cross-building cloudware
images; in particular, it's necessary when installing packages which
might include post-install scripts.

Use qemu in the vm-images target too; while "generic" vm images don't
install packages, they still run newaliases and /etc/rc.d/ldconfig,
both of which fail without appropriate emulation.

MFC after:	1 week
Approved by:	re (delphij)

(cherry picked from commit 9287d1853c00267a0118401530debf9c0554ff28)
(cherry picked from commit 166432191c)
2024-05-14 14:37:47 -07:00
Colin Percival
3f5f38755b 14.1: create releng/14.1 branch
Update from PRERELEASE to BETA1
Switch pkg(8) configuration to use the quarterly repository
Bump __FreeBSD_version

Approved by:	re (implicit)
Sponsored by:	https://www.patreon.com/cperciva
2024-05-02 23:13:50 -07:00
Colin Percival
f1c7e9bc72 release: Build dvd image before staging pkgs
This missing dependency is only visible with -jN (which was otherwise
broken until recently) and only when building DVD images (which aren't
included in weekly snapshots and thereby slipped past testing).

MFC after:	3 days

(cherry picked from commit 567cbd8ff1c4edc1f2015ec4f93608aaf5a3c546)
2024-04-16 22:43:27 -07:00
Colin Percival
d576c1dd97 Makefile.vm: Set CLEANDIRS correctly for vm-image
With multiple filesystems and disk image formats, we now use different
staging directories; we need to include them all in CLEANDIRS.

Fixes:	97bd53ef4d20b "Makefile.vm: Fix duplicate rc.conf files"
MFC after:	3 days

(cherry picked from commit 7ffa1f14e3c19f0061ec9f38bb74c564a49ffc17)
2024-04-16 22:43:27 -07:00
John Baldwin
70dcf0608c release: Use the ABI of the target release to fetch packages
- Point --rootdir at the installed destdir in the dvd tree.  This
  causes pkg to determine the ABI from the installed destdir instead
  of the host's binaries.  Previously the result was that packages
  for the host's ABI were always downloaded breaking cross-releases
  (e.g. arm64 releases built on an amd64 host included amd64
  packages on the DVD ISO image rather than arm64 packages).  This
  also handles version mismatches, and I tested this by cross-building
  a 15.x arm64 release on a 14.x amd64 host.

- As a result, pkg now does a chdir(3) to the rootdir before running,
  so the -o argument to fetch needs to be updated to be relative to
  rootdir instead of the CWD as make runs.

- Add a new ROOTDIR variable to limit references to "dvd" to one
  place.  Ideally ROOTDIR would be an argument to this script so
  that it didn't really know about the dvd layout at all.

- While here, simplify creation of symlinks by just using a longer
  path to the link name instead of using 'cd' in the shell before
  invoking ln(1).  Also use ln -sf to create the pkg.pkg symlink
  rather than rm + ln.

PR:		278273
Reported by:	gatekeeper <tiago.gasiba@gmail.com>
Reviewed by:	imp, delphij
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D44749

(cherry picked from commit ea2663040d524efd84b12edcbe83884437fdceea)
2024-04-16 22:43:27 -07:00
Colin Percival
1c9953bea9 cloudware: allow disk format to be a list
Make basic-cloudinit available both in qcow2 and raw formats

MFC After:	3 days
Co-Authored-By:	bapt
Sponsored by:	OVHCloud (original patch from bapt)
Differential Revision:	https://reviews.freebsd.org/D44747

(cherry picked from commit 5c213bf01a5dca7c4030efd2ad9c9f84852e7b32)
2024-04-16 22:43:27 -07:00
Colin Percival
449dc28540 release: Fix powerpc boot block uudecoding
Confusingly, uuencode writes to stdout by default, but uudecode does not.

Fixes:	6c3e01bf8578 "release: Randomize powerpc boot block file name"
MFC after:	3 days

(cherry picked from commit 4d7174b1d91ff3651ef78987d93989a40a4facd2)
2024-04-16 22:43:27 -07:00
Colin Percival
434dc04e34 release: Randomize powerpc boot block file name
With parallel builds enabled, we can end up building multiple ISOs at
once, which causes problems if mkisoimages.sh uses a consistent file
name "/tmp/hfs-boot-block".

MFC after:	3 days

(cherry picked from commit 6c3e01bf8578de54abc019832d799de80da7378c)
2024-04-16 22:43:27 -07:00
Colin Percival
5f2695943d release: Support r/o /usr/ports for cloudware
Set WRKDIRPREFIX=/tmp/ports DISTDIR=/tmp/distfiles when building tools
needed for uploading cloudware images.

While I'm here, adjust the bsdec2-image-upload build target to match
the style used by the Azure/GCE/Vagrant Makefiles.

MFC after:	3 days

(cherry picked from commit 6c87aed39c3053cd338c1ec18fba5b1d773beca9)
2024-04-16 22:43:27 -07:00
Mina Galić
2bd006237f ec2: homedir bug fixed in 24.1.4
This bug fix is due to be released in Quarterly:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275896

While here, overwrite the `doas` stanza, which needs to correspond to
the user that we are creating.

MFC after:	5 days
Sponsored by:	The FreeBSD Foundation
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1163

(cherry picked from commit 2039437c7655c9cd481c6c4ad92b6bc2a945dd14)
2024-04-16 22:43:27 -07:00
Colin Percival
ffddfd3631 release/Makefile.vm: Support read-only ports tree
Build qemu (if needed) with WRKDIRPREFIX=/tmp/ports DISTDIR=/tmp/distfiles
so that we can have a read-only /usr/ports and don't contaminate it.  This
became an issue when I enabled parallel release building, since one image
might be creating its ports.txz file at the same time as we're building
qemu as a prerequisite for building another image.

MFC after:	5 days

(cherry picked from commit 6f454c211b295ad13e80fc5b858efc9bad33e33b)
2024-04-16 22:43:27 -07:00
Colin Percival
db34bbcedb Reapply "release.sh: Add -jN to make release"
With the latest changes to release/Makefile, it is now possible to
run `make release -jN` without the build failing (at least in my
latest tests).

This reverts commit 7b707e797b2cd6265ba8f6215e59445e9efb9e97.

MFC after:	1 week

(cherry picked from commit 2c01e189ff190cf1618dedd01f196bca68298c44)
2024-04-16 22:43:26 -07:00
Colin Percival
2c774c1bb4 release: Don't reuse disc1/bootonly directories
The disc1 and bootonly directories have files distributed into them
for use in "full" and "mini" images; the former are disc1.iso and
memstick.img, and the latter is bootonly.iso and mini-memstick.img.

Unfortunately the scripts which package a directory tree into an ISO
or memory stick image also modify the directory, for example to
create an appropriate /etc/fstab file; so creating two images at the
same time breaks.

Resolve this by copying disc1 to disc1-disc1 and disc1-memstick,
and copying bootonly to bootonly-bootonly and bootonly-memstick,
before using those directories for constructing the ISO+memstick
images.

MFC after:	1 week

(cherry picked from commit a1bff97300abe4b46528357e39c83da764df1fd8)
2024-04-16 22:43:26 -07:00
Colin Percival
b4435119ec release: distributekernel before packagekernel
With these as a single make command, `make -j` breaks when it tries to
package up a kernel which hasn't been distributed yet.

MFC after:	1 week

(cherry picked from commit 65c603ed65c700d6eacdf9e1e94dc42fd70fb0b7)
2024-04-16 22:43:26 -07:00
Colin Percival
a8659d8785 release: make -j compat: cd inside subshell
Place instances of "cd foo && bar" inside subshells for compatibility
with modern make(8) which uses a single shell for the duration of a
makefile target.

MFC after:	1 week

(cherry picked from commit 93e4813b9a157396ffbcf8456ca4f5c25599807d)
2024-04-16 22:43:26 -07:00
Baptiste Daroussin
227e7a205e release: add basic cloudinit images
Provide both zfs and ufs images which a 1MB partition reserved for the
config drive wearing a GPT Label "config-drive" to allow consumer to
know where they should push the config drive on the provided image.

This has been tested on OVHCloud baremetal via "bring your own image"
Also tested on openstack

Reviewed by:		emaste
Sponsored by:		OVHCloud
Differential Revision:		https://reviews.freebsd.org/D44369

(cherry picked from commit 78b6117dac99c80fe618979fef4ef322b97415fa)
(cherry picked from commit a977444652a59332c53b652b912c38a1d1802b58)
2024-04-11 14:05:10 +02:00
Baptiste Daroussin
16a6da44e2 nuageinit: add basic support for cloudinit.
this is a very early script to support cloudinit, it does not intend to
be a full featured cloudinit client, but will support a good enough
subset to be viable in most case.

It support nocloud and openstack config-2 config drive mode (iso9660 or
msdosfs)

The following features are currently supported:
- adding users (including a default user named 'freebsd' with password
  'freebsd'
- adding groups
- adding ssh keys
- static ipv4, static ipv6, dynamic ipv4

With this one is able to use the 'bring your own image feature" out of
box.

It is expected that the script grows the support of other clouds
supporting cloud-init, contributions are welcomed.

It is designed to be only run once via the firstboot mecanism.

Sponsored by:	OVHCloud
Differential Revision:	https://reviews.freebsd.org/D44141

(cherry picked from commit a42d6f76018e4ed8324e319ab48aac904bda437c)
(cherry picked from commit c051f22bce42d920abba61bd7cf4ef5b6a270ffa)
(cherry picked from commit b8c053c9a612651d4909f7a323088f3e92485b7b)
(cherry picked from commit 9eae9233fdcc946945f4191e1413f548adfa2943)
2024-04-11 13:52:52 +02:00
Colin Percival
794473e310 release.sh: Don't install git if already present
Prior to this commit, we install git from ports if there is a ports
tree available and git is not installed, and we install git from pkg
otherwise -- including the case where git is already installed.

Rework the logic to not (re)install git at all if it is already
installed.

MFC after:	3 days

(cherry picked from commit 6baddb6b117664f51e2b1d2427fced946913a08f)
2024-04-02 13:44:03 -07:00
Ed Maste
87c576a25a release: rework distributions list
Components like base.txz and ports.txz are called distributions in the
installer, and with the introduction of pkgbase we will start dealing
with normal pkg packages in the installer.  Rename EXTRA_PACKAGES to
DISTRIBUTIONS, and move base.txz and kernel.txz to that list.

This introduces no functional change but is a small cleanup in advance
of some pkgbase experimentation.

Reviewed by:	cperciva
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D43544

(cherry picked from commit 2e9b8c8c1e3938335e17e63049887f8e8c6e11bc)
2024-04-01 19:49:25 -04:00
Baptiste Daroussin
0e3acd5798 pkgbase: add a mechanism to be able to force a give ucl include
This is made in order to be able to find add the post-install scripts
for the kernel, where PKGNAME varies for each KERNCONF but we don't want
to dynamically duplicated the kernel.ucl file.

At the same time we don't want the *-dbg* packages to actually include
those post-install scripts

(cherry picked from commit 45d83c39262d9e2727c6f409e19c653f19a5d7cc)
2024-03-27 09:34:50 +01:00
Baptiste Daroussin
099bd9e6ab pkgbase: rework certctl package to only run rehash on the main package
Rework how ucl manifest are generated leveraging ucl features and flua

now the ucl generation is done via a lua script which uses libucl to
ingest the template and use variables as defined in its command line.

the template will include only if it exist a ucl file named after the
package name which will complement the template or overwrite what was
defined in the template if defined in this specific ucl file

this allows to overwrite license, but add script only to the packages
who actually needs them.

As a results the post install scripts are now only added to the right
package and not also added to the subpackages like -man or -dev

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D44374

(cherry picked from commit f8e46fd61e055fcc767c2038d867f58c38e43ec3)
2024-03-27 09:31:47 +01:00
Baptiste Daroussin
cd6e93e7a9 pkgbase: remove packages which do not exists anymore
(cherry picked from commit 5c318f5ce3e293d8479d686da25c1a4460c09388)
2024-03-27 09:30:44 +01:00
Ed Maste
35457886cd release: remove binutils package data
GDB was the final GNU binutils component included in the base system,
but was removed in 2020.  Nothing provides a pkgbase binutils package
any longer.

Fixes: 1c0ea326aa ("Retire obsolete GDB 6.1.1")
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 1e4cd5ed54d73dcb8e9af92990e7bf005b9a5710)
2024-03-22 09:30:32 -04:00
Mitchell Horne
7a3d7b29f8 release: de-duplicate arm.subr fstab logic
These days, the entries are the identical for GPT and MBR.

Reviewed by:	manu, karels, imp
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D43847

(cherry picked from commit 94b86c12f14e69ace1bffe23c15c77a7def23216)
2024-02-26 11:35:47 -04:00
Li-Wen Hsu
a1f798b549
release: Add AZURE to CLOUDWARE
Let Azure use the image directly built by the release engineering team.

Reviewed by:	emaste
Approved by:	cperciva (re)
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D41906

(cherry picked from commit 63007e46110d7f7a1f9d48fbac99f8a5bc166456)
2024-02-12 11:21:14 +08:00
Mike Karels
0c6e3bfd13 arm64/RPI: enable powerd by default on arm64-aarch64-RPI images
Most 64-bit Raspberry Pi models have a variable processor clock
speed that defaults to a slow speed (e.g. 600 MHz for a nominal
1.5 GHz clock).  This results in everything running slowly unless
or until powerd is started, and FreeBSD is then thought to be slow.
Enable powerd by default in /etc/rc.conf on the arm64-aarch64-RPI
images.  Tested on Raspberry Pi 3B+ and 4B so far.

PR:		256836
Reviewed by:	rgrimes
Differential Revision:	https://reviews.freebsd.org/D43296

(cherry picked from commit 4347ef60501f2a55ad31f7532ad903b81f3af18f)
2024-01-30 14:10:00 -06:00
Xin LI
c682a95018 releng-gce: Advertise the availability of UEFI support in GCE images.
The amd64 and arm64 images supported UEFI, mark it as so users can take
advantage of UEFI boot on GCE.  This is already done on FreeBSD
14.0-RELEASE but never codified into the release tools (and should).

PR:		conf/276532
Reviewed by:	lwhsu
Differential Revision: https://reviews.freebsd.org/D43557

(cherry picked from commit 72dd306e44bc531fa723f4cdb631cb63cc5f09cb)
2024-01-29 23:21:47 -08:00
Mike Karels
9895c3a227 Increase the size of riscv GENERICSD images to 6 GB
The stable/13 snapshot this week failed to build the riscv GENERICSD
image because it ran out of space.  Checking main and stable/14
snapshots, they are also low on space, around 100% or more of
capacity.  Increase them all from 5 GB to 6 GB.  Note, this is the
only riscv image configuration.

Discussed with:	cperciva

(cherry picked from commit 6137b5f7b8c183ee8806d79b3f1d8e5e3ddb3df3)
2024-01-15 07:29:35 -06:00
Xin LI
0efd9e1c6b releng-gce: Advertise the availability of gVNIC support in GCE images.
This marks FreeBSD GCE images as gVNIC capable by adding the
--guest-os-features=GVNIC flag at creation time as suggested in GCE
documentation[1].  This allows Generation 3 and newer GCE instances
to leverage advanced networking capabilities and performance
enhancements provided by gVNIC.  Users will benefit from these
improvements without needing to create custom images.

[1] https://cloud.google.com/compute/docs/networking/using-gvnic#create_a_vm_with_gvnic_support

Reviewed by:	cperciva
Differential Revision: https://reviews.freebsd.org/D43411

(cherry picked from commit e872a4013fc325460924772f935b599151bd3d25)
2024-01-14 16:28:35 -08:00
Jose Luis Duran
3aa8b74da9 release: Add missing /var/crash ZFS dataset
This matches the layout from bsdinstall.

MFC after:	1 week
Fixes:	89585511cc ("release: Add support for creating ZFS-based VM images")
Pull Request:	https://github.com/freebsd/freebsd-src/pull/981

(cherry picked from commit adc215de9cabadb89eb4a1c99e047906eacaa58a)
2024-01-08 19:59:11 -05:00
Baptiste Daroussin
44600eb7e2 pkgbase: propagate SRCRELDATE to the packages correctly
MFC After:		3 days
Reviewed by:		manu
Differential Revision:	https://reviews.freebsd.org/D42892

(cherry picked from commit 5faaa602cee093269b1a73156c95c6892b4f098d)
2023-12-07 08:48:00 +01:00
Baptiste Daroussin
696527e90a pkgbase: kill circular dependency
clang was set to depend on clang-dev, but clang-dev already depends
on clang by design

MFC After:	3 days

(cherry picked from commit 6084d989497087dc4c7db8621a1b5a8e4d0559e1)
2023-12-07 08:47:41 +01:00
Baptiste Daroussin
1aa0345b86 pkgbase: create source package
FreeBSD-src for all the sources but the kernel
FreeBSD-src-sys just for the kernel

MFC After:		3 days
Reviewed by:		manu
Differential Revision:	https://reviews.freebsd.org/D42651

(cherry picked from commit 99b8c0c35b0fcc633649209621243d678a13542a)
2023-12-07 08:47:16 +01:00
Colin Percival
9fc78b60ed release/Makefile.vm: Rework emulator-portinstall
The emulator-portinstall target now unconditionally ensures that qemu
is installed; but is only invoked if needed (aka. when cross building
VM images).

MFC After:	3 days
MFC With:	97bd53ef4d20 ("Fix duplicate rc.conf files")

(cherry picked from commit 7d0ee5ebd052d35e323f2d303e467c2cf305ca39)
2023-12-05 15:40:06 -08:00
Colin Percival
9b92ce7bd3 Makefile.vm: Fix duplicate rc.conf files
Two bugs in Makefile.vm resulted in disk images being "built" multiple
times, resulting in lines added to /etc/rc.conf being duplicated:

1. The vm-image target reused the same "staging tree" directory for all
of its builds (multiple disk image types and multiple filesystem types).

2. The cw-type-flavour-fs target depends on emulator-portinstall, which
did not have a 'touch ${.TARGET}' and thus re-ran every time -- and
caused the cw-type-flavour-fs target to be re-run.  This was triggered
by release builds running `make cloudware-release` (creating the disk
images) followed by `make ec2amis` (which re-created the disk images
prior to uploading them).

MFC After:	1 week
Sponsored by:	https://www.patreon.com/cperciva

(cherry picked from commit 97bd53ef4d20b7d15e0b0976e885af9438f5637e)
2023-12-05 15:40:05 -08:00
Doug Rabson
e968616046 pkgbase: Move headers and libs out of runtime and utilities
Headers from src/include were in the runtime-dev package but
subdirectories of src/include ended up in utilities-dev by default.
Neither package is a good choice - the headers in src/include are not
useful without the libraries contained in clibs-dev.

This moves the standard C headers to clibs-dev (C++ headers are already
in this package). While working on this, I found that various clang
libraries and headers were also bundled into utilities-dev by default
so these are also moved to clang-dev.

I also added a FreeBSD-build-essential meta package to make it simple to
install all the toolchain parts.

PR:		254173
Reviewed byb:	manu
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D41815

(cherry picked from commit 78847e1e592789dc85bddf4d2f1d9a8ce4614ff1)
2023-11-12 10:37:16 +00:00
John Baldwin
058aa09fa3 powerpc/generate-hfs.sh: Don't include $FreeBSD$ in prefix to uuencoded image
Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D41958

(cherry picked from commit 5919ab299160e6d330bfd8bacf7bd1c5ad8cabb9)
2023-10-24 10:11:12 -07:00
Colin Percival
394e87e634 releng-gce: Add missing _
Fixes:	1b10bdf0e2fa8 "releng-gce: Add ZFS support to GCE"
MFC after:	3 days

(cherry picked from commit a959ae1c503d104f1e28033522362e5054f52c94)
2023-10-19 15:57:29 -07:00
Mikaël Urankar
03ef42bbe1 pkgbase: Fix ucl for libcompiler_rt
It's only a -dev package now so add it to the list of -dev package
that don't have non-dev package.

PR:	273859
(cherry picked from commit 36468371ce9565bf8989ad8e561e041bfe9cb80f)
2023-10-18 16:38:10 +02:00
Emmanuel Vadot
a01e703e50 pkgbase: Move blacklist utilities to a new package
Unbloat a bit FreeBSD-utilities.
The only package that will depends on this new one is FreeBSD-ssh
which not anyone have in some setup.
And this will allow to have small pkgbase setup with ssh without
having to bring the bloated FreeBSD-utilities package
Name the package blocklist to reflect upstream futur changes.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D42148

(cherry picked from commit 0983e80a9addbd65603a430e186d2a50b4e15e29)
2023-10-18 16:36:27 +02:00
Li-Wen Hsu
c892a9af71
releng-gce: Add ZFS support to GCE image buliding and uploading
Approved by:	delphij (re), gjb (re)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D41527

(cherry picked from commit 1b10bdf0e2fa80a485980b783469687623d3f1c3)
2023-10-16 01:14:59 +08:00
Li-Wen Hsu
1e7218e339
releng-azure: Add ZFS support to Azure image buliding and uploading
Approved by:	gjb (re)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D41454

(cherry picked from commit 78f901dcbd84ccad3849a8029f2320cf97079856)
2023-10-16 01:14:56 +08:00
Li-Wen Hsu
80496f42b6
releng-azure: Use port name to install Azure CLI
To overcome package name changing on default Python version updates.

Approved by:	gjb (re)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D41453

(cherry picked from commit 0fe6998d8ad0bf54c237c8f513bf00cab547b561)
2023-10-16 01:14:49 +08:00
Colin Percival
d9243c1ab3 EC2: Add experimental cloud-init images
Known issues:

1. The ec2-user user is created with a homedir of /usr/home/ec2-user
instead of /home/ec2-user; this appears to be a bug in cloud-init's
FreeBSD support.

2. Cloud-init configures IPv4 networking but not IPv6 networking.

releng/14.0 candidate.

Discussed with:	gjb
Reviewed by:	imp
MFC after:	5 days
Relnotes:	yes
Sponsored by:	https://www.patreon.com/cperciva
Differential Revision:	https://reviews.freebsd.org/D41793

(cherry picked from commit 1f4ce7a39f0f4b0621ff55d228014ccddb366d37)
2023-10-03 10:28:18 -07:00