home  bbs  files  messages ]

      ZZLI4428             linux.debian.maint.dpkg             86 messages      

[ previous | next | reply ]

[ list messages | list forums ]

  Msg # 80 of 86 on ZZLI4428, Wednesday 10-28-25, 9:02  
  From: KONSTANTIN DEMIN  
  To: ALL  
  Subj: Re: Question about compiling the linux k  
 From: rockdrilla@gmail.com 
  
 Furthermore, you may look at my personal fork [1] and view what changes are 
 done beyond Debian. 
  
 [1] https://git.krd.sh/krd/linux 
  
 SY, 
 Konstantin Demin 
  
 €€€€, 28 €€€€€€. 2025€€€€€., 23:08 Konstantin Demin : 
  
 > Hello! 
 > 
 > I'd suggest using something like sbuild to compile Debian packages. 
 > This doesn't answer how to place resulting .deb-s into a particular 
 > directory instead of parent one but likely answers how to build Debian 
 > packages in general. Also, "sbuild" isn't a single variant to build 
 > packages - there're many alternatives. 
 > 
 > I'm personally using my own wrapper around sbuild [1] to build 
 > packages. Saying that some Debian source package is exported into 
 > directory /tmp/superb-soft/src/ I'll have resulting packages in 
 > /tmp/superb-soft/all/ , /tmp/superb-soft/{arch}/ and 
 > /tmp/superb-soft/{arch}-debug/. 
 > 
 > Also, I'd recommend spending about a week to do a personal fork of 
 > Debian source package named "linux" [2], tweak your personal things 
 > and then build your Debian packages with Linux 
 > kernel/sources/headers/tools which are compatible with existing 
 > Debian/Linux infrastructure packages. However, syncing changes from 
 > Debian may be painful sometimes (this is the way). 
 > 
 > [1] 
 > https://git.krd.sh/krd/dotfiles/src/branch/main/.config/dotfil 
 s/scripts/krd-sbuild 
 > [2] https://salsa.debian.org/kernel-team/linux 
 > 
 > €€€€, 16 €€€€€€. 2025€€€€€. €€ 10:40, maria.shrivinski  >: 
 > > 
 > > 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? 
 > > 
 > > Thanks for your time! 
 > > 
 > 
 > 
 > -- 
 > SY, 
 > Konstantin Demin 
 > 
  
 
Furthermore, you may look at my personal fork [1] and   view what changes are done beyond Debian.

[1] https://gi   .krd.sh/krd/linux

<   /div>
S   ,
Konstantin Demin

€€€€,   28 €€€€€€. 2025€€€€€., 23:08 Konstantin Demin &   lt;rockdrilla@gmail.com
Hello!
   
   I'd suggest using something like sbuild to compile Debian packages.
   This doesn't answer how to place resulting .deb-s into a particular
   directory instead of parent one but likely answers how to build Debian
   packages in general. Also, "sbuild" isn't a single variant to   build
   packages - there're many alternatives.
   
   I'm personally using my own wrapper around sbuild [1] to build
   packages. Saying that some Debian source package is exported into
   directory /tmp/superb-soft/src/ I'll have resulting packages in
   /tmp/superb-soft/all/ , /tmp/superb-soft/{arch}/ and
   /tmp/superb-soft/{arch}-debug/.
   
   Also, I'd recommend spending about a week to do a personal fork of
   Debian source package named "linux" [2], tweak your personal   things
   and then build your Debian packages with Linux
   kernel/sources/headers/tools which are compatible with existing
   Debian/Linux infrastructure packages. However, syncing changes from
   Debian may be painful sometimes (this is the way).
   
   [1]
https://git.krd.sh/krd/dotfiles/src/branch/main/.con   ig/dotfiles/scripts/krd-sbuild
   [2] https://salsa.debian.org/kernel-   team/linux
   
      [continued in next message]      --- SoupGate-Win32 v1.05    * Origin: you cannot sedate... all the things you hate (1:229/2) 

[ list messages | list forums | previous | next | reply ]

search for:

328,098 visits
(c) 1994,  bbs@darkrealms.ca