aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile.mirrors
Commit message (Collapse)AuthorAgeFilesLines
* release: match comment for if statementMinsoo Choo2025-11-291-1/+1
| | | | | | Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1903
* release: Remove errant .endforColin Percival2025-10-111-1/+0
| | | | | | | | | This didn't show up in testing on main or stable/15 because it only applies for "release" (BETA and onwards) builds. Fixes: afdc022deb91 ("release: Publish pkgbase-repo.tar") MFC after: 30 seconds Sponsored by: https://www.patreon.com/cperciva
* release: Fix pkgbase tarball names on FTP siteColin Percival2025-10-061-8/+12
| | | | | | | | | | These need to have names like FreeBSD-15.0-ALPHA5-amd64-pkgbase-repo.tar not just "pkgbase-repo.tar". Fixes: d0ff67db2908 ("release: Publish pkgbase-repo.tar") MFC after: 3 days Sponsored by: https://www.patreon.com/cperciva
* release: Don't publish pkgbase.repo for embeddedColin Percival2025-10-041-0/+2
| | | | | | | | The embedded "SD card" images build very differently from regular releases, and don't use pkgbase yet. MFC after: 3 days Sponsored by: https://www.patreon.com/cperciva
* release: Publish pkgbase-repo.tarColin Percival2025-10-041-0/+44
| | | | | | | | | | | | | This is a tarball containing the pkgbase repository for the release. Note: This is an uncompressed tarball, because all of its constituent .pkg files are already compressed; there's no point adding another layer of compression. Reviewed by: ivy MFC after: 1 minute Sponsored by: https://www.patreon.com/cperciva Differential Revision: https://reviews.freebsd.org/D52899
* release: Standardize on *-${FS}.* VM image namingColin Percival2024-12-101-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We publish three sets of VM images on download.freebsd.org: * Generic VM images * BASIC-CLOUDINIT VM images * BASIC-CI VM images Of these, the first had names like FreeBSD-14.2-RELEASE-amd64-ufs.raw.xz, the second had names like FreeBSD-14.2-RELEASE-amd64-BASIC-CLOUDINIT.ufs.qcow2.xz, and the third had names like FreeBSD-14.2-RELEASE-amd64-BASIC-CI.ufs.raw.xz but were listed in the CHECKSUM files with names like FreeBSD-14.2-RELEASE-amd64-BASIC-CI-ufs.raw.xz Standardize these to consistently use a hyphen before the filesystem type rather than a period. Note: On FreeBSD 14 we ship images without the -${FS} component in their names; these are hardlinks to the -ufs images for compatibility purposes. On FreeBSD 13 we only have UFS images and don't include the filesystem in the name. MFC after: 1 week Reported by: jmg Sponsored by: Amazon
* release: Remove empty suffix from file namesColin Percival2024-11-181-2/+2
| | | | | | | | | | | | For "release" builds (as opposed to "snapshot" builds -- in this context BETAs and RCs are "releases") ${SNAP_SUFFIX} is empty; but it stuck into some ociimages filenames via a copy-and-paste error. The final filenames on the download mirrors were not affected, so this does not need to be merged to releng/14.2. MFC after: 3 days Sponsored by: Amazon
* release: Publish OCI images on "ftp" mirrorsColin Percival2024-11-131-0/+53
| | | | | | | | If WITH_OCIIMAGES is set, "make ftp-stage" will now publish those bits into a directory under /OCI-IMAGES/, similar to how we publish CI and VM images. MFC after: 1 minute
* release: Stop publishing non-FS-tagged VM imagesColin Percival2024-06-211-20/+0
| | | | | | | | | | VM, BASIC-CI, and BASIC-CLOUDWARE images are published with the filesystem type (UFS or ZFS) in the file name. For backwards compatibility we have published the UFS images with no filesystem in the filename (aka with the same file names as we used before we supported building ZFS VM images); those are going away now. This will not be MFCed.
* release: Don't publish CW if !WITH_CLOUDWAREColin Percival2024-06-211-14/+18
| | | | | | | | If WITH_CLOUDWARE is not set, we didn't build BASIC-CLOUDWARE; don't try to install it into the /VM-IMAGES/ directory as part of ftp-stage. Fixes: 4771c2e9d1c7 "release: Publish non-uploaded cloudware bits" MFC after: 6 days
* release: Publish non-uploaded cloudware bitsColin Percival2024-06-191-0/+96
| | | | | | | | | | | | | | | | | | | | | While most "cloudware" (AWS, Azure, GCP, Vagrant) images get uploaded to their respective clouds, we have two images -- BASIC-CI and BASIC-CLOUDINIT -- which are published via the FTP mirrors. We have been handling these using a manual and error-prone process of copying them from the internal build directories into the FTP staging tree, but they should be handled using the "make install ftp-stage" mechanism which is used for all the other published images. This commit 1. Adds a new 'make cloud-install' target which is run as part of 'make install' and installs BASIC-CI and BASIC-CLOUDINIT images, and 2. Extends 'make ftp-stage' in Makefile.mirrors to copy those bits into the FTP staging area. As a side benefit, this will also make BASIC-CI and BASIC-CLOUDINIT images available for arm64; until now they have only been available for amd64. MFC after: 1 week
* release: Stage non-UFS images in vm-images-stageColin Percival2024-05-011-0/+14
| | | | | | | | | | | | | When the VM image building code was updated to support building non-UFS images, the vm-images-stage target was not updated to install those newly built images to the FTP site. As a result, we have been sending weekly snapshot announcements since August claiming that ZFS VM images are available when they are not in fact present anywhere publicly accessible. Fixes: 32ae9a6b3937 "release: Build UFS and ZFS VM images" Reported by: Michael Dexter MFC after: 5 days
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Append the branch commit count to _SNAP_SUFFIX for developmentGlen Barber2020-12-161-1/+1
| | | | | | | | | snapshot builds. Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=368704
* Fix staging riscv images.Glen Barber2020-12-091-2/+2
| | | | | | | Sponsored by: Rubicon Communications, LLC (netgate.com) Notes: svn path=/head/; revision=368493
* Makefile.inc1:Glen Barber2020-07-161-22/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Include files containing metadata specific to the branch in theGlen Barber2019-06-251-0/+4
| | | | | | | | | | | | | | directory where the individual distribution sets exist. The new metadata files include the build date, svn branch, and revision of the build. Requested by: Mellanox Technologies (via kib) MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate) Notes: svn path=/head/; revision=349372
* Fix the ftp-stage target for arm embedded builds.Glen Barber2018-08-021-17/+0
| | | | | | | | | | | | | | | | | The images were renamed from KERNCONF to BOARDNAME when specified, which would result in an image name of: 12.0-CURRENT-arm-armv7-GENERIC.img which would then be renamed to use the BOARDNAME for the SoC the image is targeted to use. BOARDNAME was specified for all images as of r336994, which now causes the ftp-stage target to fail, as the rename is no longer necessary. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=337159
* Update the GUMSTIX image build to use arm/arm TARGET/TARGET_ARCH.Glen Barber2017-11-131-1/+1
| | | | | | | | | | | | Update the TARGET/TARGET_ARCH matching in release/release.sh and release/Makefile.mirrors for simplification. Discussed with: mmel MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=325769
* Support armv7 builds for userlandWarner Losh2017-10-051-1/+1
| | | | | | | | | | | | | | | | | | | Make armv7 as a new MACHINE_ARCH. Copy all the places we do armv6 and add armv7 as basically an alias. clang appears to generate code for armv7 by default. armv7 hard float isn't supported by the the in-tree gcc, so it hasn't been updated to have a new default. Support armv7 as a new valid MACHINE_ARCH (and by extension TARGET_ARCH). Add armv7 to the universe build. Differential Revision: https://reviews.freebsd.org/D12010 Notes: svn path=/head/; revision=324340
* Fix the ftp-stage target for RPI3 images by loosening theGlen Barber2017-07-051-2/+2
| | | | | | | | | | constraints on the TARGET and TARGET_ARCH variables. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=320686
* Make Makefile.mirrors -ALPHA${N}-aware.Glen Barber2016-05-271-2/+2
| | | | | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=300814
* Deprecate MD5 checksum generation in favor of SHA512.Glen Barber2015-10-141-1/+1
| | | | | | | | | | | | | This was discussed during the 10.2-RELEASE cycle, however since we were nearing the end of the cycle, we decided to defer this change until after 10.2-RELEASE. Reminded by: so (delphij), jmg MFC after: 5 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=289337
* Consider PRERELEASE builds snapshots, in addition to CURRENT andGlen Barber2015-06-251-2/+2
| | | | | | | | | | STABLE. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=284811
* Invert the build date and svn revision to match the namimgGlen Barber2015-05-271-1/+1
| | | | | | | | | | convention that has been in use for a while. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283618
* Fix a typo.Glen Barber2015-05-261-1/+1
| | | | | | | | | Submitted by: ian MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283593
* Use SVNREVISION and BUILDDATE if passed into the make(1)Glen Barber2015-05-261-12/+14
| | | | | | | | | | environment, fallback to trying to figure it out otherwise. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283580
* Reindent after r283575.Glen Barber2015-05-261-35/+35
| | | | | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283576
* Remove duplicate exists() sanity check.Glen Barber2015-05-261-3/+0
| | | | | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283575
* Set STAGE_TARGETS only if RELEASEDIR exists.Glen Barber2015-05-261-0/+2
| | | | | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283574
* Remove a continuation on error, since the relevant behavior canGlen Barber2015-05-261-2/+2
| | | | | | | | | | only occur if a particular file exists. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283573
* Fix staging virtual machine images for ftp propagation.Glen Barber2015-05-221-30/+41
| | | | | | | | | MFC after: 3 days X-MFC-Note: needs all previous changes Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283302
* Fix a number of logic and/or naming problems in Makefile.mirrors.Glen Barber2015-05-221-51/+103
| | | | | | | | | | | | | Reduce a number of duplicated logic. As of this commit, this file does exactly what it is needed to do. MFC after: 3 days X-MFC-Note: needs all previous changes Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283298
* Fix make(1) syntax error for non-embedded targets.Glen Barber2015-05-211-1/+3
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283272
* If TARGET or EMBEDDED_TARGET == arm, set EMBEDDED variable,Glen Barber2015-05-211-9/+50
| | | | | | | | | | | | | | | | | | | | | | which helps control some of the arm-specific bits a bit more cleanly (but not really 'clean'). If BOARDNAME is defined (as is in the WANDBOARD configuration RE uses), do some magic to work with the KERNCONF and BOARDNAME to rename the file, making it a bit more intuitive for the consumer to determine which they need. Yes, it is ugly, that is why there is a big warning at the top. It is, however, still much cleaner than the now 474-line shell script, and this Makefile produces the hierarchy needed without much evil. MFC after: 1 week X-MFC-Note: needs all previous Makefile.mirror commits Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283271
* Remove the arm/armv6 bits from Makefile.mirrors, which needsGlen Barber2015-05-211-7/+0
| | | | | | | | | some re-thinking. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283268
* Include xz(1)-compressed images when not a snapshot build.Glen Barber2015-05-211-2/+4
| | | | | | | | | Do not suffix non-snapshot checksum files with SNAP_SUFFIX. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283266
* cd(1) to .CURDIR before calling stat(1) to fix the pathGlen Barber2015-05-211-6/+9
| | | | | | | | | | | | | | | to sh(1). Include xz(1)-compressed images when renaming snapshot builds. Use OSRELEASE in place of REVISION-BRANCH for checksum filenames. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283265
* Avoid polluting the filesystem when not necessary.Glen Barber2015-05-121-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282799
* After the last influx of commits, and a REALLY BIG WARNINGGlen Barber2015-05-121-0/+4
| | | | | | | | | to the top of the file. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282798
* Fix more paths to the actual files.Glen Barber2015-05-121-3/+3
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282797
* Fix more path variables.Glen Barber2015-05-121-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282796
* Provide the correct path to the checksum file.Glen Barber2015-05-121-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282795
* Also symlink the CHECKSUM.{SHA256,MD5} files.Glen Barber2015-05-121-0/+3
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282794
* Also copy CHECKSUM.{SHA256,MD5} files.Glen Barber2015-05-121-0/+4
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282793
* Fix a few incorrect variables and/or hard-coded paths.Glen Barber2015-05-121-2/+2
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282792
* Sigh. Fix more syntax errors introduced by the last commit.Glen Barber2015-05-121-2/+2
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282791
* Fix a make(1) syntax error.Glen Barber2015-05-121-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282790
* Temporarily 'rm -rf $FTPDIR' during additional testing.Glen Barber2015-05-121-1/+4
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282789
* Always use the 'make install' directory as the source for images.Glen Barber2015-05-121-7/+13
| | | | | | | | | | | | | For RE purposes, we use the default (/R within the chroot), so this helps avoid copying files multiple times and xz(1)-compressing additional times when not needed. Again, this Makefile is not for general consumption. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282787