-chroot $target apt-get update
-chroot $target apt-get --download-only --assume-yes install file-rc
-chroot $target /bin/sh -c "dpkg -i --force-all /var/cache/apt/archives/file-rc*.deb"
-chroot $target apt-get -f install file-rc
+$ROOTCMD apt-get update
+$ROOTCMD apt-get --download-only --assume-yes install file-rc
+$ROOTCMD /bin/sh -c "dpkg -i --force-all /var/cache/apt/archives/file-rc*.deb"
+$ROOTCMD apt-get -f install file-rc