Fix genimage build failure on Gitlab-CI
cover Fix genimage build failure on Gitlab-CI
Giulio Benetti (5):
board/friendlyarm/nanopc-t4:use partition-type-uuid for genimage-15 board/friendlyarm/nanopi-m4:use partition-type-uuid for genimage-15 board/pine64/rockpro64:use partition-type-uuid for genimage-15 board/radxa/rockpi-4:use partition-type-uuid for genimage-15 board/radxa/rockpi-n10:use partition-type-uuid for genimage-15
board/friendlyarm/nanopc-t4/genimage.cfg | 4 ++-- board/friendlyarm/nanopi-m4/genimage.cfg | 4 ++-- board/pine64/rockpro64/genimage.cfg | 4 ++-- board/radxa/rockpi-4/genimage.cfg | 4 ++-- board/radxa/rockpi-n10/genimage.cfg | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-)
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/5 board/friendlyarm/nanopc-t4:use partition-type-uuid for genimage-15
Genimage 15 restricted the partition-type option to mbr and hybrid partition-table-type and now prints a warning when it is used [1]:
ERROR: hdimage(disk.img): part boot: 'partition-type' is only valid for mbr and hybrid partition-table-type
[1] https://github.com/pengutronix/genimage/commit/1d72d8091f83790a0a35a1ea7dc25d46adba8876
So let's use for EFI System partition:
'partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b' and for Root partition (64-bit ARM/AArch64):
'partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae'
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1929717055
FTR, the magic UUID are from:
https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
--- board/friendlyarm/nanopc-t4/genimage.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
board/friendlyarm/nanopc-t4/genimage.cfg +2 -2
@@ -26,14 +26,14 @@ image sdcard.img { } partition boot { - partition-type = 0xC + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b bootable = "true" image = "boot.vfat" offset = 16M } partition rootfs { - partition-type = 0x83 + partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae image = "rootfs.ext4" } }
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/5 board/friendlyarm/nanopi-m4:use partition-type-uuid for genimage-15
In reply to Giulio BenettiGenimage 15 restricted the partition-type option to mbr and hybrid partition-table-type and now prints a warning when it is used [1]:
ERROR: hdimage(disk.img): part boot: 'partition-type' is only valid for mbr and hybrid partition-table-type
[1] https://github.com/pengutronix/genimage/commit/1d72d8091f83790a0a35a1ea7dc25d46adba8876
So let's use for EFI System partition:
'partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b' and for Root partition (64-bit ARM/AArch64):
'partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae'
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1929717059
FTR, the magic UUID are from:
https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
--- board/friendlyarm/nanopi-m4/genimage.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
board/friendlyarm/nanopi-m4/genimage.cfg +2 -2
@@ -26,14 +26,14 @@ image sdcard.img { } partition boot { - partition-type = 0xC + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b bootable = "true" image = "boot.vfat" offset = 16M } partition rootfs { - partition-type = 0x83 + partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae image = "rootfs.ext4" } }
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/5 board/pine64/rockpro64:use partition-type-uuid for genimage-15
In reply to Giulio BenettiGenimage 15 restricted the partition-type option to mbr and hybrid partition-table-type and now prints a warning when it is used [1]:
ERROR: hdimage(disk.img): part boot: 'partition-type' is only valid for mbr and hybrid partition-table-type
[1] https://github.com/pengutronix/genimage/commit/1d72d8091f83790a0a35a1ea7dc25d46adba8876
So let's use for EFI System partition:
'partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b' and for Root partition (64-bit ARM/AArch64):
'partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae'
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1929717243
FTR, the magic UUID are from:
https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
--- board/pine64/rockpro64/genimage.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
board/pine64/rockpro64/genimage.cfg +2 -2
@@ -26,14 +26,14 @@ image sdcard.img { } partition boot { - partition-type = 0xC + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b bootable = "true" image = "boot.vfat" offset = 16M } partition rootfs { - partition-type = 0x83 + partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae image = "rootfs.ext4" } }
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/5 board/radxa/rockpi-4:use partition-type-uuid for genimage-15
In reply to Giulio BenettiGenimage 15 restricted the partition-type option to mbr and hybrid partition-table-type and now prints a warning when it is used [1]:
ERROR: hdimage(disk.img): part boot: 'partition-type' is only valid for mbr and hybrid partition-table-type
[1] https://github.com/pengutronix/genimage/commit/1d72d8091f83790a0a35a1ea7dc25d46adba8876
So let's use for EFI System partition:
'partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b' and for Root partition (64-bit ARM/AArch64):
'partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae'
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1929717240
FTR, the magic UUID are from:
https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
--- board/radxa/rockpi-4/genimage.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
board/radxa/rockpi-4/genimage.cfg +2 -2
@@ -26,14 +26,14 @@ image sdcard.img { } partition boot { - partition-type = 0xC + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b bootable = "true" image = "boot.vfat" offset = 16M } partition rootfs { - partition-type = 0x83 + partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae image = "rootfs.ext4" } }
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 5/5 board/radxa/rockpi-n10:use partition-type-uuid for genimage-15
In reply to Giulio BenettiGenimage 15 restricted the partition-type option to mbr and hybrid partition-table-type and now prints a warning when it is used [1]:
ERROR: hdimage(disk.img): part boot: 'partition-type' is only valid for mbr and hybrid partition-table-type
[1] https://github.com/pengutronix/genimage/commit/1d72d8091f83790a0a35a1ea7dc25d46adba8876
So let's use for EFI System partition:
'partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b' and for Root partition (64-bit ARM/AArch64):
'partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae'
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1929717241
FTR, the magic UUID are from:
https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
--- board/radxa/rockpi-n10/genimage.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
board/radxa/rockpi-n10/genimage.cfg +2 -2
@@ -26,14 +26,14 @@ image sdcard.img { } partition boot { - partition-type = 0xC + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b bootable = "true" image = "boot.vfat" offset = 16M } partition rootfs { - partition-type = 0x83 + partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae image = "rootfs.ext4" } }
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines · On Thu, 3 Feb 2022 23:59:52 +0100 Giulio Benetti…
Giulio Benetti (5):
board/friendlyarm/nanopc-t4:use partition-type-uuid for genimage-15 board/friendlyarm/nanopi-m4:use partition-type-uuid for genimage-15 board/pine64/rockpro64:use partition-type-uuid for genimage-15 board/radxa/rockpi-4:use partition-type-uuid for genimage-15 board/radxa/rockpi-n10:use partition-type-uuid for genimage-15
Series applied, thanks
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot