/[sysadmin-cookbook]/recepies/systemtap/1.kernel-build
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /recepies/systemtap/1.kernel-build

Parent Directory Parent Directory | Revision Log Revision Log


Revision 159 - (show annotations)
Wed Feb 17 14:13:55 2010 UTC (14 years, 2 months ago) by dpavlin
File size: 384 byte(s)
rebuild Debian kernel to support systemtap

1 r=`uname -r | cut -d\- -f1`
2 cd /usr/src
3 test -d linux-source-$r || tar xjf linux-source-$r.tar.bz2
4 cd linux-source-$r
5 cat /boot/config-`uname -r` | sed \
6 -e 's/^# CONFIG_DEBUG_INFO.*/CONFIG_DEBUG_INFO=y/' \
7 -e 's/^# CONFIG_KPROBES.*/CONFIG_KPROBES=y/' \
8 > .config
9 make oldconfig
10 fakeroot make-kpkg --initrd --append-to-version=-systemtap kernel_image kernel_headers kernel_debug

  ViewVC Help
Powered by ViewVC 1.1.26