diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/amazon-ec2-init/amazon-ec2-init-20101127-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/amazon-ec2-init/amazon-ec2-init-20101127-r1.ebuild')
-rw-r--r-- | app-admin/amazon-ec2-init/amazon-ec2-init-20101127-r1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-admin/amazon-ec2-init/amazon-ec2-init-20101127-r1.ebuild b/app-admin/amazon-ec2-init/amazon-ec2-init-20101127-r1.ebuild new file mode 100644 index 000000000000..41cd0c9ccb81 --- /dev/null +++ b/app-admin/amazon-ec2-init/amazon-ec2-init-20101127-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="Init script to setup Amazon EC2 instance parameters" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="" + +# Amazon only provides x86 and amd64 Linux Xen guests, possibly FreeBSD, +# so just don't go adding further keywords. +KEYWORDS="-* ~amd64 ~x86" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND="net-misc/wget" +DEPEND="" + +# EAPI 4+ requires $S to be set +S="$WORKDIR" + +src_install() { + newinitd "${FILESDIR}/amazon-ec2.init" amazon-ec2 +} + +pkg_postinst() { + elog "Remember to add amazon-ec2 init script to your boot runlevel" + elog "otherwise it won't bring up the correct interfaces and won't." + elog "start before the hostname has been set." +} |