mirror of
https://github.com/optim-enterprises-bv/meta-overc.git
synced 2026-01-17 10:31:11 +00:00
The puppet will be used in masterless mode to complete configuration of the images during installation and eventually to ensure persistent configurations remain after completing system upgrades. This requires that meta-cloud-services is added to the list of required layers. Documentation, sample configs etc. have been updated to reflect this. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
32 lines
521 B
Bash
Executable File
32 lines
521 B
Bash
Executable File
#!/bin/sh
|
|
|
|
LAYERS="meta-openembedded \
|
|
meta-virtualization \
|
|
meta-overc \
|
|
meta-cloud-services \
|
|
"
|
|
|
|
if [ ! -d meta-overc ]; then
|
|
echo I do not see a meta-overc subdir. Are you in poky dir\?
|
|
exit 1
|
|
fi
|
|
|
|
echo Updating main repo
|
|
git pull || exit 1
|
|
|
|
for i in $LAYERS
|
|
do
|
|
if [ ! -d "$i" ]; then
|
|
echo Layer $i does not appear to exist. Giving up.
|
|
exit 1
|
|
fi
|
|
cd $i || exit 1
|
|
echo Updating layer $i
|
|
git pull
|
|
if [ $? != 0 ]; then
|
|
echo git pull in layer $i failed. Giving up.
|
|
exit 1
|
|
fi
|
|
cd - > /dev/null
|
|
done
|