This website requires JavaScript.
Explore
Help
Register
Sign In
sig_cloud
/
diskimage-builder
Watch
2
Star
0
Fork
0
You've already forked diskimage-builder
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
ca53af1184
diskimage-builder
/
elements
/
dracut-ramdisk
/
element-deps
5 lines
58 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Refactor deploy ramdisk to allow use of targetcli RHEL 7 does not ship tgtadm or tgtd so they cannot be used in the deploy ramdisk. This change separates the tgt-specific parts of the ramdisk into their own element, and adds a new one that supports targetcli instead. For now, the tgt implementation can only be used with traditional busybox ramdisks and the targetcli one can only be used with dracut. This is because dracut is primarily used for RHEL right now so it makes sense to keep the dependencies simple. If there is a future desire to mix and match the implementations that could be done, but it would require users to explicitly select between tgt and targetcli. Change-Id: I4f99c91016287e08d836095c2f2261de8b45abdc Co-Authored-By: James Slagle <jslagle@redhat.com>
2015-01-30 19:32:55 +00:00
deploy-targetcli
Enable dracut deploy ramdisks The element builds dracut from source on Ubuntu because the Ubuntu dracut package is broken and very old, so it can't be installed properly and causes a number of other issues that are fixed by using a newer version of Dracut. This initial version should work in virtualized environments. Further validation of its suitability for real baremetal deployments will need to be done in the future, but this should be sufficient to enable that work. Regarding Dracut specifically, in order to limit the changes needed in the existing scripts this element continues to use a cut down version of the /init script that we were building for the existing ramdisk. However, instead of running it as pid 0 it is run as a Dracut pre-mount hook. This allows Dracut to set up all of the hardware and system bits, while falling early enough in the Dracut sequence to complete the deployment before Dracut would try to boot off the hard disk. bp tripleo-juno-dracut-ramdisks Change-Id: I144c8993fe040169f440bd4f7a428fdbe3d745cf
2014-09-26 05:12:32 +00:00
pkg-map
ramdisk-base
source-repositories
Reference in New Issue
Copy Permalink