LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-22-2013, 11:33 PM   #16
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158

Quote:
Originally Posted by catkin View Post
Thanks cynwulf

Given all this helpful information on the pros and cons of various solutions and aiming for a policy which minimises the administrative work while meeting the imperative of supporting the hardware, the policy could be "Use backport kernel packages; if they do not support the hardware, build from debian testing source the debian way and use those packages".
You can build the kernel really easy for Debian directly from the vanilla source or git with

Code:
make deb-pkg
Or if you want multi threaded build (example with 4 threads):

Code:
make -j 4 deb-pkg
You can of course make changes to the configuration before, add or remove whatever you need.
This will result in 4 .deb files - firmware, libc-dev, image and headers - everything you need. It will be installed via package manager so it can be removed too - they also include all sorts of deloyment scripts such as automatic dkms handling (exactly as the kernels from the repositories). Nice and simple, you dont need any debianized sources and whatnot. These .debs can be copied over and installed to another machines too.

Only thing is that make sure you compile the kernel with all needed components for all hardware components you plan deploying on and use the same distro version if possible.

I buld my kernels this way from git directly and the release tarballs from kernel.org and never ever had any issues with the builds.
 
1 members found this post helpful.
Old 10-23-2013, 02:26 AM   #17
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Thanks gradinaruvasile
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
If I can deal with 'kernel panic - not syncing VFS: unable to mount root FS ...' nottotallystupid Ubuntu 3 08-03-2010 03:01 PM
LXer: The Fourth ‘Patent Deal’ was with Europe… and the Sixth Deal That Won’t be LXer Syndicated Linux News 0 10-24-2007 03:40 PM
kernel 2.6 whats the deal demmylls Linux - General 2 09-11-2003 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration