Commit 327fdf41 authored by Lucas Carvalho's avatar Lucas Carvalho

- before building tiolive appliance .spec it is required to have erp5-5.4.6...

- before building tiolive appliance .spec it is required to have erp5-5.4.6 installed because it uses /opt/erp5/5.4.6/bin/python2.4



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34075 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1ef3a638
...@@ -43,4 +43,11 @@ rpm-appliance: ...@@ -43,4 +43,11 @@ rpm-appliance:
sed -i "s,\$$(shell cat parts/checkout/VERSION.txt), `cat VERSION.txt`,g" rpmgen/Makefile sed -i "s,\$$(shell cat parts/checkout/VERSION.txt), `cat VERSION.txt`,g" rpmgen/Makefile
sudo helpers/mandriva2010.0.sh sudo helpers/mandriva2010.0.sh
# just make and wait... # just make and wait...
cd rpmgen; make all cd rpmgen; make
# now we have the erp5 software rpm and we need it installed to build tiolive application rpm
if test -d /home/`whoami`/rpmbuild/RPMS/x86_64; \
then find /home/`whoami`/rpmbuild/RPMS/x86_64/ -name erp5-`cat VERSION.txt`* -print0 | xargs -0 sudo urpmi; \
else find /home/`whoami`/rpmbuild/RPMS/i586/ -name erp5-`cat VERSION.txt`* -print0 | xargs -0 sudo urpmi; \
fi
# building tiolive appliance
sudo rpmbuild -bb rpmgen/spec/tiolive-application-buildout-mandriva2010.spec
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment