gentoo/app-admin/amazon-ec2-init/amazon-ec2-init-20101127-r2.ebuild
Leonardo Hernández Hernández 03484df6e6
app-admin/amazon-ec2-init: update EAPI 6 -> 8
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
Signed-off-by: Sam James <sam@gentoo.org>
2023-09-13 04:48:01 +01:00

28 lines
718 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Init script to setup Amazon EC2 instance parameters"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
S="${WORKDIR}"
# 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"
RDEPEND="net-misc/wget"
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."
}