Sample Header Ad - 728x90

Is it possible to run debootstrap within a fakeroot environment?

11 votes
3 answers
10465 views
I have a script that prepares an installation image by running debootstrap, does some modifications on the files and then copies the files to a disk image backed up by a file. This works under root, but I wanted to be able to run the script without root privileges, as it really shouldn't need any privileged resources. I thought that I'd just run the whole script using fakeroot, but debootstrap fails with W: Failure trying to run: chroot /tmp/tmp..... mount -t proc proc /proc Is there a way around that?
Asked by Petr (1776 rep)
Jul 9, 2015, 09:57 AM
Last activity: Apr 11, 2023, 11:10 AM