blob: dce0430c2e96bf6703a5dad6df52adc4e81cab48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/bash
# Run this script from the draklive-config directory:
# ./tools/build_live.sh
declare -A desktops
release=6-rc
archs="i586 x86_64"
desktops[i586]="Xfce"
desktops[x86_64]="GNOME Plasma Xfce"
pushd files/mga_rpms
./update_media.sh
popd
for arch in $archs; do
for desktop in ${desktops[$arch]}; do
sudo -u draklive sudo /usr/sbin/draklive --clean --all --define arch=$arch --define desktop=$desktop
sudo -u bcd mkdir -p /home/bcd/public_html/isos/trial-builds/Mageia-${release}-LiveDVD-${desktop}-${arch}-DVD
sudo -u bcd cp /home/draklive/var-data/build/Mageia-${release}-LiveDVD-${desktop}-${arch}-DVD/dist/* /home/bcd/public_html/isos/trial-builds/Mageia-${release}-LiveDVD-${desktop}-${arch}-DVD
# not enough space on rabbit's RAM disk for all four variants, so delete as we go
sudo -u draklive sudo /usr/sbin/draklive --clean --define arch=$arch --define desktop=$desktop
done
done
|