Testing debootstrap with local packages


I needed to test the effects of a package during bootstrap. I wanted to use a custom built package with debugging and fixes added.


sudo debootstrap --foreign precise precise
sudo cp *.deb precise/var/cache/apt/archives/
sudo chroot precise debootstrap/debootstrap --second-stage

The packages can print outout to /tmp files, and it can also be helpful to

sudo strace -f -o/tmp/log chroot precise debootstrap/debootstrap --second-stage

SergeHallyn_debootstrap (last edited 2012-05-19 02:57:41 by serge-hallyn)