Hi,
Snapd is not running as expected in the ubuntu build.
It seems that XZ support for squashfs is missing in kernel build. Is there a reason for that ?
Regards
Hi,
Snapd is not running as expected in the ubuntu build.
It seems that XZ support for squashfs is missing in kernel build. Is there a reason for that ?
Regards
Hi @O. JUD, Our latest Ubuntu image seems like working well. So, please download our image from here, https://www.ipi.wiki/pages/downloads-imx8mplus. Meanwhile, I will try to check with our software team.
Hi Kothandaraman
I'm not using your Image but i'm building Ubuntu as described on this page : https://www.ipi.wiki/pages/imx8mp-docs?page=HowToBuildUbuntu.html .
I need to add new devices modules in your kernel so i rebuilt it with your procedure "bitbake core-image-minimal" put the bootfs on sdcard and added my own Ubuntu rootfs.
i'm currently using hardknott_v1_2 with kernel 5.10.35 as my device driver support only 5.10 kernel. SQUASHFS is enabled in lec-imx8mp_defconfig but not CONFIG_SQUASHFS_XZ when i launch snap install something i have the error bellow :
error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount:
/tmp/syscheck-mountpoint-271219186: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error.
And dmesg shows :
[ 1471.862320] Filesystem uses "xz" compression. This is not supported
[ 1477.838311] Filesystem uses "xz" compression. This is not supported
I suppose i need add CONFIG_SQUASHFS_XZ in lec-imx8mp_defconfig then rebuild the kernel.
Rgds
@Kothandaraman Kannadasan , I have checked your last Ubuntu image and its the same .
I checked https://github.com/ADLINK/meta-adlink-nxp/blob/hardknott/recipes-kernel/linux/linux-imx/lec-imx8mm_defconfig too and CONFIG_SQUASHFS_XZ is not enabled.
Hi @O. JUD, sorry for the inconvenience. Definitely, we will take your feedback and make them enable.
thnks
I made it work by adding these lines in lec-imx8mp_defconfig