ironic-python-agent/imagebuild
Mathieu Mitchell 7ff6948d5f [TinyIPA] Avoid running rm with no parameters
Currently, during ramdisk optimization steps, the find tool is used to
look for files to remove. We pipe all files found by find to the rm
command running as sudo. This is necessary because of the ownership of
the files to be removed.

This commit uses the "--no-run-if-empty" GNU extension to xargs. This
extension should be present on all machines running the TinyIPA build,
because non-GNU systems simply cannot build TinyIPA.

An alternative would have been to use the -delete flag to find, and to
run find as root.

Change-Id: I78854c8901433b7d45e014dd18e7a5ff794a9c45
Closes-bug: #1661219
(cherry picked from commit e49f05028c)
2017-02-06 15:09:04 -05:00
..
common Enforce upper-constraints when building ramdisks 2016-08-26 09:06:24 -04:00
coreos Enforce upper-constraints when building ramdisks 2016-08-26 09:06:24 -04:00
tinyipa [TinyIPA] Avoid running rm with no parameters 2017-02-06 15:09:04 -05:00
README.rst Add tinyipa to IPA imagebuild directory 2016-01-29 12:07:19 +00:00

README.rst

ironic-python-agent images

coreos - Builds a CoreOS Ramdisk and Kernel suitable for running ironic-python-agent

tinyipa - Builds a TinyCoreLinux Ramdisk and Kernel suitable for running ironic-python-agent