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

Bug#375624: initramfs-tools: Typo in panic() in scripts/functions. Fails to set prompt.



Package: initramfs-tools
Version: 0.60
Severity: minor

/usr/share/initramfs-tools/scripts/functions has a panic() function to spawn an emergency or debug shell. It does so with this line

        FS1='(initramfs) ' /bin/sh </dev/console >/dev/console 2>&1

FS1 should be PS1 if you want to set the prompt.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.01-4   Tiny utilities for small and embed
ii  cpio                          2.6-13     GNU cpio -- a program to manage ar
ii  klibc-utils                   1.3.19-2   small statically-linked utilities 
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  udev                          0.093-1    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information



Reply to: