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

Bug#425630: initramfs-tools: typo in init-premount/ps3



Package: initramfs-tools
Version: 0.87b
Severity: minor
Tags: patch

Every time I boot this powerpc laptop I got a series of error 
messages during the initramfs phase. It seems there's a wrong
test in /usr/share/initramfs-tools/scripts/init-premount/ps3

I'm not sure if it's supposed to be != or =, but I'm pretty 
sure it shouldn't be =!

It's only a cosmetic problem for powerpc users, maybe it causes 
real problems for ps3 users though.

Thank you,

Mourad DC

--- ps3.orig    2007-04-16 21:59:58.000000000 +0200
+++ ps3 2007-05-22 23:44:27.000000000 +0200
@@ -18,7 +18,7 @@
 case "$DPKG_ARCH" in
 powerpc|ppc64)
        while read line; do
-               if [ "${line}" =! "${line#machine*PS3PF}" ]; then 
+               if [ "${line}" != "${line#machine*PS3PF}" ]; then 
                        # For PS3's we know these devices will exist,
                        # and that we'll need them
                        modprobe ps3_storage


-- Package-specific info:
-- /proc/cmdline
root=/dev/hda6 ro quiet 

-- /proc/filesystems
	cramfs
	ext3
	hfsplus

-- lsmod
Module                  Size  Used by
arc4                    2048  1 
ieee80211_crypt_wep     6368  1 
nls_utf8                2272  1 
hfsplus                88164  1 
radeon                129448  2 
drm                    80600  3 radeon
binfmt_misc            13384  1 
ipv6                  288076  10 
lp                     13612  0 
parport                43312  1 lp
fuse                   50804  1 
dm_snapshot            19836  0 
dm_mirror              23508  0 
dm_mod                 65136  2 dm_snapshot,dm_mirror
cpufreq_userspace       4788  0 
tun                    13088  0 
snd_powermac           48188  2 
therm_adt746x          13868  0 
apm_emu                 7884  1 
snd_aoa_i2sbus         24228  0 
snd_pcm_oss            52032  0 
snd_mixer_oss          20704  1 snd_pcm_oss
snd_pcm                91396  4 snd_powermac,snd_aoa_i2sbus,snd_pcm_oss
snd_timer              26500  2 snd_pcm
snd_page_alloc         11304  1 snd_pcm
snd                    65908  8 snd_powermac,snd_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              11204  1 snd
snd_aoa_soundbus        8004  1 snd_aoa_i2sbus
bcm43xx               437620  0 
firmware_class         11744  1 bcm43xx
ieee80211softmac       31424  1 bcm43xx
eth1394                21508  0 
uninorth_agp           10888  1 
agpgart                37212  2 drm,uninorth_agp
ieee80211              34184  2 bcm43xx,ieee80211softmac
ieee80211_crypt         6816  2 ieee80211_crypt_wep,ieee80211
tsdev                   9120  0 
evdev                  12352  12 
ext3                  155080  1 
jbd                    69544  1 ext3
mbcache                 9668  1 ext3
usbhid                 58756  0 
ide_cd                 47460  0 
cdrom                  43516  1 ide_cd
sungem                 34916  0 
sungem_phy             10528  1 sungem
ohci1394               40528  0 
ieee1394              426800  2 eth1394,ohci1394
ide_disk               18976  4 
ehci_hcd               35208  0 
ohci_hcd               23108  0 
usbcore               146752  4 usbhid,ehci_hcd,ohci_hcd
i2c_powermac            6048  0 

-- /etc/kernel-img.conf
# Do not create symbolic links in /
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.18-4-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  busybox                      1:1.1.3-4   Tiny utilities for small and embed
ii  cpio                         2.7-2       GNU cpio -- a program to manage ar
ii  klibc-utils                  1.5-2       small statically-linked utilities 
ii  module-init-tools            3.3-pre11-1 tools for managing Linux kernel mo
ii  udev                         0.105-4     /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information



Reply to: