summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Marano <zmarano@google.com>2020-04-20 14:15:16 -0700
committerZach Marano <zmarano@google.com>2020-04-20 14:15:16 -0700
commit66ca87bb7ebcb928fe0a599b77dbf24c77b965bb (patch)
tree4d0f8431142fc493f4694531430ab65028f07ab5
parentfda09e7297265dbf9788bf61f1eefdcbeb24467e (diff)
parent84bb53e9e5944a2bb5d18ea77608af264c85c4c7 (diff)
downloadgoogle-compute-image-packages-66ca87bb7ebcb928fe0a599b77dbf24c77b965bb.tar.gz
Merge branch 'development'
-rwxr-xr-xpackages/gce-disk-expand/src/usr/share/dracut/modules.d/50expand_rootfs/expand_rootfs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/gce-disk-expand/src/usr/share/dracut/modules.d/50expand_rootfs/expand_rootfs.sh b/packages/gce-disk-expand/src/usr/share/dracut/modules.d/50expand_rootfs/expand_rootfs.sh
index 62d7171..f907772 100755
--- a/packages/gce-disk-expand/src/usr/share/dracut/modules.d/50expand_rootfs/expand_rootfs.sh
+++ b/packages/gce-disk-expand/src/usr/share/dracut/modules.d/50expand_rootfs/expand_rootfs.sh
@@ -54,6 +54,9 @@ main() {
fi
kmsg "Resizing disk ${rootdev}"
+ # Reset the counter for failed job starts to prevent overrunning the default
+ # start burst limits for systemd-fsck-root.service.
+ systemctl reset-failed
# First, move the secondary GPT to the end.
if ! out=$(sgdisk_fix_gpt "$disk"); then