FS#11929 - mkinitcpio should depend on grep
Attached to Project:
Arch Linux
Opened by Val L. (onestep_ua) - Wednesday, 29 October 2008, 13:38 GMT
Last edited by Aaron Griffin (phrakture) - Sunday, 23 November 2008, 06:44 GMT
Opened by Val L. (onestep_ua) - Wednesday, 29 October 2008, 13:38 GMT
Last edited by Aaron Griffin (phrakture) - Sunday, 23 November 2008, 06:44 GMT
|
Details
Description:
mkinitcpio uses grep internally, but does not depend on it. This can cause problems in some cases (see log below for my case :)). Additional info: * package version: mkinitcpio-0.5.19-1 * config and/or log files etc: >>> Generating initial ramdisk, using mkinitcpio. Please wait... ==> Building image "default" ==> Running command: /sbin/mkinitcpio -k 2.6.25-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img :: Begin build /sbin/mkinitcpio: line 229: grep: command not found FATAL: Hook 'base' can not be found. ==> FAIL Steps to reproduce: Try to install kernel26 to the partition where grep isn't installed, using pacman -U -r /path/to/mounted/partinion. |
This task depends upon
==> Running command: /sbin/mkinitcpio -k 2.6.25-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
/lib/initcpio/install/base: line 4: find: command not found
:: Parsing hook [udev]
ERROR: file '/etc/udev/udev.conf' does not exist
:: Parsing hook [autodetect]
/lib/initcpio/functions: line 4: find: command not found
/lib/initcpio/functions: line 6: sed: command not found
/lib/initcpio/install/autodetect: line 15: find: command not found
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
/sbin/mkinitcpio: line 274: gzip: command not found
:: Generating image '/boot/kernel26.img'...FAILED
==> FAIL