From 9f4132096fe4c71da0bf076d9a708deb3c84d9f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sat, 4 May 2024 09:24:39 +0300 Subject: buildsystem: update media.cfg creation to support x86_64 + i686 --- modules/buildsystem/templates/media.cfg | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules') 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 -- cgit v1.2.1