blob: 802d7cc85e63505882df66bd31dea14a315d2525 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<?php
/**
* Helper script to:
* - fetch built ISOs info (names, checksums, sizes, langs, etc.)
* - build a catalog that can be used for the Web site download redirector
* (in var/definitions)
*
* PHP 5.3
*
* @license http://www.opensource.org/licenses/MIT MIT
* @author Romain d'Alverny @rdalverny
*/
// params
$prefix = '10';
$bcd_path = '10';
//$bcd_path = '9';
$netinstall_rename = '10-beta1';
//$bcd_url = 'rsync://isoqa@bcd.mageia.org/isos/%s/';
$bcd_url = 'rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/iso/%s/';
$netinstall = 'rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/';
// don't touch below
$ts0 = microtime(true);
require_once __DIR__ . '/lib/FIDD.php';
FIDD::run(__DIR__, $netinstall, $prefix, true, $netinstall_rename);
FIDD::run(__DIR__, sprintf($bcd_url, $bcd_path), $prefix);
echo sprintf("done in %2.2f s.\n", microtime(true) - $ts0);
exit(0);
|