I'm trying to debug a Makefile which at face value calls a script trying to chroot
into some directory. Then it also does env
command.
BCMD= bash
CMD= "/build/toolcrib/prepare_final_tree >crumbs/Final-prep.out 2>&1"
${BCMD} -c "chroot /home/user/Smoothwall/bcutm/distrib /tools/bin/env -i ${CMD}"
I understand that it is chrooting into the specified directory.
What is it doing with the env -i ${CMD}
, as a single command with chroot.
After I run this command it does not find the /tools/bin/env
command.