Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29990 - [udev] add_runscript: command not found

Attached to Project: Arch Linux
Opened by Eugene (osmiy) - Wednesday, 23 May 2012, 22:40 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 23 May 2012, 23:15 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Dependences are wrong.
"core/udev 182-4" do not working with "core/mkinitcpio 0.8.8-1"
The function "add_runscript" is not present yet in the "/usr/lib/initcpio/functions"
Upgrade was without any problems (24.05.2012).
Looks like too early added package with wrong dependences.

Additional info:
$ pacman -Qs udev; pacman -Qs mkinitcpio
local/udev 182-4 (base)
The userspace dev tools (udev)
local/hwdetect 2012.04-2
Hardware detection script with loading modules and mkinitcpio.conf / rc.conf support
local/mkinitcpio 0.8.8-1
Modular initramfs image creation utility
local/mkinitcpio-busybox 1.19.4-2
base initramfs tools

$ grep -R add_runscript /usr/lib/initcpio/
/usr/lib/initcpio/install/udev: add_runscript

Steps to reproduce:
sudo mkinitcpio -p linux
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.3.7-1-ARCH
-> Parsing hook: [base]
-> Parsing hook: [udev]
/usr/lib/initcpio/install/udev: line 15: add_runscript: command not found
-> Parsing hook: [autodetect]
-> Parsing hook: [scsi]
-> Parsing hook: [filesystems]
-> Parsing hook: [fsck]
-> Parsing hook: [shutdown]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.3.7-1-ARCH
-> Parsing hook: [base]
-> Parsing hook: [udev]
/usr/lib/initcpio/install/udev: line 15: add_runscript: command not found
-> Parsing hook: [scsi]
-> Parsing hook: [filesystems]
-> Parsing hook: [fsck]
-> Parsing hook: [shutdown]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
This task depends upon

Closed by  Dave Reisner (falconindy)
Wednesday, 23 May 2012, 23:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  mkinitcpio 0.9.0 moved to core
Comment by Dave Reisner (falconindy) - Wednesday, 23 May 2012, 23:11 GMT
Cherry picking updates from testing is not supported.

edit: crap "someone" moved udev too soon.
Comment by Tom Gundersen (tomegun) - Wednesday, 23 May 2012, 23:13 GMT
Mea maxima culpa.

Loading...