27 |
echo "PKG_SCP_REPO=\"${PKG_SCP_REPO}\"" >> ${BUILDROOT}/${arch}/.runrc |
echo "PKG_SCP_REPO=\"${PKG_SCP_REPO}\"" >> ${BUILDROOT}/${arch}/.runrc |
28 |
echo "BUILD_ARCH=\"${arch}\"" >> ${BUILDROOT}/${arch}/.runrc |
echo "BUILD_ARCH=\"${arch}\"" >> ${BUILDROOT}/${arch}/.runrc |
29 |
cat >> ${BUILDROOT}/${arch}/.runrc << "EOF" |
cat >> ${BUILDROOT}/${arch}/.runrc << "EOF" |
|
env-rebuild |
|
|
source /etc/profile |
|
|
|
|
30 |
if [ -f /etc/rc.d/init.d/functions ] |
if [ -f /etc/rc.d/init.d/functions ] |
31 |
then |
then |
32 |
source /etc/rc.d/init.d/functions |
source /etc/rc.d/init.d/functions |
58 |
die "${MLIBDIR}/smage2.functions.sh not found" |
die "${MLIBDIR}/smage2.functions.sh not found" |
59 |
fi |
fi |
60 |
|
|
61 |
|
env-rebuild |
62 |
|
source /etc/profile |
63 |
|
|
64 |
# override die function |
# override die function |
65 |
die() |
die() |
66 |
{ |
{ |