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.
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