d8a0e13261
The check suffered from various flaws. First, due to missing quotes around $initrd, 'wc -l' would always see 1 line no matter how many results the find returned. Second, echo adds a line break making 'wc -l' count 1 even for empty string. We need to add a check for empty string. Change-Id: Ib2c67960f566dbdc471d9585a4cef1beb1cc38ab Closes-Bug: #1506692 |
||
---|---|---|
.. | ||
environment.d | ||
install.d | ||
yum.repos.d | ||
element-deps | ||
element-provides | ||
README.rst |
============== fedora-minimal ============== Create a minimal image based on Fedora. Use of this element will require 'yum' and 'yum-utils' to be installed on Ubuntu and Debian. Nothing additional is needed on Fedora or CentOS. The element will need `python-lzma` everywhere. Due to a bug in the released version of urlgrabber, on many systems an installation of urlgrabber from git is required. The git repository can be found here: http://yum.baseurl.org/gitweb?p=urlgrabber.git;a=summary The `DIB_OFFLINE` or more specific `DIB_YUMCHROOT_USE_CACHE` variables can be set to prefer the use of a pre-cached root filesystem tarball. This element sets the `DIB_RELEASE` var to 'fedora'. The release of fedora to be installed can be controlled through the `DIB_RELEASE` variable, which defaults to '21'.