Quick guide: set up chroot environment and build Debian packages (sbuild version)

TL;DR: Pbuilder-related tools are ineffective and redundant. By installing sbuild and schroot, one can set up clean and reusable chroot environments quickly and use the sole sbuild command to build Debian source packages (using src tree or .dsc files).

Fade away please pbuilder/cowbuilder; long live sbuild!


Quick example

Install tools and preparation

Initialize a chroot environment using sbuild-createchroot

Keep (s)chroot environment updated

Build a Debian package using sbuild with previously created chroot environment


References

To be continued…

hosiet

一个学生。May be neither too young nor simple, but sometimes can be naive.

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据