aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2024-05-04 09:24:39 +0300
committerJani Välimaa <wally@mageia.org>2024-05-04 09:24:39 +0300
commit9f4132096fe4c71da0bf076d9a708deb3c84d9f1 (patch)
treef42a12a8e5204908c5c37e28aed64c05860a1de3 /modules/buildsystem
parent29b6ad65888ab133a0ec02ae1114f28149ab9efc (diff)
downloadpuppet-9f4132096fe4c71da0bf076d9a708deb3c84d9f1.tar
puppet-9f4132096fe4c71da0bf076d9a708deb3c84d9f1.tar.gz
puppet-9f4132096fe4c71da0bf076d9a708deb3c84d9f1.tar.bz2
puppet-9f4132096fe4c71da0bf076d9a708deb3c84d9f1.tar.xz
puppet-9f4132096fe4c71da0bf076d9a708deb3c84d9f1.zip
buildsystem: update media.cfg creation to support x86_64 + i686
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/templates/media.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/media.cfg b/modules/buildsystem/templates/media.cfg
index ba01fde5..64757a2b 100644
--- a/modules/buildsystem/templates/media.cfg
+++ b/modules/buildsystem/templates/media.cfg
@@ -106,6 +106,18 @@ distro['medias'].keys.sort { |x,y| distro['medias'][x]['order'] <=> distro['medi
%>
<%-
end
+ if @arch == 'x86_64' and distro['arch'].include?('i686')
+ medianame32 = [ medianame, '32' ].join('')
+ -%><%=
+ media_out [ '../../i686/media', medianame, reponame ].join('/'),
+ :hdlist => [ 'hdlist', medianame32, reponame ].join('_') + '.src.cz',
+ :name => media_name(medianame, reponame, nil, '32bit'),
+ :media_type => media_type.join(':'),
+ :noauto => noauto
+
+ %>
+ <%-
+ end
}
}
if distro['based_on'] != nil