Debian Compilation issue for imx8MP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debian Compilation issue for imx8MP

594 Views
Neha_V
Contributor II

During the debian compilation for imx8mp i am facing this issue 
sed: couldn't open temporary file /home/iwave/SUMAN/LZ/flexbuild/build_lsdk2506/rfs/rootfs_lsdk2506_debian_desktop_arm64/etc/pam.d/sedZCczOs: Permission denied

I changed the ownership and kept for compilation but still i am facing this issue.

Tags (1)
0 Kudos
Reply
1 Reply

573 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @Neha_V,


Some build systems expect to run inside a controlled environment like chroot to simulate root privileges. This is especially important when building root filesystems or modifying system level directories, as it helps avoid permission-related issues and ensures the build process behaves as expected.

Try the next command:

sudo LANG=C.UTF-8 chroot /path/to/rootfs qemu-aarch64-static /bin/bash



Best regards,
Chavira

0 Kudos
Reply