On Mon, 14 May 2012 at 09:39 GMT, Dave Young <dyoung@xxxxxxxxxx> wrote: > On 05/14/2012 02:10 PM, Cong Wang wrote: > >>> Yeah... >>> >>> % sudo dracut --add-drivers "no-such-module" -I "/no/such/file" -f test.img >>> E: ssh interactive mode need option --ctty! >>> F: Failed to install /no/such/file >>> % echo $? >>> 1 >>> >>> Maybe the following untested patch could fix this?? > > > Hi, what version of dracut did you use? master branch '-I no/such/file' > will not fail... Seems there it is changed to 'dracut -o' in some commit. > > Also `./dracut.sh -l --add-drivers "no-such-module" -f test.img` return > 0 during my test. > Yeah, I used an old version of dracut, the following commit changed that without a reason: commit c6c6a08850c7e4ee211696895f7ca3864be85052 Author: Harald Hoyer <harald@xxxxxxxxxx> Date: Tue Feb 7 18:26:30 2012 +0100 add "install_items" to dracut.conf I will send a patch to fix this too. Thanks! -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html