sys-apps/ignition: remove stages

This commit is contained in:
Alex Crawford 2015-06-02 12:06:38 -07:00
parent 21611faaed
commit 3d43b4f8e1
3 changed files with 4 additions and 10 deletions

View File

@ -1,3 +0,0 @@
[Unit]
Requires=ignition@prepivot.service
After=ignition@prepivot.service

View File

@ -10,7 +10,7 @@ Type=oneshot
RemainAfterExit=yes
Environment=OEM_NAME=pxe
EnvironmentFile=-/usr/share/oem/environment
ExecStart=/usr/bin/ignition --root=/sysroot --oem=${OEM_NAME} --stage=%i
ExecStart=/usr/bin/ignition --root=/sysroot --oem=${OEM_NAME}
[Install]
WantedBy=initrd.target

View File

@ -24,14 +24,11 @@ src_compile() {
}
src_install() {
dobin ${GOBIN}/*
newbin ${GOBIN}/src ignition
systemd_dounit "${FILESDIR}"/coreos-metadata.target
systemd_dounit "${FILESDIR}"/ignition@.service
systemd_dounit "${FILESDIR}"/ignition-prepivot.target
systemd_enable_service initrd.target ignition-prepivot.target
systemd_dounit "${FILESDIR}"/ignition.service
systemd_enable_service initrd.target ignition.service
coreos-dodoc -r doc/*
}