aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile.mirrors
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add a new file, Makefile.mirrors, which is intended to replaceGlen Barber2015-05-111-0/+128
a 474-line kludge of a shell script to pre-create the directory hierarchy on ftp-master. This is not in any way connected to the build, and there is no intention to do so. This only intent here is to try to make things a little bit easier for me. But I've probably just made things worse. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282785