SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
Compiling Kernels
 The Debian Way
         Jonathan Oxer
    LinuxTag 2004, Karlsruhe
Let's Cheat: Starting At The End

   I could waste hours of your time with history and theory,
   but let's pretend we're all working from the Teachers'
   Edition and jump straight to the answer:

   # make-kpkg kernel_image




Compiling Kernels The Debian Way                     Jonathan Oxer
Getting The Source

   ●
       Get pristine source from kernel.org

        OR

   ●
       Use a Debian kernel source package:
        # apt-cache search kernel-source
        # apt-get install kernel-source-2.4.23
        # cd /usr/src
        # tar -jxf kernel-source-2.4.23.tar.bz2
        # ln -s kernel-source-2.4.23 linux
        # cd /usr/src/linux




Compiling Kernels The Debian Way                  Jonathan Oxer
Compiling kernels the Debian way
Compiling kernels the Debian way
Compiling kernels the Debian way
Compiling kernels the Debian way
Compiling kernels the Debian way
Compiling kernels the Debian way
Compiling kernels the Debian way
Compiling kernels the Debian way
Compiling kernels the Debian way
Compiling kernels the Debian way
Compiling kernels the Debian way

Contenu connexe

Tendances

Open erp on ubuntu
Open erp on ubuntuOpen erp on ubuntu
Open erp on ubuntu
Iker Coranti
 
How to configure multiple PostgreSQL-9
How to configure multiple PostgreSQL-9How to configure multiple PostgreSQL-9
How to configure multiple PostgreSQL-9
Vivek Singh
 

Tendances (20)

Hadoop on ec2
Hadoop on ec2Hadoop on ec2
Hadoop on ec2
 
Open erp on ubuntu
Open erp on ubuntuOpen erp on ubuntu
Open erp on ubuntu
 
How to configure multiple PostgreSQL-9
How to configure multiple PostgreSQL-9How to configure multiple PostgreSQL-9
How to configure multiple PostgreSQL-9
 
Python setup
Python setupPython setup
Python setup
 
AWS 기반 Docker, Kubernetes
AWS 기반 Docker, KubernetesAWS 기반 Docker, Kubernetes
AWS 기반 Docker, Kubernetes
 
testing-nfs
testing-nfstesting-nfs
testing-nfs
 
Fun with containers: Use Ansible to build Docker images
Fun with containers: Use Ansible to build Docker imagesFun with containers: Use Ansible to build Docker images
Fun with containers: Use Ansible to build Docker images
 
Docker puppetcamp london 2013
Docker puppetcamp london 2013Docker puppetcamp london 2013
Docker puppetcamp london 2013
 
Linux server backup solution
Linux server backup solutionLinux server backup solution
Linux server backup solution
 
What Have Syscalls Done for you Lately?
What Have Syscalls Done for you Lately?What Have Syscalls Done for you Lately?
What Have Syscalls Done for you Lately?
 
Introduction to Sumatra
Introduction to SumatraIntroduction to Sumatra
Introduction to Sumatra
 
Object Storage with Gluster
Object Storage with GlusterObject Storage with Gluster
Object Storage with Gluster
 
Long Tail Treasure Trove
Long Tail Treasure TroveLong Tail Treasure Trove
Long Tail Treasure Trove
 
Packet Walk(s) In Kubernetes
Packet Walk(s) In KubernetesPacket Walk(s) In Kubernetes
Packet Walk(s) In Kubernetes
 
Red Hat Certified Engineer (RHCE) EX294 Exam Questions
Red Hat Certified Engineer (RHCE) EX294 Exam QuestionsRed Hat Certified Engineer (RHCE) EX294 Exam Questions
Red Hat Certified Engineer (RHCE) EX294 Exam Questions
 
Nagios Conference 2014 - Mike Weber - Expanding NRDS Capabilities on Linux Sy...
Nagios Conference 2014 - Mike Weber - Expanding NRDS Capabilities on Linux Sy...Nagios Conference 2014 - Mike Weber - Expanding NRDS Capabilities on Linux Sy...
Nagios Conference 2014 - Mike Weber - Expanding NRDS Capabilities on Linux Sy...
 
Techfest 2013 No RESTKit for the Weary
Techfest 2013 No RESTKit for the WearyTechfest 2013 No RESTKit for the Weary
Techfest 2013 No RESTKit for the Weary
 
Weird things we've seen with OpenStack Neutron
Weird things we've seen with OpenStack NeutronWeird things we've seen with OpenStack Neutron
Weird things we've seen with OpenStack Neutron
 
Build, Ship, and Run Any App, Anywhere using Docker
Build, Ship, and Run Any App, Anywhere using Docker Build, Ship, and Run Any App, Anywhere using Docker
Build, Ship, and Run Any App, Anywhere using Docker
 
Build your own private openstack cloud
Build your own private openstack cloudBuild your own private openstack cloud
Build your own private openstack cloud
 

En vedette

[Ideal Dicas]06 02 2008 O Quadro Pat
[Ideal Dicas]06 02 2008 O Quadro Pat[Ideal Dicas]06 02 2008 O Quadro Pat
[Ideal Dicas]06 02 2008 O Quadro Pat
cab3032
 
Lo que necesita una mujer
Lo que necesita una mujerLo que necesita una mujer
Lo que necesita una mujer
pazpormexico
 
Insel10ebrup Ppt Ch11
Insel10ebrup Ppt Ch11Insel10ebrup Ppt Ch11
Insel10ebrup Ppt Ch11
lnguyen
 
Los Reyes Logistica
Los Reyes LogisticaLos Reyes Logistica
Los Reyes Logistica
semara
 
1 Autoestima Das Mulheres
1 Autoestima Das Mulheres1 Autoestima Das Mulheres
1 Autoestima Das Mulheres
cab3032
 
Algo De Bom17 6 L
Algo De Bom17 6 LAlgo De Bom17 6 L
Algo De Bom17 6 L
cab3032
 

En vedette (20)

Killa App
Killa AppKilla App
Killa App
 
Manual De Power Point 2007
Manual De Power Point 2007Manual De Power Point 2007
Manual De Power Point 2007
 
香港六合彩:六合彩
香港六合彩:六合彩香港六合彩:六合彩
香港六合彩:六合彩
 
[Ideal Dicas]06 02 2008 O Quadro Pat
[Ideal Dicas]06 02 2008 O Quadro Pat[Ideal Dicas]06 02 2008 O Quadro Pat
[Ideal Dicas]06 02 2008 O Quadro Pat
 
Lo que necesita una mujer
Lo que necesita una mujerLo que necesita una mujer
Lo que necesita una mujer
 
Insel10ebrup Ppt Ch11
Insel10ebrup Ppt Ch11Insel10ebrup Ppt Ch11
Insel10ebrup Ppt Ch11
 
Flickr And Libraries
Flickr And LibrariesFlickr And Libraries
Flickr And Libraries
 
Dentaly
DentalyDentaly
Dentaly
 
六合彩
六合彩六合彩
六合彩
 
Italmark
ItalmarkItalmark
Italmark
 
Hay hombres
Hay hombresHay hombres
Hay hombres
 
Diaporama PréNoms
Diaporama PréNomsDiaporama PréNoms
Diaporama PréNoms
 
Los Reyes Logistica
Los Reyes LogisticaLos Reyes Logistica
Los Reyes Logistica
 
香港六合彩表情
香港六合彩表情香港六合彩表情
香港六合彩表情
 
1 Autoestima Das Mulheres
1 Autoestima Das Mulheres1 Autoestima Das Mulheres
1 Autoestima Das Mulheres
 
香港六合彩到手
香港六合彩到手香港六合彩到手
香港六合彩到手
 
Parabolalapiz
ParabolalapizParabolalapiz
Parabolalapiz
 
Edu Lab 3
Edu Lab 3Edu Lab 3
Edu Lab 3
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
 
Algo De Bom17 6 L
Algo De Bom17 6 LAlgo De Bom17 6 L
Algo De Bom17 6 L
 

Similaire à Compiling kernels the Debian way

Kernel init
Kernel initKernel init
Kernel init
gowell
 
Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012
Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012
Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012
Henri Gomez
 

Similaire à Compiling kernels the Debian way (20)

Compiling linux kernel and submit first patch
Compiling linux kernel and submit first patchCompiling linux kernel and submit first patch
Compiling linux kernel and submit first patch
 
Linux Kernel Debugging Essentials workshop
Linux Kernel Debugging Essentials workshopLinux Kernel Debugging Essentials workshop
Linux Kernel Debugging Essentials workshop
 
