summaryrefslogtreecommitdiffstats
path: root/mkmodular
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-11-30 16:24:51 +0100
committerRemi Collet <remi@php.net>2021-11-30 16:24:51 +0100
commit43391b84b3d4735455d1d9cb5aea38f4ac57bedf (patch)
tree81622a4a6db13c51ff823259ab8160e500fc760a /mkmodular
parent697a229d2a595bb2d352014ccbaada8ced7b0da4 (diff)
generate modular debuginfo repo (fedora)
Diffstat (limited to 'mkmodular')
-rwxr-xr-xmkmodular42
1 files changed, 42 insertions, 0 deletions
diff --git a/mkmodular b/mkmodular
index 3264100..9917515 100755
--- a/mkmodular
+++ b/mkmodular
@@ -410,6 +410,17 @@ if (count($_SERVER['argv']) < 2 || in_array('f34', $_SERVER['argv'])) {
$mod .= genModule('fedora/34/php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
$mod .= genDefaults('php', false, ['remi-7.4', 'remi-8.0', 'remi-8.1']);
createRepo($dest, $mod);
+
+ $dest = 'fedora/34/debug-modular/x86_64';
+ echo "Populate $dest\n";
+ cleanup($dest);
+ $mod = '';
+
+ $deps = ['platform' => 'f34'];
+ $mod .= genModule('fedora/34/debug-remi/x86_64', $dest, ['unit-php*rpm', 'php-*7.4*.rpm'], '7.4', 'x86_64', $deps, $template_php);
+ $mod .= genModule('fedora/34/debug-php80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php);
+ $mod .= genModule('fedora/34/debug-php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
+ createRepo($dest, $mod);
}
if (in_array('f34', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) {
$dest = 'fedora/34/modular-test/x86_64';
@@ -422,6 +433,17 @@ if (in_array('f34', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) {
$mod .= genModule('fedora/34/test80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php);
$mod .= genModule('fedora/34/test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
createRepo($dest, $mod);
+
+ $dest = 'fedora/34/debug-modular-test/x86_64';
+ echo "Populate $dest\n";
+ cleanup($dest);
+ $mod = '';
+
+ $deps = ['platform' => 'f34'];
+ $mod .= genModule('fedora/34/debug-test/x86_64', $dest, ['unit-php*rpm', 'php-*7.4*.rpm'], '7.4', 'x86_64', $deps, $template_php);
+ $mod .= genModule('fedora/34/debug-test80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php);
+ $mod .= genModule('fedora/34/debug-test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
+ createRepo($dest, $mod);
}
if (count($_SERVER['argv']) < 2 || in_array('f35', $_SERVER['argv'])) {
@@ -435,6 +457,16 @@ if (count($_SERVER['argv']) < 2 || in_array('f35', $_SERVER['argv'])) {
$mod .= genModule('fedora/35/php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
$mod .= genDefaults('php', false, ['remi-8.0', 'remi-8.1']);
createRepo($dest, $mod);
+
+ $dest = 'fedora/35/debug-modular/x86_64';
+ echo "Populate $dest\n";
+ cleanup($dest);
+ $mod = '';
+
+ $deps = ['platform' => 'f35'];
+ $mod .= genModule('fedora/35/debug-remi/x86_64', $dest, ['unit-php*rpm', 'php-*8.0*.rpm'], '8.0', 'x86_64', $deps, $template_php);
+ $mod .= genModule('fedora/35/debug-php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
+ createRepo($dest, $mod);
}
if (in_array('f35', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) {
$dest = 'fedora/35/modular-test/x86_64';
@@ -446,6 +478,16 @@ if (in_array('f35', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) {
$mod .= genModule('fedora/35/test/x86_64', $dest, ['unit-php*rpm', 'php-*8.0*.rpm'], '8.0', 'x86_64', $deps, $template_php);
$mod .= genModule('fedora/35/test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
createRepo($dest, $mod);
+
+ $dest = 'fedora/35/debug-modular-test/x86_64';
+ echo "Populate $dest\n";
+ cleanup($dest);
+ $mod = '';
+
+ $deps = ['platform' => 'f35'];
+ $mod .= genModule('fedora/35/debug-test/x86_64', $dest, ['unit-php*rpm', 'php-*8.0*.rpm'], '8.0', 'x86_64', $deps, $template_php);
+ $mod .= genModule('fedora/35/debug-test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
+ createRepo($dest, $mod);
}
if (in_array('el8', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) {