FS#71689 - [archiso][e2fsprogs] profile using ext4+squashfs fails on e2fsprogs 1.46.3
Attached to Project:
Release Engineering
Opened by mark (qinohe) - Sunday, 01 August 2021, 23:35 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 03 August 2021, 15:18 GMT
Opened by mark (qinohe) - Sunday, 01 August 2021, 23:35 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 03 August 2021, 15:18 GMT
|
Details
Hi archiso team, using 'erofs' or 'ext4+squashfs' fails with
default mkarchiso.
In mkarchiso needed to change the following to get working ISO's with above options set. In _mkairootfs_ext4+squashfs function change to: #mkfs.ext4 -O '^has_journal,^resize_inode' -E 'lazy_itable_init=0' -m 0 -F "${pacstrap_dir}.img" 32G fallocate -l 32G "${pacstrap_dir}.img" mkfs.ext4 -O '^has_journal,^resize_inode' -E 'lazy_itable_init=0' -m 0 -F "${pacstrap_dir}.img" In _mkairootfs_erofs function: #mkfs.erofs -U "${fsuuid}" "${airootfs_image_tool_options[@]}" -- "${image_path}" "${pacstrap_dir}" mkfs.erofs -U "${fsuuid}" -- "${image_path}" "${pacstrap_dir}" see this thread: https://bbs.archlinux.org/viewtopic.php?id=268477 Regards, Mark |
This task depends upon
Closed by Christian Hesse (eworm)
Tuesday, 03 August 2021, 15:18 GMT
Reason for closing: Fixed
Additional comments about closing: e2fsprogs 1.46.3-3
Tuesday, 03 August 2021, 15:18 GMT
Reason for closing: Fixed
Additional comments about closing: e2fsprogs 1.46.3-3
As pointed out by @nl6720, the profile that is being built must be configured accordingly, as the `airootfs_image_tool_options` may refer to squashfs or erofs.
The ext4+squashfs issue is what actually matters in this ticket (as the erofs related issue is a configuration problem).
I'll add eworm to this ticket, so that we may track any progress on e2fsprogs, as the 1.46.3 release apparently causes the problem here.
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=942b00cb9d2f2b52f4c58877d523145ee59a89b0
So, it's clear options don't need to be set(empty) for erofs to get a working ISO ;-)
@Cristian, thanks for releasing e2fsprogs 1.46.3-2.
edit: the patch works fine, thanks.