Skip to content

Commit

Permalink
New package: cloud-utils-0.33.
Browse files Browse the repository at this point in the history
  • Loading branch information
the-maldridge committed Jul 23, 2024
1 parent e40aa41 commit ee0bcee
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
42 changes: 42 additions & 0 deletions srcpkgs/cloud-guest-utils/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Template file for 'cloud-guest-utils'
pkgname=cloud-guest-utils
version=0.33
revision=1
build_style=gnu-makefile
depends="e2fsprogs util-linux gptfdisk"
short_desc="Useful programs inside of a VM Guest"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="GPL-3.0-only"
homepage="https://github.com/canonical/cloud-utils/"
changelog="https://github.com/canonical/cloud-utils/raw/main/ChangeLog"
distfiles="https://github.com/canonical/cloud-utils/archive/refs/tags/$version.tar.gz"
checksum=338770d637788466aacfcbcec17a8d0046f92a13cc3b25fce8fceadb02a7339f

cloud-utils-ec2metadata_package() {
short_desc="Script for retrieving AWS-EC2 Metadata"
depends="python3"
pkg_install() {
vmove usr/bin/ec2metadata
}
}

cloud-image-utils_package() {
short_desc="Useful programs for dealing with cloud images"
depends="python3 e2fsprogs qemu wget file zisofs-tools geteltorito cdrtools"
pkg_install() {
vmove usr/bin/cloud-localds
vmove usr/bin/resize-part-image
vmove usr/bin/ubuntu-cloudimg-query
vmove usr/bin/write-mime-multipart
vmove usr/bin/mount-image-callback
vmove usr/share/man/man1/cloud-localds.1
vmove usr/share/man/man1/resize-part-image.1
vmove usr/share/man/man1/write-mime-multipart.1
}
}

cloud-utils_package() {
short_desc="Meta package of cloud-guest-utils and cloud-image-utils"
depends="${sourcepkg}>=${version}_${revision} cloud-image-utils>=${version}-${revision}"
build_style=meta
}
1 change: 1 addition & 0 deletions srcpkgs/cloud-image-utils
1 change: 1 addition & 0 deletions srcpkgs/cloud-utils
1 change: 1 addition & 0 deletions srcpkgs/cloud-utils-ec2metadata

0 comments on commit ee0bcee

Please sign in to comment.