Kernel configuration in Ubuntu

I gave it a try. Started with a recent clone of 22.04/master-next.

$ fakeroot debian/rules clean
...
dh_clean: Please specify the compatibility level in debian/compat
...

Put something in debian/compat. Clean worked.

$ echo 9 > debian/compat
$ fakeroot debian/rules clean
...
$ fakeroot debian/rules updateconfigs
...
* Run config-check for amd64-generic ...
check-config: loading annotations from debian.master/config/annotations
check-config: FAIL: (- != y): CONFIG_AS_TPAUSE policy<{'amd64': 'y'}>)
...
check-config: FAIL: (- != n): CONFIG_ZERO_CALL_USED_REGS policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 's390x': 'n'}>)
check-config: 9591/9602 checks passed -- exit 1
ERROR: 1 config-check failures detected

Importing all configurations ...

* Import configs for amd64-generic ...
debian/rules.d/1-maintainer.mk:43: recipe for target 'updateconfigs' failed
make: *** [updateconfigs] Error 1

Update configs failed. Maybe generate configs?

$ fakeroot debian/rules genconfigs
...
check-config: 9602/9602 checks passed -- exit 0

Yay! This is the farthest I’ve gotten.
And the build is running.

Thanks. Thanks.

1 Like