Differences between revisions 10 and 11
Revision 10 as of 2021-11-26 02:47:01
Size: 1337
Editor: ?Ayoyimika Ajibade
Comment:
Revision 11 as of 2021-11-26 02:48:01
Size: 1262
Editor: ?Ayoyimika Ajibade
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
autopkgtests will use schroot backend which is suitable for WSL2. If this exported variable is not set, default value of "LXC" will be used. autopkgtests will use schroot backend which is suitable for WSL2.

Debian Ruby team maintains a set of scripts that helps testing reverse dependencies of packages when updating an existing package in addition to running clean build with sbuild and autopkgtest with lxc. It runs autopkgtest for all reverse dependencies and rebuilds all reverse build dependencies.

You can clone this repo from salsa and use build script. You will need to run setup script first to create all required root file systems and install required packages.

Note: Currently you need to follow these steps if you got an error when creating lxc container or your autopkgtests always fail. You will need apparmor installed to have these settings to work.

Window Subsystem for Linux (WSL2)

In setting up ruby-team-meta-build script which makes testing reverse dependencies easy, by default its uses LXC as its default autopkgtests backend which doesn't work in WSL2 so you can configure to use schroot by setting AUTOPKGTEST_VIRT_SERVER to "schroot" and exporting it (export AUTOPKGTEST_VIRT_SERVER="schroot") in ~/.bashrc file, autopkgtests will use schroot backend which is suitable for WSL2.


CategoryPackaging