Re: srpm rebuilding on RISC-V fedora image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 4, 2021 at 8:29 AM Billa Surendra <billa.iitmadras@xxxxxxxxx> wrote:
>
>
> Without Correcting right URL to fedora-33-riscv64.cfg file we can not use MOCK for rebuilding SRPM's for RISC-V architecture.  Can anyone please suggest what I can do now to correct it?. How can I contact MirrorManager to correct the URL to the right location?.

Koji generated disto-repos for Fedora/RISCV are here, for example,
http://fedora.riscv.rocks/repos-dist/f33/latest/
http://fedora.riscv.rocks/repos-dist/rawhide/latest/

There is no official mock config for Fedora/RISCV, so you need to copy
one of the existing configs (for example, aarch64) and adjust (mainly
arch and correct repository URL)

You can also pull directly from Koji working repos too, for example,
http://fedora.riscv.rocks/repos/f33-build/latest/

For example here is a config generated by Koji build system:

[root@hifive koji]# cat f33-build-554869-65360.cfg
# Auto-generated by the Koji build system

# Koji buildroot id: 554869
# Koji buildroot name: f33-build-554869-65360
# Koji repo id: 65360
# Koji tag: f33-build

config_opts['basedir'] = '/var/lib/mock'
config_opts['chroot_setup_cmd'] = 'groupinstall srpm-build'
config_opts['chroothome'] = '/builddir'
config_opts['dnf_warning'] = True
config_opts['package_manager'] = 'dnf'
config_opts['root'] = 'f33-build-554869-65360'
config_opts['rpmbuild_networking'] = True
config_opts['rpmbuild_timeout'] = 604800
config_opts['target_arch'] = 'riscv64'
config_opts['use_host_resolv'] = True
config_opts['yum.conf'] =
'[main]\ncachedir=/var/cache/yum\ndebuglevel=1\nlogfile=/var/log/yum.log\nreposdir=/dev/null\nretries=20\nobsoletes=1\ngpgcheck=0\nassumeyes=1\nkeepcache=1\ninstall_weak_deps=0\nstrict=1\n\n#
repos\n\n[build]\nname=build\nbaseurl=http://fedora.riscv.rocks/kojifiles/repos/f33-build/65360/riscv64\n'

config_opts['plugin_conf']['ccache_enable'] = False
config_opts['plugin_conf']['root_cache_enable'] = False
config_opts['plugin_conf']['yum_cache_enable'] = False

config_opts['macros']['%_host'] = 'riscv64-redhat-linux-gnu'
config_opts['macros']['%_host_cpu'] = 'riscv64'
config_opts['macros']['%_rpmfilename'] =
'%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
config_opts['macros']['%_topdir'] = '/builddir/build'
config_opts['macros']['%distribution'] = 'Fedora Project'
config_opts['macros']['%packager'] = 'Fedora Project'
config_opts['macros']['%vendor'] = 'Fedora Project'

config_opts['files']['etc/hosts'] = '127.0.0.1   localhost
localhost.localdomain localhost4 localhost4.localdomain4\n::1
localhost localhost.localdomain localhost6 localhost6.localdomain6\n'

>
> Thanks in advance
> Billa
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux