repart: Don't fail on boot if we can't find the root block device
When booting from virtiofs, we won't be able to find a root block device. Let's gracefully handle this similar to how we don't fail if we can't find a GPT partition table.
This commit is contained in:
committed by
Luca Boccassi
parent
8bf1d14112
commit
021b0ff405
@@ -31,5 +31,7 @@ Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart={{BINDIR}}/systemd-repart --dry-run=no
|
||||
|
||||
# The tool returns 76 if it can't find the root block device
|
||||
SuccessExitStatus=76
|
||||
# The tool returns 77 if there's no existing GPT partition table
|
||||
SuccessExitStatus=77
|
||||
|
||||
Reference in New Issue
Block a user