Comment 51 for bug 1745646

Revision history for this message
Gopal (s10gopal) wrote :

sudo apt-get install git build-essential kernel-package fakeroot libncurses5-dev libssl-dev ccache

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux

git checkout v4.12
git bisect start
git bisect good v4.12
git bisect bad v4.13-rc1
 Bisecting: 6041 revisions left to test after this (roughly 13 steps)
 [e5f76a2e0e84ca2a215ecbf6feae88780d055c56] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
git bisect bad

 Bisecting: 2965 revisions left to test after this (roughly 12 steps)
 [1849f800fba32cd5a0b647f824f11426b85310d8] Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc

git bisect bad
 [cbcd4f08aa637b74f575268770da86a00fabde6d] Merge tag 'staging-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
git bisect good
 Bisecting: 604 revisions left to test after this (roughly 9 steps)
 [408c9861c6979db974455b9e7a9bcadd60e0934c] Merge tag 'pm-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
git bisect bad
 Bisecting: 292 revisions left to test after this (roughly 8 steps)
 [650fc870a2ef35b83397eebd35b8c8df211bff78] Merge tag 'docs-4.13' of git://git.lwn.net/linux
git bisect good
 Bisecting: 146 revisions left to test after this (roughly 7 steps)
 [d62eb5edf6643ede7e48b4d03ba972c0e8949acc] Merge tag 'regulator-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
git bisect good
 Bisecting: 66 revisions left to test after this (roughly 6 steps)
 [8f8e5c3e2796eaf150d6262115af12707c2616dd] Merge branch 'acpi-pm'

cp /boot/config-`uname -r` .config
make oldconfig -> pressed enter few times
make clean
scripts/config --disable DEBUG_INFO
scripts/config --disable CC_STACKPROTECTOR_STRONG
make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=-custom

// 4:02PM build started
// 445 finished.

file generated
cd ..

installed there two files linux-headers-4.12.0-rc7-custom_4.12.0-rc7-custom-1_amd64.deb
    linux-image-4.12.0-rc7-custom_4.12.0-rc7-custom-1_amd64.deb