Accepting request 841447 from home:favogt:combustion
- Also stop ignition-mount.service if there's no config OBS-URL: https://build.opensuse.org/request/show/841447 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/combustion?expand=0&rev=11
This commit is contained in:
parent
3a12418b0e
commit
0e435e85b4
10
combustion
10
combustion
@ -84,11 +84,6 @@ cleanup() {
|
|||||||
|
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
|
||||||
if ! [ -d "${config_mount}/combustion" ]; then
|
|
||||||
echo "No config found - doing nothing."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ignition-mount.service mounts stuff below /sysroot in ExecStart and umounts
|
# ignition-mount.service mounts stuff below /sysroot in ExecStart and umounts
|
||||||
# it on ExecStop, failing if umounting fails. This conflicts with the
|
# it on ExecStop, failing if umounting fails. This conflicts with the
|
||||||
# mounts/umounts done by combustion. Ignition is already done, so just stop it.
|
# mounts/umounts done by combustion. Ignition is already done, so just stop it.
|
||||||
@ -96,6 +91,11 @@ if systemctl --quiet is-active ignition-mount.service; then
|
|||||||
systemctl stop ignition-mount.service
|
systemctl stop ignition-mount.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! [ -d "${config_mount}/combustion" ]; then
|
||||||
|
echo "No config found - doing nothing."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# Copy config
|
# Copy config
|
||||||
mkdir "${exchangedir}"
|
mkdir "${exchangedir}"
|
||||||
config_dir="${exchangedir}/config"
|
config_dir="${exchangedir}/config"
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 13 09:00:58 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
- Also stop ignition-mount.service if there's no config
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 6 10:19:57 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
Tue Oct 6 10:19:57 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user