This commit is contained in:
Kload 2013-06-24 11:43:59 +00:00
parent 70bf5a9ba5
commit 8cdf75ba0a

View file

@ -1,12 +1,9 @@
#!/bin/bash
BUILD2="/home/yunohost/yunohostv2-amd64"
BUILD="/home/yunohost/yunohostv2-i386"
DATE=$(date +%m%d%y%H%M)
function build-i386
{
cd $BUILD
build-simple-cdd --dist wheezy --force-preseed --conf ./simple-cdd-i386.conf
$(pwd)/add-firmware-to images/debian-7.0-i386-CD-1.iso images/yunohostv2-$DATE-i386.iso wheezy
rm images/debian-7.0-i386-CD-1.iso
@ -14,7 +11,6 @@ rm images/debian-7.0-i386-CD-1.iso
function build-amd64
{
cd $BUILD2
build-simple-cdd --dist wheezy --force-preseed --conf ./simple-cdd-amd64.conf
$(pwd)/add-firmware-to images/debian-7.0-amd64-CD-1.iso images/yunohostv2-$DATE-amd64.iso wheezy
rm images/debian-7.0-amd64-CD-1.iso
@ -22,7 +18,6 @@ rm images/debian-7.0-amd64-CD-1.iso
function build-amd64-test
{
cd $BUILD2
build-simple-cdd --dist wheezy --force-preseed --conf ./simple-cdd-amd64-test.conf
$(pwd)/add-firmware-to images/debian-7.0-amd64-CD-1.iso images/yunohostv2-$DATE-amd64-test.iso wheezy
rm images/debian-7.0-amd64-CD-1.iso