Kernel init
Kernel initKernel init
Kernel init
 
Dockerの準備
Dockerの準備Dockerの準備
Dockerの準備
 
Continuous Kernel Integration
Continuous Kernel IntegrationContinuous Kernel Integration
Continuous Kernel Integration
 
Linux Kernel - Let's Contribute!
Linux Kernel - Let's Contribute!Linux Kernel - Let's Contribute!
Linux Kernel - Let's Contribute!
 
Browsing The Source Code of Linux Packages
Browsing The Source Code of Linux PackagesBrowsing The Source Code of Linux Packages
Browsing The Source Code of Linux Packages
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
 
Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012
Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012
Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012
 
Embedded Linux Odp
Embedded Linux OdpEmbedded Linux Odp
Embedded Linux Odp
 
Yocto Project Kernel Lab hands-on
Yocto Project Kernel Lab hands-onYocto Project Kernel Lab hands-on
Yocto Project Kernel Lab hands-on
 
Dev ops night i the new infrastructure landscape
Dev ops night i   the new infrastructure landscapeDev ops night i   the new infrastructure landscape
Dev ops night i the new infrastructure landscape
 
LXC
LXCLXC
LXC
 
Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)
 
Recompile
RecompileRecompile
Recompile
 
Kernel compilation
Kernel compilationKernel compilation
Kernel compilation
 
Build your own embedded linux distributions by yocto project
Build your own embedded linux distributions by yocto projectBuild your own embedded linux distributions by yocto project
Build your own embedded linux distributions by yocto project
 
Embedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernelEmbedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernel
 
Yocto Project Kernel Lab, Hands-On
Yocto Project Kernel Lab, Hands-OnYocto Project Kernel Lab, Hands-On
Yocto Project Kernel Lab, Hands-On
 
Lab docker
Lab dockerLab docker
Lab docker
 

Plus de Jonathan Oxer

Plus de Jonathan Oxer (13)

OSDcLang On Mobile Devices
OSDcLang On Mobile DevicesOSDcLang On Mobile Devices
OSDcLang On Mobile Devices
 
Geek My Ride
Geek My RideGeek My Ride
Geek My Ride
 
Debian Package Caching Solutions
Debian Package Caching SolutionsDebian Package Caching Solutions
Debian Package Caching Solutions
 
Software Freedom: Pragmatic Idealism?
Software Freedom: Pragmatic Idealism?Software Freedom: Pragmatic Idealism?
Software Freedom: Pragmatic Idealism?
 
Encrypted password storage
Encrypted password storageEncrypted password storage
Encrypted password storage
 
How to grow your eBusiness and build an online community
How to grow your eBusiness and build an online communityHow to grow your eBusiness and build an online community
How to grow your eBusiness and build an online community
 
Introduction to DNS
Introduction to DNSIntroduction to DNS
Introduction to DNS
 
Self-Healing Databases
Self-Healing DatabasesSelf-Healing Databases
Self-Healing Databases
 
How To Build A Website And Stay Sane
How To Build A Website And Stay SaneHow To Build A Website And Stay Sane
How To Build A Website And Stay Sane
 
Managing Source Code With Subversion
Managing Source Code With SubversionManaging Source Code With Subversion
Managing Source Code With Subversion
 
Large Scale PHP
Large Scale PHPLarge Scale PHP
Large Scale PHP
 
PHP On Steroids
PHP On SteroidsPHP On Steroids
PHP On Steroids
 
PHP Performance Profiling
PHP Performance ProfilingPHP Performance Profiling
PHP Performance Profiling
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Compiling kernels the Debian way

  • 1. Compiling Kernels The Debian Way Jonathan Oxer LinuxTag 2004, Karlsruhe
  • 2. Let's Cheat: Starting At The End I could waste hours of your time with history and theory, but let's pretend we're all working from the Teachers' Edition and jump straight to the answer: # make-kpkg kernel_image Compiling Kernels The Debian Way Jonathan Oxer
  • 3. Getting The Source ● Get pristine source from kernel.org OR ● Use a Debian kernel source package: # apt-cache search kernel-source # apt-get install kernel-source-2.4.23 # cd /usr/src # tar -jxf kernel-source-2.4.23.tar.bz2 # ln -s kernel-source-2.4.23 linux # cd /usr/src/linux Compiling Kernels The Debian Way Jonathan Oxer