Bug 438568 - mkinitrd package is missing a dependency on diffutils (or possibly on /usr/bin/cmp)
Summary: mkinitrd package is missing a dependency on diffutils (or possibly on /usr/bi...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-22 02:26 UTC by Bill Crawford
Modified: 2008-04-12 09:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-12 09:54:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bill Crawford 2008-03-22 02:26:09 UTC
Description of problem:
bash-3.2# mkinitrd -f /boot/initrd-2.6.25-0.121.rc5.git4.fc9.img 
2.6.25-0.121.rc5.git4.fc9
/sbin/mkinitrd: line 481: cmp: command not found

Version-Release number of selected component (if applicable):


How reproducible:
Manually install minimum dependencies required for "kernel and initscripts" 
onto a new partition using rpm --root. Then chroot into it and try to run 
mkinitrd.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Peter Jones 2008-04-07 15:00:41 UTC
Will be fixed in 6.0.43, thanks.

Comment 2 Bill Crawford 2008-04-12 09:54:35 UTC
Verified, thanks. Is RAWHIDE the correct resolution here?

[root@pikachu Packages]# rpm --root /mnt/rawhide --verbose --hash --upgrade
mkinitrd-6.0.43-1.fc9.i386.rpm nash-6.0.43-1.fc9.i386.rpm 
error: Failed dependencies:
        diffutils is needed by mkinitrd-6.0.43-1.fc9.i386
[root@pikachu Packages]# rpm --root /mnt/rawhide --verbose --hash --upgrade
mkinitrd-6.0.43-1.fc9.i386.rpm nash-6.0.43-1.fc9.i386.rpm
diffutils-2.8.1-21.fc9.i386.rpm 
Preparing...                ########################################### [100%]
   1:diffutils              ########################################### [ 33%]
   2:nash                   ########################################### [ 67%]
   3:mkinitrd               ########################################### [100%]
[root@pikachu Packages]# chroot /mnt/rawhide
bash-3.2# ls /boot
config-2.6.25-0.121.rc5.git4.fc9      System.map-2.6.25-0.121.rc5.git4.fc9
grub                                  vmlinuz
initrd-2.6.25-0.121.rc5.git4.fc9.img  vmlinuz-2.6.25-0.121.rc5.git4.fc9
initrd.img
bash-3.2# mkinitrd -f /boot/initrd-2.6.25-0.121.rc5.git4.fc9.img
2.6.25-0.121.rc5.git4.fc9
error opening /sys/block/*/: No such file or directory
bash-3.2# mount -t sysfs sysfs /sys
bash-3.2# mkinitrd -f /boot/initrd-2.6.25-0.121.rc5.git4.fc9.img
2.6.25-0.121.rc5.git4.fc9
bash-3.2# 


Note You need to log in before you can comment on or make changes to this bug.