Merge ~xnox/autopkgtest-cloud:linux-dash into autopkgtest-cloud:master

Proposed by Dimitri John Ledkov
Status: Rejected
Rejected by: Iain Lane
Proposed branch: ~xnox/autopkgtest-cloud:linux-dash
Merge into: autopkgtest-cloud:master
Diff against target: 18 lines (+7/-0)
1 file modified
worker/worker (+7/-0)
Reviewer Review Type Date Requested Status
Iain Lane Disapprove
Review via email: mp+368273@code.launchpad.net

Commit message

Whitelist linux-* as big packages to include all custom kernels.

LP: #1831446

Description of the change

Whitelist linux-* as big packages to include all custom kernels.

LP: #1831446

To post a comment you must log in.
Revision history for this message
Iain Lane (laney) wrote :

Thank for this, but as mentioned in

  https://code.launchpad.net/~xnox/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/368258

we should do this in a more generic way.

I hope you're able to work on it, but if not then let me know and I'll put it on the autopkgtest backlog.

review: Disapprove

Unmerged commits

ca23d16... by Dimitri John Ledkov

Whitelist linux-* as big packages to include all custom kernels.

LP: #1831446

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/worker/worker b/worker/worker
2index f431a6c..69ca877 100755
3--- a/worker/worker
4+++ b/worker/worker
5@@ -347,6 +347,13 @@ def request(msg):
6 container = 'autopkgtest-' + release
7 big_pkg = pkgname in cfg.get('autopkgtest', 'big_packages').strip().split()
8
9+ # whitelist all linux kernel flavours into big_pkg as there are
10+ # many flavours with -edge, -edge-next, -hwe variants. This is a
11+ # wide net, as there are a few non-kernel packages starting with
12+ # linux-*, e.g. linux-ftpd etc.
13+ if pkgname.startswith('linux-'):
14+ big_pkg = True
15+
16 autopkgtest_checkout = cfg.get('autopkgtest', 'checkout_dir').strip()
17 if autopkgtest_checkout:
18 argv = [os.path.join(autopkgtest_checkout, 'runner', 'autopkgtest')]

Subscribers

People subscribed via source and target branches