[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GCC 7

Thank you, Don, for your advice!

I tried schroot, and it's awesome!  I followed the steps on:


I was able to build my code just as on Buster. The difference between schroot and chroot is that with schroot you have assess to the files outside the root directory of chroot (like /srv/chroot/buster), and I'm thinking specifically about the home directory.



On 13.06.2018 17:37, Don Armstrong wrote:
On Wed, 13 Jun 2018, Irek Szcześniak wrote:
Thanks for pointing out pbuilder, I think I'll give it a try.  I also might
want to try virtual containers, but it seems like an overkill.

You might also try out schroot.

Something like:

apt-get install schroot ubuntu-dev-tools;
mk-sbuild unstable;
schroot unstable;

will get you in an unstable chroot which you can use to build packages.
[schroot+sbuild is what Debian developers often use instead of pbuilder,
but either approach works.]

Reply to: