From 9d2fe5306d5365a71be986e1e5bcc49755724cfa Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sun, 5 Jan 2020 13:38:45 -0500 Subject: Use self-contained config file for DNF with repos defined With self-contained configuration, the repository definitions will be predictable based on the target architecture and avoid leaking anything from the host. --- mageia4arm-dnf.conf | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 mageia4arm-dnf.conf (limited to 'mageia4arm-dnf.conf') diff --git a/mageia4arm-dnf.conf b/mageia4arm-dnf.conf new file mode 100644 index 0000000..df1a6c4 --- /dev/null +++ b/mageia4arm-dnf.conf @@ -0,0 +1,37 @@ +# mageia4arm dnf configuration +[main] +keepcache=1 +debuglevel=2 +reposdir=/dev/null +logfile=/var/log/mga4arm-dnf.log +retries=20 +obsoletes=1 +syslog_ident=mageia4arm +syslog_device= +metadata_expire=0 +best=1 +protected_packages= + +# repos + +[mageia-$arch] +name=Mageia $releasever - $arch +#baseurl=http://mirrors.kernel.org/mageia/distrib/$releasever/$arch/media/core/release/ +#metalink=https://mirrors.mageia.org/metalink?distrib=mageia-$releasever&arch=$arch@§ion=core&repo=release +mirrorlist=https://www.mageia.org/mirrorlist/?release=$releasever&arch=$arch§ion=core&repo=release +fastestmirror=1 +gpgcheck=1 +gpgkey=file:///usr/share/distribution-gpg-keys/mageia/RPM-GPG-KEY-Mageia +enabled=1 +skip_if_unavailable=False + +[updates-$arch] +name=Mageia $releasever - $arch - Updates +#baseurl=http://mirrors.kernel.org/mageia/distrib/$releasever/$arch/media/core/updates/ +#metalink=https://mirrors.mageia.org/metalink?distrib=mageia-$releasever&arch=$arch@§ion=core&repo=updates +mirrorlist=https://www.mageia.org/mirrorlist/?release=$releasever&arch=$arch§ion=core&repo=updates +fastestmirror=1 +gpgcheck=1 +gpgkey=file:///usr/share/distribution-gpg-keys/mageia/RPM-GPG-KEY-Mageia +enabled=1 +skip_if_unavailable=False -- cgit v1.2.1