Bug 750603 - dracut --install isn't copying script to the target
dracut --install isn't copying script to the target
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: dracut (Show other bugs)
16
All Linux
unspecified Severity urgent
: ---
: ---
Assigned To: dracut-maint
Fedora Extras Quality Assurance
:
Depends On:
Blocks: F16Blocker/F16FinalBlocker
  Show dependency treegraph
 
Reported: 2011-11-01 14:10 EDT by Brian Lane
Modified: 2011-11-02 14:19 EDT (History)
3 users (show)

See Also:
Fixed In Version: dracut-013-18.fc16
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-11-02 14:19:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Trimmed down log of it not installing the script (6.92 KB, text/plain)
2011-11-01 14:16 EDT, Brian Lane
no flags Details
Trimmed down log of it installing the script working (5.68 KB, text/x-log)
2011-11-01 14:53 EDT, Brian Lane
no flags Details
Patch to fix --install of scripts (946 bytes, patch)
2011-11-01 15:16 EDT, Brian Lane
no flags Details | Diff

  None (edit)
Description Brian Lane 2011-11-01 14:10:02 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.
Comment 1 Brian Lane 2011-11-01 14:16:13 EDT
Created attachment 531170 [details]
Trimmed down log of it not installing the script
Comment 2 Brian Lane 2011-11-01 14:53:09 EDT
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
Comment 3 Brian Lane 2011-11-01 15:16:02 EDT
Created attachment 531185 [details]
Patch to fix --install of scripts
Comment 4 Fedora Update System 2011-11-01 15:57:37 EDT
dracut-013-18.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/dracut-013-18.fc16
Comment 5 Fedora Update System 2011-11-02 14:19:19 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.