Commit graph

9 commits

Author SHA1 Message Date
Colin Percival 6b8ca8c4e4 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 6c87aed39c)
2024-04-23 22:04:06 -07:00
Warner Losh 023fc80ee3 Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

Similar commit in main:
(cherry picked from commit d0b2dbfa0e)
2023-08-23 11:43:30 -06:00
Glen Barber 1feb6f1cbe release: sprinkle UNAME_r hacks following c883b6fd8c
Pass UNAME_r override to make(1) for ports builds when building
ports for another branch.

Sponsored by:	GoFundMe https://www.gofundme.com/f/gjbbsd
Sponsored by:	PayPal https://paypal.me/gjbbsd

(cherry picked from commit 63749bfe96)
2023-07-21 23:18:43 -04:00
Glen Barber 86e5b1377d release: update to use git instead of svn:
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)
2020-08-12 16:25:25 +00:00
Glen Barber 57d94a19cb Remove the HH-MM suffix from the build date suffix.
It was useful when working out several kinks when
testing automated image uploading when retrying was
necessary, but now it is making things much too messy.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-07-01 14:51:26 +00:00
Glen Barber 27d233f7cc Change the hour:minute delimiter from ':' to '-', since
the former is an invalid character in EC2 images.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-25 14:24:06 +00:00
Glen Barber 3c3445e8c7 Consider PRERELEASE builds snapshots, in addition to CURRENT and
STABLE.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-25 13:40:00 +00:00
Glen Barber e5f5cbd42c Append the hour and minute to the snapshot suffix for EC2
AMIs and Azure VM images.  This is particularly helpful for
testing to avoid name collisions, but also useful for cases
where a necessary rebuild is done before the date changes.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-21 12:37:31 +00:00
Glen Barber 873fc70382 Add Makefile.azure, used to upload VHD images to the
Microsoft Azure environment, similar to the EC2 AMIs.

MFC after:	3 days
Tested with:	stable/10@r284517 (patched)
Sponsored by:	The FreeBSD Foundation
2015-06-18 19:20:00 +00:00