[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#301603: Testing from svn (was Re: Bug#301603: Compile fails linking drivers/scsi/qla2xxx/build.o)



On Thu, Mar 31, 2005 at 09:13:31AM -0600, Ron Johnson wrote:
> Thank you.
> 
> Is there a web page somewhere that would tell me how to pull this
> package out of subversion, in order to test it?

Sure, you can get the kernel-source-2.6.11-2.6.11 tree from svn using
svn co svn://svn.debian.org/svn/kernel/trunk/kernel/source/kernel-source-2.6.11-2.6.11

If you trim the path back to trunk/ you will get all the stuff
maintained by the kernel-tree. 

Note that this does not include the kernel source itself, 
just the debian packaging and patches. Here is a quick guide I jsut
wrote to building the tree.

-- 
Horms

# Prebuilt images for testing
#
# I am working on getting prebuilt images available on 
# http://debian.vergenet.net/testing/
# They will be ideitifiable as the following will be
# appended to the debian version hls.YYYYMMDD
# e.g. kernel-source-2.6.11_2.6.11-1.hls.20050331

# Building 2.6.11 Images

rm -r k
mkdir -p k/{source,svn,i386}
cd k

( cd source && apt-get source kernel-source-2.6.11; )
( cd svn && svn co svn://svn.debian.org/svn/kernel/trunk/kernel/source/kernel-source-2.6.11-2.6.11 ; )
rsync --exclude .svn -av svn/kernel-source-2.6.11-2.6.11/ \
	source/kernel-source-2.6.11-2.6.11/

# Now you can build the package
( cd source/kernel-source-2.6.11-2.6.11/ ; dpkg-buildpackage -us -uc -rfakeroot; )

#The resulting packages will be in source/ which you can then install
sudo dpkg -i source/kernel-source-2.6.11_2.6.11-2_all.deb

#And use to build a kernel
( cd i386 && tar -jxf /usr/src/kernel-source-2.6.11.tar.bz2; )
# add patches and config kernel
# e.g. 
( cd svn && svn co svn://svn.debian.org/svn/kernel/trunk/kernel/i386/kernel-image-2.6.11-i386-2.6.11 ; )
cp svn/kernel-image-2.6.11-i386-2.6.11/config/686 \
	i386/kernel-source-2.6.11/.config
#or cp /usr/src/headers-2.6.11-2-686/.config .
cd i386/kernel-source-2.6.11
make oldconfig
make-kpkg clean
fakeroot make-kpkg --initrd --revision=mykernel.1.0 kernel_image



Reply to: