RSS Bot Posted May 27, 2022 Posted May 27, 2022 Image building in ubuntu jammy on aarch64 platform breaks with diagnostic [ o.k. ] Calling image customization script [ customize-image.sh ] [ o.k. ] No longer needed packages [ purge ] [ o.k. ] Unmounting [ /root/armbian/.tmp/rootfs-4a58bdb8-aac0-472d-8f05-0d11ef0816e8 ] [ o.k. ] Preparing image file for rootfs [ odroidn2 jammy ] [ o.k. ] Current rootfs size [ 1285 MiB ] [ o.k. ] Creating blank image for rootfs [ 1612 MiB ] [ o.k. ] Creating partitions [ root: ext4 ] [ error ] ERROR in function check_loop_device [ main.sh:588 -> main.sh:549 -> debootstrap.sh:97 -> debootstrap.sh:658 -> image-helpers.sh:112 -> general.sh:0 ] [ error ] Device node /dev/loop0p1 does not exist [ o.k. ] Process terminated I found there no /dev/loop0p1 devices for partitions after loop mounting. Only on aarch64. On x64 devices for partitions are present. Then I found adding -P to losetup fixes it. How Has This Been Tested? [×] Build image for Rockpi-4a on Odroid-N2 Ubuntu Jammy, then boot Rockpi board from that image [×] Build image for Rockpi-4a on x64 Ubuntu Jammy, then boot Rockpi board from that image Checklist: [×] My code follows the style guidelines of this project [] I have performed a self-review of my own code [] I have commented my code, particularly in hard-to-understand areas [] I have made corresponding changes to the documentation [×] My changes generate no new warnings [] Any dependent changes have been merged and published in downstream modules View the full article
Recommended Posts