diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-12-02 15:06:09 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-04-05 20:50:47 +0200 |
commit | 97ce55e3e59f0361af4da6b09cce7e239927f812 (patch) | |
tree | 9b0c5b8ab3e04cf4afbaccbf30b5b383689a188a | |
parent | 598fd4da1cf9665834110583fd9133073cc12481 (diff) | |
download | systemd-97ce55e3e59f0361af4da6b09cce7e239927f812.tar.gz |
dissect: update error code comment a bit
-rw-r--r-- | src/shared/dissect-image.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c index 97414d2c8f..5ec4fbf2e1 100644 --- a/src/shared/dissect-image.c +++ b/src/shared/dissect-image.c @@ -684,7 +684,11 @@ static int dissect_image( * Returns -ENOPKG if no suitable partition table or file system could be found. * Returns -EADDRNOTAVAIL if a root hash was specified but no matching root/verity partitions found. * Returns -ENXIO if we couldn't find any partition suitable as root or /usr partition - * Returns -ENOTUNIQ if we only found multiple generic partitions and thus don't know what to do with that */ + * Returns -ENOTUNIQ if we only found multiple generic partitions and thus don't know what to do with that + * Returns -ERFKILL if image doesn't match image policy + * Returns -EBADR if verity data was provided externally for an image that has a GPT partition table (i.e. is not just a naked fs) + * Returns -EPROTONOSUPPORT if DISSECT_IMAGE_ADD_PARTITION_DEVICES is set but the block device does not have partition logic enabled + * Returns -ENOMSG if we didn't find a single usable partition (and DISSECT_IMAGE_REFUSE_EMPTY is set) */ uint64_t diskseq = m->loop ? m->loop->diskseq : 0; |