diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-03-17 15:00:14 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-03-20 16:52:14 +0000 |
commit | d29557989a2542bf8c34202eeec9b45390121de7 (patch) | |
tree | 1f3378c7f1a53011b0a689d5ebd49f4200a1f120 /setup.py | |
parent | 9b5e7c2efe1abb2cc981df085a849afd5a27d355 (diff) | |
download | morph-d29557989a2542bf8c34202eeec9b45390121de7.tar.gz |
Generate scripts with the system-integration-commands of chunk morphologies.
The scripts will be created into the folder:
/baserock/sytem-integration/
The system integration commands have the following
syntax:
name: linux
kind: chunk
...
install-commands:
...
system-integration:
linux-libs:
00-depmod:
- depmod -a
70-more-integration:
- touch /baserock/FILE
- |
for FOLDER in $(ls /)
do
echo "$FOLDER"
done
linux-misc:
70-more-integration:
- echo "Hello world"
In this concrete example, the following files will be created:
$DESTDIR/baserock/system-integration/
00-depmod-linux-libs-0000:
#!/bin/sh
set -xev
depmod -a
70-more-integration-linux-libs-0000
#!/bin/sh
set -xev
touch /baserock/FILE
70-more-integration-linux-libs-0001
#!/bin/sh
set -xev
for FOLDER in $(ls /)
do
echo "$FOLDER"
done
70-more-integration-linux-misc-0000
#!/bin/sh
set -xev
echo "Hello world"
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions