SHA256
1
0
forked from pool/ignition
ignition/0001-Continue-on-empty-GPT-partition-label.patch
Ignaz Forster 804a125886 - Update to version 2.0.1+git20190802.d523754:
* main: log stage at startup
- Add 0001-Continue-on-empty-GPT-partition-label.patch

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=24
2019-09-02 17:12:34 +00:00

14 lines
459 B
Diff

diff --git a/internal/exec/util/blkid.c b/internal/exec/util/blkid.c
index 7762d57..3ac8395 100644
--- a/internal/exec/util/blkid.c
+++ b/internal/exec/util/blkid.c
@@ -201,7 +201,7 @@ static result_t extract_part_info(blkid_partition part, struct partition_info *i
// label
ctmp = blkid_partition_get_name(part);
err = checked_copy(info->label, ctmp, PART_INFO_BUF_SIZE);
- if (err)
+ if (err && err != RESULT_LOOKUP_FAILED)
return err;
// uuid