Re: Question about compiling the linux kernel
- To: debian-devel@lists.debian.org
- Subject: Re: Question about compiling the linux kernel
- From: Alex Myczko <gurkan@phys.ethz.ch>
- Date: Tue, 28 Oct 2025 12:17:04 +0100
- Message-id: <[🔎] 1ddd426d-edcd-46eb-b03f-2cdfa5db087f@phys.ethz.ch>
- In-reply-to: <dkgUIPlx5uQ0saejtca13rIirUI2oj7hlRHh1wssG83wlD9vAStlVnrdrX_ZOOOO2BfDl2xXCjRSjnHqbjmPQJJbwGD4zHX9gHm36E7h2lQ=@proton.me>
- References: <dkgUIPlx5uQ0saejtca13rIirUI2oj7hlRHh1wssG83wlD9vAStlVnrdrX_ZOOOO2BfDl2xXCjRSjnHqbjmPQJJbwGD4zHX9gHm36E7h2lQ=@proton.me>
Hello Maria
On 8/16/2025 9:38 AM, maria.shrivinski wrote:
When compiling the kernel with make -j `getconf _NPROCESSORS_ONLN` deb- 
pkg the resulting .deb packages are generated in the parent directory.
Is there a way to choose a specific directory where those packages will 
be placed?
I have researched this issue and found partial answers about modifying 
scripts/package/debian/rules or various makefiles, but nothing has 
worked so far.
Using environment variables like DESTDIR=/path/to/dir or 
OUTPUT_DIRECTORY=/path/to/dir with the make command also did not work.
Starting to think that this might be impossible. Anyone have an idea?
Take a look at package/debian/rules, there's a call of dh_builddeb
which accepts --destdir
Thanks for your time!
Best,
Alex
Reply to: