mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
Add xen-image build
This commit is contained in:
10
make.sh
10
make.sh
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user