mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 10:27:00 +02:00
feat(app-admin/locksmith): Initial commit
This commit is contained in:
parent
ebe1662c5f
commit
a5b17a1555
1
sdk_container/src/third_party/coreos-overlay/app-admin/locksmith/locksmith-0.1.0.ebuild
vendored
Symbolic link
1
sdk_container/src/third_party/coreos-overlay/app-admin/locksmith/locksmith-0.1.0.ebuild
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
locksmith-9999.ebuild
|
39
sdk_container/src/third_party/coreos-overlay/app-admin/locksmith/locksmith-9999.ebuild
vendored
Normal file
39
sdk_container/src/third_party/coreos-overlay/app-admin/locksmith/locksmith-9999.ebuild
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
# Copyright (c) 2014 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
CROS_WORKON_PROJECT="coreos/locksmith"
|
||||
CROS_WORKON_LOCALNAME="locksmith"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64"
|
||||
else
|
||||
CROS_WORKON_COMMIT="46fa8a4362f1fcab6459a2103291558811a3a619"
|
||||
KEYWORDS="amd64"
|
||||
fi
|
||||
|
||||
inherit cros-workon systemd
|
||||
|
||||
DESCRIPTION="locksmith"
|
||||
HOMEPAGE="https://github.com/coreos/locksmith"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.2"
|
||||
|
||||
src_compile() {
|
||||
./build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${S}/bin/locksmithctl
|
||||
dodir /usr/lib/locksmith
|
||||
dosym ../../../bin/locksmithctl /usr/lib/locksmith/locksmithd
|
||||
|
||||
systemd_dounit "${S}"/systemd/locksmithd.service
|
||||
systemd_enable_service multi-user.target locksmithd.service
|
||||
}
|
Loading…
Reference in New Issue
Block a user