mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
Merge pull request #520 from philips/no-boto-tools-on-gce
fix(app-emulation/google-startup-scripts): don't install boto
This commit is contained in:
commit
cabd0ea17f
@ -26,4 +26,6 @@ src_prepare() {
|
|||||||
src_install() {
|
src_install() {
|
||||||
mkdir -p ${D}/usr/share/oem/google-startup-scripts/usr/share/google/
|
mkdir -p ${D}/usr/share/oem/google-startup-scripts/usr/share/google/
|
||||||
cp -Ra ${WORKDIR}/usr/share/google/. ${D}/usr/share/oem/google-startup-scripts/ || die
|
cp -Ra ${WORKDIR}/usr/share/google/. ${D}/usr/share/oem/google-startup-scripts/ || die
|
||||||
|
# We don't install python or gsutil so skip this
|
||||||
|
rm -R ${D}/usr/share/oem/google-startup-scripts/boto || die
|
||||||
}
|
}
|
@ -76,14 +76,17 @@ coreos:
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
- name: google-startup-scripts.service
|
- name: google-startup-scripts-onboot.service
|
||||||
command: start
|
command: start
|
||||||
runtime: yes
|
runtime: yes
|
||||||
content: |
|
content: |
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Google Compute Engine Startup Scripts
|
Description=Google Compute Engine Startup Scripts
|
||||||
After=network.target
|
After=network.target
|
||||||
|
After=local-fs.target
|
||||||
|
Before=sshd.service
|
||||||
Requires=network.target
|
Requires=network.target
|
||||||
|
Requires=local-fs.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
@ -92,6 +95,24 @@ coreos:
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
- name: google-startup-scripts.service
|
||||||
|
command: start
|
||||||
|
runtime: yes
|
||||||
|
content: |
|
||||||
|
[Unit]
|
||||||
|
Description=Google Compute Engine user startup scripts
|
||||||
|
After=network.target
|
||||||
|
After=google-startup-scripts-onboot.service
|
||||||
|
Requires=google-startup-scripts-onboot.service
|
||||||
|
Requires=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/share/oem/google-startup-scripts/run-startup-scripts
|
||||||
|
Type=idle
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
oem:
|
oem:
|
||||||
id: gce
|
id: gce
|
||||||
name: Google Compute Engine
|
name: Google Compute Engine
|
||||||
|
Loading…
x
Reference in New Issue
Block a user