Red Hat Bugzilla – Bug 750603
dracut --install isn't copying script to the target
Last modified: 2011-11-02 14:19:19 EDT
lorax uses dracut --install to include a script to copy kickstarts over to sysroot. This seems to have been broken in 013-16, if I copy over dracut & dracut-functions to my test system from -15 it installs the script when I run:
/sbin/dracut --debug --include /tmp/bcl-hook.sh /lib/dracut/hooks/pre-pivot/ -f /tmp/initramfs-3.1.0-5.fc16.x86_64.img 3.1.0-5.fc16.x86_64 2> dracut.log
/tmp/bcl-hook.sh is a simple shell script with 0755 set on it.
Created attachment 531170 [details]
Trimmed down log of it not installing the script
Created attachment 531182 [details]
Trimmed down log of it installing the script working
The main difference seems to start at the point where inst_script calls inst_simple -- in the broken case it is calling inst_binary
Created attachment 531185 [details]
Patch to fix --install of scripts
dracut-013-18.fc16 has been submitted as an update for Fedora 16.
dracut-013-18.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.