On 02/24/2014 10:50 PM, sub_acoustic wrote:
Thanks Atte,
Does that mean that I could download the latest UbuntuStudio distro,
including kernel then apply the zoom_quirks.txt, compile the kernel, install
it and reboot
into it...?
sounds tricky...
Here's the script I use for building kernels, save this into a text file
in ~/bin/kompile, make it executable with "chmod +x ~/bin/kompile", cd
to /usr/src/ where you have your kernel source (make sure you have a
symlink called "linux" to the kernel source "ln -s /usr/src/linux-3.13.5
/usr/src/linux") and that you have write permission to /usr/src (on
debian add yourself to the src group), and run "kompile". Then you
should get a .deb in /usr/src you can install with "sudo dpkg -i".
Hope it helps...
----------------------------------------------------------------
#!/bin/bash
cores=$(getconf _NPROCESSORS_ONLN)
if [ `pwd` != '/usr/src' ]; then
echo This script must be run from /usr/src
exit
fi
if [ ! -d linux ]; then
echo No symlink or directory '"linux"' found
exit
fi
revision=0
cd linux
pushd .
V=`grep -e ^VERSION Makefile | sed -e 's/.*=//g'`
P=`grep -e ^PATCHLEVEL Makefile | sed -e 's/.*=//g'`
S=`grep -e ^SUBLEVEL Makefile | sed -e 's/.*=//g'`
E=`grep -e ^EXTRAVERSION Makefile | sed -e 's/.*=//g'`
version=`echo $V.$P.$S$E | sed 's/ //g'`
branch=`echo $V.$P | sed 's/ //g'`
running=`uname -r`
echo version: $version
echo branch: $branch
echo running: $running
sed -rie 's/echo "\+"/#echo "\+"/' scripts/setlocalversion
make-kpkg clean
fakeroot make-kpkg -j$cores --initrd --revision=$revision kernel_image
---------------------------------------------------------------------
--
Atte
http://atte.dk http://modlys.dk
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user