@related: p Kernel Source linux-image AmiloA DSDT RT Debian Linux make-kpkg kpkg make

TODO

[[Kernel]] [[Debian]] Patch

sudo apt-get install  kernel-patch-debianlogo
make-kpkg --added-patches ... kernel-image

[[AmiloA]] patch : [[DSDT]] [[RT]]

@tag AmiloA patch : DSDT RT

export KVERS=$(lynx -dump  http://kernel.org | grep .tar.bz2 | head -n 1 |  sed -e 's|.*linux-\(.*\).tar.bz2|\1|g')
echo ${KVERS}
export KVERS3=2.6.22
export KVERS=${KVERS3}.1
rt_url=http://people.redhat.com/mingo/realtime-preempt/patch-2.6.22.1-rt9
dsdt_url=http://gaugusch.at/acpi-dsdt-initrd-patches/acpi-dsdt-initrd-v0.8.4-${KVERS3}.patch
dsdt_url=http://gaugusch.at/acpi-dsdt-initrd-patches/acpi-dsdt-initrd-v0.8.4-2.6.21.patch
sudo apt-get install linux-source-$KVERS3
cd /usr/local/src || exit
tar xfj /usr/src/linux-source-$KVERS3.tar.bz2 
cd linux-source-$KVERS3 || exit
grep VERS Makefile
wget $rt_url -O - | patch -p1 -b  # [[RT]]
wget $dsdt_url -O - | patch -p1 -b  # [[DSDT]]
zcat /proc/config.gz  > .config
make oldconfig

2.6.20

export KVERS=2.6.20
sudo apt-get install linux-source-$KVERS
tar xfj /usr/src/linux-source-$KVERS.tar.bz2 
cd linux-source-$KVERS || exit
grep VERS Makefile
#
url=http://people.redhat.com/mingo/realtime-preempt/older/patch-2.6.20-rt8
wget $url   -O - | patch -p1 -b  # [[RT]]
#
url=http://gaugusch.at/acpi-dsdt-initrd-patches/acpi-dsdt-initrd-v0.8.3-2.6.20.patch 
wget $url   -O - | patch -p1 -b  # [[DSDT]]
#
zcat /proc/config.gz  > .config
make oldconfig
patch.txt · Last modified: 2022/04/16 12:23 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki