mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 22:41:09 +02:00
sys-apps/ignition: remove stages
This commit is contained in:
parent
21611faaed
commit
3d43b4f8e1
@ -1,3 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Requires=ignition@prepivot.service
|
|
||||||
After=ignition@prepivot.service
|
|
@ -10,7 +10,7 @@ Type=oneshot
|
|||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
Environment=OEM_NAME=pxe
|
Environment=OEM_NAME=pxe
|
||||||
EnvironmentFile=-/usr/share/oem/environment
|
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]
|
[Install]
|
||||||
WantedBy=initrd.target
|
WantedBy=initrd.target
|
@ -24,14 +24,11 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dobin ${GOBIN}/*
|
newbin ${GOBIN}/src ignition
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}"/coreos-metadata.target
|
systemd_dounit "${FILESDIR}"/coreos-metadata.target
|
||||||
|
systemd_dounit "${FILESDIR}"/ignition.service
|
||||||
systemd_dounit "${FILESDIR}"/ignition@.service
|
systemd_enable_service initrd.target ignition.service
|
||||||
systemd_dounit "${FILESDIR}"/ignition-prepivot.target
|
|
||||||
|
|
||||||
systemd_enable_service initrd.target ignition-prepivot.target
|
|
||||||
|
|
||||||
coreos-dodoc -r doc/*
|
coreos-dodoc -r doc/*
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user