Add xen-image build

This commit is contained in:
Arne Fitzenreiter
2009-08-08 00:33:33 +02:00
parent 0bc239b968
commit bada0832c1
5 changed files with 196 additions and 2 deletions

10
make.sh
View File

@@ -701,7 +701,7 @@ buildpackages() {
# Create images for install
ipfiremake cdrom ED=$IPFVER
# Check if there is a loop device for building in virtual environments
if [ -e /dev/loop/0 ] || [ -e /dev/loop0 ]; then
ipfiremake usb-stick ED=$IPFVER
@@ -712,6 +712,14 @@ buildpackages() {
ipfirepackages
# Check if there is a loop device for building in virtual environments
if [ -e /dev/loop/0 ] || [ -e /dev/loop0 ]; then
cp -f $BASEDIR/packages/linux-xen-*.ipfire $LFS/install/packages/
ipfiremake xen-image ED=$IPFVER
rm -rf $LFS/install/packages/linux-xen-*.ipfire
fi
mv $LFS/install/images/*.bz2 $BASEDIR >> $LOGFILE 2>&1
# Cleanup
stdumount
rm -rf $BASEDIR/build/tmp/*