I have issued following commands and it appears working for me as
expected:
```
$ apt source linux
$ cd linux-6.8.0
$ fakeroot debian/rules clean
$ debian/rules build # a separate step to avoid fakeroot delays
$ fakeroot debian/rules binary
$ ls -1 ..
linux-6.8.0
linux-bpf-dev_6.8.0-55.57_amd64.deb
linux-buildinfo-6.8.0-55-generic_6.8.0-55.57_amd64.deb
linux-cloud-tools-6.8.0-55-generic_6.8.0-55.57_amd64.deb
linux-cloud-tools-6.8.0-55_6.8.0-55.57_amd64.deb
linux-cloud-tools-common_6.8.0-55.57_all.deb
linux-doc_6.8.0-55.57_all.deb
linux-headers-6.8.0-55-generic_6.8.0-55.57_amd64.deb
linux-headers-6.8.0-55_6.8.0-55.57_all.deb
linux-image-unsigned-6.8.0-55-generic_6.8.0-55.57_amd64.deb
linux-lib-rust-6.8.0-55-generic_6.8.0-55.57_amd64.deb
linux-libc-dev_6.8.0-55.57_amd64.deb
linux-modules-6.8.0-55-generic_6.8.0-55.57_amd64.deb
linux-modules-extra-6.8.0-55-generic_6.8.0-55.57_amd64.deb
linux-modules-ipu6-6.8.0-55-generic_6.8.0-55.57_amd64.deb
linux-modules-iwlwifi-6.8.0-55-generic_6.8.0-55.57_amd64.deb
linux-modules-usbio-6.8.0-55-generic_6.8.0-55.57_amd64.deb
linux-source-6.8.0_6.8.0-55.57_all.deb
linux-tools-6.8.0-55-generic_6.8.0-55.57_amd64.deb
linux-tools-6.8.0-55_6.8.0-55.57_amd64.deb
linux-tools-common_6.8.0-55.57_all.deb
linux-tools-host_6.8.0-55.57_all.deb
linux_6.8.0-55.57.diff.gz
linux_6.8.0-55.57.dsc
linux_6.8.0.orig.tar.gz
```
I'm closing this as WORKSFORME.
** Changed in: linux (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2103991
Title:
Can't build a corresponding linux-tools package for my self-build
kernel
Status in linux package in Ubuntu:
Invalid
Bug description:
Running Ubuntu 24.04, I've built my own kernel from 6.8 sources as:
=================================
apt source linux
cd linux-6.8.0
make mrproper
cp /boot/config-$(uname -r) ./.config
make oldconfig
scripts/config --disable SYSTEM_TRUSTED_KEYS
scripts/config --disable SYSTEM_REVOCATION_KEYS
scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS ""
scripts/config --set-str CONFIG_SYSTEM_REVOCATION_KEYS ""
# This way
make -j8 bindeb-pkg LOCALVERSION=-qqqqqq
# And this
fakeroot debian/rules clean
fakeroot debian/rules binary do_linux_tools=true
=================================
I also did the same for git-cloned v6.12, used "make deb-pkg". No luck,
nothing builds linux-tools for me.
The reason why I'm doing that - I need "cpupower" command working after
moving to v.6.12.
Thanks in advance!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2103991/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp