aboutsummaryrefslogtreecommitdiffstats
path: root/mageia4arm-dnf.conf
diff options
context:
space:
mode:
authorNeal Gompa <ngompa13@gmail.com>2020-01-05 13:38:45 -0500
committerNeal Gompa <ngompa13@gmail.com>2020-01-05 14:04:03 -0500
commit9d2fe5306d5365a71be986e1e5bcc49755724cfa (patch)
treea12807da04e8fd511ccc44f6d54a53a5f73168c8 /mageia4arm-dnf.conf
parentb59ebbab15e9ff2d9c97dc9afd166d4542c36461 (diff)
downloadmageia4arm-9d2fe5306d5365a71be986e1e5bcc49755724cfa.tar
mageia4arm-9d2fe5306d5365a71be986e1e5bcc49755724cfa.tar.gz
mageia4arm-9d2fe5306d5365a71be986e1e5bcc49755724cfa.tar.bz2
mageia4arm-9d2fe5306d5365a71be986e1e5bcc49755724cfa.tar.xz
mageia4arm-9d2fe5306d5365a71be986e1e5bcc49755724cfa.zip
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.
Diffstat (limited to 'mageia4arm-dnf.conf')
-rw-r--r--mageia4arm-dnf.conf37
1 files changed, 37 insertions, 0 deletions
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@&section=core&repo=release
+mirrorlist=https://www.mageia.org/mirrorlist/?release=$releasever&arch=$arch&section=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@&section=core&repo=updates
+mirrorlist=https://www.mageia.org/mirrorlist/?release=$releasever&arch=$arch&section=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