As an illustration, here is a wrapper 'mkdir_in_dev.sh' for mkdir : directories under dev are made outside of the fakechroot environment. Other directories are made as usual.
$ debirf make minimal/ [ ... ] $ export FAKECHROOT_CMD_SUBST="/bin/mkdir="$(readlink -f mkdir_in_dev.sh) $ debirf enter minimal # aptitude update # aptitude -R install scsitools [ ... ] # echo $? 0 The two patches proposed for bug #732322 are applied. $ dpkg -l debirf fakechroot libfakechroot fakeroot ||/ Name Version Architecture Description +++-==================================-======================-======================-========================================================================= ii debirf 0.33 all build a kernel and initrd to run Debian from RAM ii fakechroot 2.17.2-1 all gives a fake chroot environment - utilities ii fakeroot 1.18.4-2 amd64 tool for simulating superuser privileges ii libfakechroot:amd64 2.17.2-1 amd64 gives a fake chroot environment - runtime I hope it will help ! Regards, JH Chatenet
mkdir_in_dev.sh
Description: Bourne shell script