diff options
author | Remi Collet <remi@remirepo.net> | 2019-03-08 08:43:33 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-03-08 08:43:33 +0100 |
commit | 8193cf03485df70351585fc00e1c61ebec6aac3e (patch) | |
tree | f03c7c1f4a1a029ba74c3bf5ceb5acba2486a2a3 /mkmodular | |
parent | 484efe2158111dc6c5b3b664ff3b61dffb9e2045 (diff) |
add modular repo for EL-7
Diffstat (limited to 'mkmodular')
-rwxr-xr-x | mkmodular | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -156,6 +156,7 @@ version: 1 data: module: php profiles: + remi-7.1: [common] remi-7.2: [common] remi-7.3: [common] ... @@ -358,4 +359,31 @@ if (count($_SERVER['argv']) < 2 || in_array('el8', $_SERVER['argv'])) { $mod .= $defaults; createRepo($dest, $mod); } + +if (count($_SERVER['argv']) < 2 || in_array('el7', $_SERVER['argv'])) { + $dest = 'enterprise/7/modular-test/x86_64'; + echo "Populate $dest\n"; + cleanup($dest); + $deps = ['platform' => 'el7']; + $mod = genModule('enterprise/7/test71/x86_64', $dest, '*.rpm', '7.1', 'x86_64', $deps, $template_php); + $mod = genModule('enterprise/7/test72/x86_64', $dest, '*.rpm', '7.2', 'x86_64', $deps, $template_php); + $mod .= genModule('enterprise/7/test73/x86_64', $dest, '*.rpm', '7.3', 'x86_64', $deps, $template_php); + $mod .= $defaults; + createRepo($dest, $mod); + + $dest = 'enterprise/7/modular/x86_64'; + echo "Populate $dest\n"; + cleanup($dest); + $deps = ['platform' => 'el7']; + $mod = genModule('enterprise/7/php71/x86_64', $dest, '*.rpm', '7.1', 'x86_64', $deps, $template_php); + $mod .= genModule('enterprise/7/php72/x86_64', $dest, '*.rpm', '7.2', 'x86_64', $deps, $template_php); + $mod .= genModule('enterprise/7/php73/x86_64', $dest, '*.rpm', '7.3', 'x86_64', $deps, $template_php); + $mod .= genModule('enterprise/7/remi/x86_64', $dest, 'redis*.rpm', '5.0', 'x86_64', $deps, $template_redis); + $deps = ['platform' => 'el7', 'php' => '']; + $mod .= genModule('enterprise/7/glpi92/x86_64', $dest, '*.rpm', '9.2', 'x86_64', $deps, $template_glpi); + $mod .= genModule('enterprise/7/glpi93/x86_64', $dest, '*.rpm', '9.3', 'x86_64', $deps, $template_glpi); + $mod .= genModule('enterprise/7/glpi94/x86_64', $dest, '*.rpm', '9.4', 'x86_64', $deps, $template_glpi); + $mod .= $defaults; + createRepo($dest, $mod); +} echo "Done\n"; |