2013-09-06 07:40:52 +00:00
|
|
|
#!/bin/sh
|
2013-09-06 08:50:29 +00:00
|
|
|
#
|
|
|
|
# Only meant to be executed from within the stage0 script
|
|
|
|
|
2013-09-25 12:50:20 +00:00
|
|
|
set -e -x
|
|
|
|
|
2013-09-06 08:50:29 +00:00
|
|
|
fetch() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
unpack() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
2013-09-17 14:20:26 +00:00
|
|
|
patch() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
2013-09-06 08:50:29 +00:00
|
|
|
build() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
return
|
|
|
|
}
|
2013-09-05 10:59:49 +00:00
|
|
|
|
2013-09-06 08:31:51 +00:00
|
|
|
. $1
|
|
|
|
(
|
2013-09-18 13:33:23 +00:00
|
|
|
fetch || echo "Failed to fetch $1" >> $top/morpheus.log
|
|
|
|
unpack || echo "Failed to unpack $1" >> $top/morpheus.log
|
|
|
|
patch || echo "Failed to patch $1" >> $top/morpheus.log
|
2013-09-17 14:40:13 +00:00
|
|
|
build || echo "Failed to build $1" >> $top/morpheus.log
|
|
|
|
install || echo "Failed to install $1" >> $top/morpheus.log
|
2013-09-06 08:31:51 +00:00
|
|
|
)
|