Package: kernel-package
Version: 10.062
Severity: important
I tracked this down slightly: in handle_missing_link, this if statement:
if (! $no_symlink && $do_symlink =~ /Yes/i)
is not taken, but I think the problem is the same in either branch. In the
else branch, test_relative returns false.
my $Old = $realimageloc;
if (test_relative ('Old Dir' => $Old,
'New Dir' => $image_dest,
'Test File' => "$image_name")) {
$Old =~ s|^/*||o;
} elsif ($relative_links) {
$Old = spath('Old' => "$Old", 'New' => $image_dest);
}
# Special case is they are in the same dir
my $rel_path = spath('Old' => "$Old", 'New' => "$image_dest" );
$Old ="" if $rel_path =~ m/^\s*$/o;
The elsif $relative_links branch is taken, but spath returns "". This
causes a failure the second time spath is called, since !$params{'Old'}.
image_magic: kimage=initrd.img, image_dest=/boot/
image_name=initrd.img-2.6.19-rc1, src_dir=/boot/ at
/var/lib/dpkg/info/linux-image-2.6.19-rc1.postinst line 895.
handle_missing_link: kimage=initrd.img, image_dest=/boot/
image_name=initrd.img-2.6.19-rc1, src_dir=/boot/ at
/var/lib/dpkg/info/linux-image-2.6.19-rc1.postinst line 668.
Test relative: testing /boot/ -> /boot/ at
/var/lib/dpkg/info/linux-image-2.6.19-rc1.postinst line 329.
In the first call to spath both arguments are "/boot/".
Same problem later in really_move_link.
I disabled the second call to spath in both cases and then it installed.
caradoc:/space/linux# cat /etc/kernel-img.conf
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = yes
postinst_hook = update-grub
postrm_hook = update-grub
#ramdisk = /usr/sbin/mkinitrd.yaird
#ramdisk = /usr/sbin/mkinitramfs
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-rc4
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages kernel-package depends on:
ii dpkg 1.13.22 package maintenance system for Deb
ii dpkg-dev 1.13.22 package building tools for Debian
ii file 4.17-4 Determines file type using "magic"
ii gcc [c-compiler] 4:4.1.1-10 The GNU C compiler
ii gcc-3.3 [c-compiler] 1:3.3.6-13 The GNU C compiler
ii gcc-3.4 [c-compiler] 3.4.6-4 The GNU C compiler
ii gcc-4.0 [c-compiler] 4.0.3-7 The GNU C compiler
ii gcc-4.1 [c-compiler] 4.1.1-15 The GNU C compiler
ii gettext 0.15-2 GNU Internationalization utilities
ii make 3.81-3 The GNU version of the "make" util
ii perl 5.8.8-6.1 Larry Wall's Practical Extraction
ii po-debconf 1.0.6 manage translated Debconf template
Versions of packages kernel-package recommends:
ii bzip2 1.0.3-6 high-quality block-sorting file co
ii libc6-dev [libc-dev] 2.3.6.ds1-5 GNU C Library: Development Librari
-- debconf-show failed
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]