Public bug reported:

when fai-cd tries to build the initrd, mkinitrd-cd fails, because there
are no XML files under /lib/discover on my box (Dapper 6.06.1 i386).

This (admittedly lousy) patch did the trick for me:

--- mkinitrd-cd-original        2006-08-19 23:09:47.000000000 +0200
+++ /usr/sbin/mkinitrd-cd       2006-08-19 23:09:40.000000000 +0200
@@ -226,7 +226,8 @@
 #cp /lib/discover/pci*.xml $tmpstructure/lib/discover
 # hmm, only the above two don't seem to work - need to figure out why
 if [ "$imagesize" != "min" ]; then
-  cp /lib/discover/*.xml $tmpstructure/lib/discover
+  cp /lib/discover/*.xml $tmpstructure/lib/discover || /bin/true
+  cp /lib/discover/*.lst $tmpstructure/lib/discover || /bin/true
 fi
 echo "done"


Regards,

Martin

** Affects: gibraltar-bootcd (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
Fails to run with fai-cd due to missing files in /lib/discover
https://launchpad.net/bugs/56946

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to