<commit_before>Base image: Ubuntu 11.04 Cloud Image (Linux 2.6.38)

Get dependency:
sudo apt-get build-dep linux-image-$(uname -r)
sudo apt-get install libncurses5-dev libncurses5 fakeroot build-essential kernel-package

Get source:
sudo apt-get source linux-image-$(uname -r)

Patch:
patch -p1 < [path-to-web10g-dir]/web10g-[version-name].patch

Change netlink
add NETLINK_HONE 30 to include/linux/netlink.h

Edit config:
make mrproper
make menuconfig

Compile:
make-kpkg clean
make-kpkg --initrd --append-to-version=-hone-ec2 kernel-image kernel-headers


<commit_msg>update kernel patch notes<commit_after>Base image: Ubuntu 11.04 Cloud Image (Linux 2.6.38)

Get dependency:
sudo apt-get build-dep linux-image-$(uname -r)
sudo apt-get install libncurses5-dev libncurses5 fakeroot build-essential kernel-package

Get source:
sudo apt-get source linux-image-$(uname -r)

Patch:
patch -p1 < [path-to-web10g-dir]/web10g-[version-name].patch

Change netlink
add NETLINK_HONE 30 to include/linux/netlink.h

Change version number:
edit debian/changelog and debian.master/changelog

Edit config:
chmod a+x debian/scripts/*
chmod a+x debian/scripts/misc/*
fakeroot debian/rules clean
fakeroot debian/rules editconfigs

Compile:
fakeroot debian/rules clean
fakeroot debian/rules binary-headers binary-generic
{'fraction_non_alphanumeric': 0.09992313604919292, 'fraction_numerical': 0.026902382782475018, 'mean_word_length': 4.786666666666667, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3210060', 'n_tokens_mistral': 496, 'n_tokens_neox': 442, 'n_words': 128}