aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.4.bb
AgeCommit message (Collapse)Author
2014-09-29housekeeping: Add a non-numeric PR prefix to allow PRINC in bbappendshavanaMark Asselstine
Although the use of PRINC is deprecated in later versions of Yocto it may still be used and if you are using this layer with older Yocto it is recommended for use in bbappends. It is therefore expected to work. PRINC expects a non-numeric prefix followed by a numeric value, as can be seen in base.bbclass pr_prefix = re.search("\D+",pr) prval = re.search("\d+",pr) if pr_prefix is None or prval is None: bb.error("Unable to analyse format of PR variable: %s" % pr) Failing to stick to this convention yields a parsing error when you attempt to use PRINC: ERROR: Unable to analyse format of PR variable Adding the non-numeric prefix allows PRINC use in bbappends to function correctly. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2014-06-16cloud-init: install to correct target directoryKeith Holman
The setup.py script that is included with the cloud-init code is setup to install files into the "/usr/lib" directory. On 64-bit machines the target directory should be "/usr/lib64". This generates a warning when using bitbake. This fix performs a search and replace on the setup.py file to set the correct output directory. This fix also adds a symbolic link to each script from the /etc/cloud directory to make the scripts available from a more obvious location. Signed-off-by: Keith Holman <Keith.Holman@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-05-26sysklogd: add syslog user and group and add dependencyKeith Holman
Some OpenStack components expect the system to contain a syslog user for logging purposes and fail if one doesn't exist. This fix adds the syslog user and group within the sysklogd package since it responsible for the system logging capabilities of the system. This fix also adds a dependency between the package requiring the syslog user to exist. Signed-off-by: Keith Holman <Keith.Holman@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-11cloud-init: create skeleton packageBruce Ashfield
This creates a basic/skeleton cloud-init package that has the following properties: - working sysvinit scripts - Wind River distro definition - baseline cloud.cfg with no data source and "hands off" configuration Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>