Skip to content

Commit

Permalink
initial build debian kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
lguohan authored and fairysuri committed Feb 24, 2016
0 parents commit 4360dd9
Show file tree
Hide file tree
Showing 2 changed files with 6,847 additions and 0 deletions.
25 changes: 25 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

# Obtaining the Debian kernel source
apt-get source linux=3.16.7-ckt11-1+deb8u3

cd linux-*
# patch debian changelog and update kernel package version
patch -p0 < ../patch/changelog.patch

# re-generate debian/rules.gen
debian/bin/gencontrol.py

# generate linux build file for amd64_none_amd64
fakeroot make -f debian/rules.gen setup_amd64_none_amd64

# Applying patches and configuration changes
git init
git add .
git add debian/build/build_amd64_none_amd64/.config -f
git commit -m "unmodified debian source"
stg init
stg import -s ../patch/series

# Building a custom kernel from Debian kernel source
fakeroot make -f debian/rules.gen binary-arch_amd64_none_amd64
Loading

0 comments on commit 4360dd9

Please sign in to comment.