FS#13049 - archiso-early initcpio hook errors

Attached to Project: Release Engineering
Opened by Dieter Plaetinck (Dieter_be) - Friday, 30 January 2009, 15:46 GMT
Last edited by Dan McGee (toofishes) - Saturday, 31 January 2009, 23:30 GMT
Task Type Bug Report
Category ArchISO
Status Closed
Assigned To Aaron Griffin (phrakture)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version 2009.01-beta
Due in Version 2009.02
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When booting archlinux-2009.01-beta3-core-i686-isolinux.iso, when the initramfs loads and archiso-early is executed, I get this:

/init: 9: cannot create /: Is a directory
/init: 9: /etc/modprobe.d/usb-delay: not found
This task depends upon

Closed by  Dan McGee (toofishes)
Saturday, 31 January 2009, 23:30 GMT
Reason for closing:  Fixed
Comment by Aaron Griffin (phrakture) - Friday, 30 January 2009, 16:40 GMT
So we broke this...
http://projects.archlinux.org/?p=archiso.git;a=commitdiff;h=8a37489379914910a140c313ca50a5e502f9f92e

I have no idea why that balks, it looks totally sane to me and the same thing works manually.
Comment by Aaron Griffin (phrakture) - Friday, 30 January 2009, 16:43 GMT
LOL. Is that the wrong slash? haha

Still, why do the mkdir part fail? How about this?
Comment by Thomas Bächler (brain0) - Friday, 30 January 2009, 17:07 GMT
Haha, probably klibc's mkdir that fails, plus your slash (did you mean backslash?). Last one looks better.
Comment by Aaron Griffin (phrakture) - Friday, 30 January 2009, 17:21 GMT
it's weird though, a manual "mkdir -p /foo" works fine for me. No "/ already exists" messages.
Comment by Devin Cofer (Ranguvar) - Friday, 30 January 2009, 17:32 GMT
LOL, I see... the problem isn't in the mkdir -p...

- echo "options usb-storage delay_use=${usbdelay:-0}" >/
- /etc/modprobe.d/usb-delay

At the very end of the first line, that should be a \ not a /.
Comment by Dieter Plaetinck (Dieter_be) - Friday, 30 January 2009, 17:36 GMT
nice work sherlock! :)
Comment by Aaron Griffin (phrakture) - Friday, 30 January 2009, 17:40 GMT
Ah so both errors are because of that line - I thought the first error was from mkdir. Whoops
Comment by Aaron Griffin (phrakture) - Friday, 30 January 2009, 17:40 GMT
The above fix is in the x86_64 ISOs, because I can upload those faster (slicehost, not a local machine)
Comment by Thomas Bächler (brain0) - Friday, 30 January 2009, 18:20 GMT
Works here.

Loading...