Up to [cvs.NetBSD.org] / pkgsrc / sysutils / bsdec2-image-upload
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
bsdec2-image-upload: Update to 1.5.0 1.5.0 Toggle 1.5.0's commit message make Makefiles Adjustment after main.c started including sysendian.h. 1.4.13 Increase part size to 50 MB ImportVolume has issues when images have too many parts. Increasing the size of parts from 10 MB to 50 MB seems to solve them. 1.4.11 Check for CLIENT_ERROR during ImportVolume too Sometimes we error with SERVER_ERROR; sometimes we error with CLIENT_ERROR. Both errors are internal to AWS, and both errors should result in us abandoning the upload. 1.4.10 Add --ssm-name-extra option This can be used to store AMI IDs in a second SSM Parameter; FreeBSD will use it to store AMIs as e.g. /aws/service/freebsd/arm64/small/ufs/15.0/RELEASE/latest in addition to the existing /aws/service/freebsd/arm64/small/ufs/15.0/RELEASE parameter path, so that the .../latest path can be updated to point at patched images without modifying the original RELEASE parameter. Sponsored by: Amazon 1.4.9 Detect SERVER_ERROR when importing volume Around 1% of EBS volume imports are failing with a status message of "SERVER_ERROR : conversion : AWS initiated task cancellation"; prior to this change, the upload hangs (without exiting) because we're waiting for a volume ID to be provided. As a practical matter, this results in the FreeBSD release build process hanging since it waits for all of the uploads to "complete" (aka for all the processes to exit). Check for the substring "SERVER_ERROR" in the status message and error out if encountered. Sponsored by: Amazon 1.4.8 Work around ImportVolume request limits Add a new ec2_apicall_resourcelimited function which is like ec2_apicall except that if a request fails with ResourceLimitExceeded, it waits a minute and then tries again. Use it in importvolume, because FreeBSD now tries to publish all of the AMIs at once (8 on 15.x, 8 on 14.x, and 2 on 13.x) and most of the uploads failed. While I'm here, fix some whitespace bugs. 1.4.7 Update AMI disk specification Belatedly switch default root disk type from gp2 to gp3. Remove mention of ephemeral[0-3]; in the early days of EC2 it was necessary to list these in the AMI in order to have ephemeral disks attached, but modern EC2 instances attach ephemeral disks regardless of whether they are enumerated in the AMI. 1.4.6 Add support for uefi-preferred boot mode
*: bump for openssl 3
bsdec2-image-upload: SunOS needs libsocket.
bsdec2-image-upload: update to 1.4.5
git shortlog:
Brad Davis (1):
Fix typo
Colin Percival (37):
Allow CERTFILE to be specified at compile-time
Merge pull request #8 from natpicone/fix-region-upload
Fix build: MAN=, not NO_MAN=yes.
Add Architecture field to SNS notifications
Split the concept of "we're publishing AMIs".
Implement --allregions and -publicamis.
Fix TLS certificate name checking
Add support for signing Amazon SSM API calls.
Add --ssm-name <path> option
aws_sign.[ch] are now part of libcperciva
Refactor snapshot creation.
Use aws_readkeys from libcperciva
Use libcperciva getopt.
Introduce sslreq2, which sends headers + payload
Add --vhd option.
Add instructions for AWS account setup
This will be version 1.3.0.
Support OpenSSL < 1.1.1.
Version and date bumps.
Support > 10 GB disk images
Use OpenSSL default root certificates by default.
Ignore SIGPIPE globally.
Don't map files MAP_NOCORE if that's not defined.
Switch from BSD make to POSIX-compliant make
Add casts betweeh char * and uint8_t *
Add region to S3 hostname.
Add <limits.h> for INT_MAX.
Add compatibility with LibreSSL >= 2.9.
Version and date bumps.
Include region in presigned S3 URLs too
Add --uefi option.
sslreq: Don't leak socket
sslreq: Clean up on error
Bump version to 1.4.3.
publish: Add @ISODATE@ substitution.
Add -v option and autoinsert version/date
Set DataType in SSM PutParameter request
Natalino Picone (1):
fix region upload
Tassilo Philipp (1):
Support LibreSSL 3.3.2 and later.
*: Recursive revision bump for openssl 1.1.1.
Disable some warnings for clang.
Fix build on NetBSD.
Initial import of bsdec2-image-upload version 1.2.2. Tool for uploading disk images into Amazon EC2 and creating Amazon Machine Images from them.