Package: bootsplash Version: 3.3-2 Severity: normal Tags: patch
I've got this error during upgrade of initramfs-tools -_-_- Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.24-1-686 /usr/share/initramfs-tools/hooks/bootsplash: 51: splash: not found _-_-_ The script sets the variable SPLASH_BIN on line #18 SPLASH_BIN=/usr/sbin/splash and on line #51 it calls 'splash' directly: splash -s -f $SPLASH_FILE > $DESTDIR/bootsplash for some reason (I don't know if this is pathologic or not) /usr/sbin does not apear to be in the path the shell executing the script is in, so the command fails My root PATH is /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin instead of calling 'path' i think the script should call $SPLASH_BIN and therefore /usr/sbin/splash which would prevent (my) PATH issue and the call of an unwanted alternative splash elsewhere in the path Here's my modest patch: 51c51 < splash -s -f $SPLASH_FILE > $DESTDIR/bootsplash --- > $SPLASH_BIN -s -f $SPLASH_FILE > $DESTDIR/bootsplash -- System Information: Debian Release: lenny/sid APT prefers proposed-updates APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/dash Versions of packages bootsplash depends on: ii bootsplash-theme-debia 0.5-7.1 The bootsplash theme debian ii cdebconf [debconf-2.0] 0.129 Debian Configuration Management Sy ii debconf [debconf-2.0] 1.5.20 Debian configuration management sy ii initramfs-tools 0.92 tools for generating an initramfs ii libc6 2.7-10 GNU C Library: Shared libraries ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib ii libmng1 1.0.9-1 Multiple-image Network Graphics li ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages bootsplash recommends: ii grub 0.97-36 GRand Unified Bootloader (Legacy v -- debconf information: * bootsplash/initramfs: true * bootsplash/bootloader: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]