Upgrade script for libata transition

Ben Hutchings ben at decadent.org.uk
Mon Feb 15 22:51:59 UTC 2010


On Mon, 2010-02-15 at 18:13 +0000, Jurij Smakov wrote:
> On Fri, Feb 12, 2010 at 05:28:04AM +0000, Ben Hutchings wrote:
[...]
> > To build a kernel image package, follow the instructions at:
> > 
> > http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official
> > 
> > Note in particular the instructions beginning 'For example, to build
> > only the binary packages for 686 flavour...'
> 
> That does not quite work, one should replace the command
> 
> fakeroot debian/rules debian/build debian/stamps
> 
> from this doc with
> 
> fakeroot debian/rules setup
> 
> for the current linux-2.6 packages.

The examples are wrong but the instructions are right!

'debian/rules source' is sufficient so I'm going to recommend that.  I
have fixed this in svn and will update the web site some time soon.

> > The kernel image packages will depend on the linux-base package which
> > contains the transition script.  To build that, run:
> > 
> > $ fakeroot make -f debian/rules.real install-linux-base
> > 
> > Please test both the transition script and the new drivers so far as you
> > can (most are x86-only but some are available for all architectures with
> > PCI).  I suggest starting with an emulated/virtualised system before you
> > risk breaking anything real!
> 
> For me the installation of linux-base (on sparc) just hangs while 
> configuring the package. It appears that it loops forever in the 
> lilo_list function, presumably after hitting the token corresponding 
> to 'image=/vmlinuz' line in /etc/silo.conf, as the following code 
> snippet fails to increment the counter used to loop through the 
> tokens: 
> 
>                if ($name eq 'image') {
>                     $in_generic = ($value =~ m|^/vmlinuz(?:\.old)?$|);
>                     next;
>                }

Oops, I'm sure I had that working at one point.  Please try
<http://people.debian.org/~benh/linux-2.6_2.6.32-8a~test1.dsc>.

Ben.

-- 
Ben Hutchings
Humour is the best antidote to reality.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100215/d1ed1c0e/attachment.pgp>


More information about the Pkg-grub-devel mailing list