Bug#301603: Testing from svn (was Re: Bug#301603: Compile fails linking drivers/scsi/qla2xxx/build.o)
- To: Ron Johnson <ron.l.johnson@cox.net>
- Cc: 301603@bugs.debian.org
- Subject: Bug#301603: Testing from svn (was Re: Bug#301603: Compile fails linking drivers/scsi/qla2xxx/build.o)
- From: Horms <horms@debian.org>
- Date: Fri, 1 Apr 2005 16:32:37 +0900
- Message-id: <[🔎] 20050401073236.GA12784@verge.net.au>
- Reply-to: Horms <horms@debian.org>, 301603@bugs.debian.org
- In-reply-to: <1112282011.26762.2.camel@haggis.homelan>
- References: <20050330140330.5208D59D@haven.onefishtwofishredfishbluefish.org> <20050329211019.JRIO3789.lakermmtao05.cox.net@haggis.homelan> <424902B5.90600@email.it> <E1DFNR0-0002pu-EB@tengwar> <20050331074711.GA31965@verge.net.au> <1112282011.26762.2.camel@haggis.homelan>
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: