blob: 9a7c3f15d132f8926bfdd8e558b0f49270beae44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
declare -A desktops
release=6
archs="i586 x86_64"
desktops[i586]="Xfce"
desktops[x86_64]="GNOME Plasma Xfce"
./update_bootloader_files.sh
for arch in $archs; do
for desktop in ${desktops[$arch]}; do
sudo -u draklive sudo /usr/bin/draklive2 --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/bin/draklive2 --clean --define arch=$arch --define desktop=$desktop
done
done
|