Bug 28818 - Mageia-8-rpi-aarch64-noDE.img.gz image has Cauldron in urpmi.cfg instead of 8
Summary: Mageia-8-rpi-aarch64-noDE.img.gz image has Cauldron in urpmi.cfg instead of 8
Status: ASSIGNED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: 8
Hardware: aarch64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Filip Komar
QA Contact:
URL: http://gitweb.mageia.org/software/mag...
Whiteboard:
Keywords:
Depends on: 28944
Blocks: 32166
  Show dependency treegraph
 
Reported: 2021-04-21 00:09 CEST by Filip Komar
Modified: 2023-09-01 00:16 CEST (History)
2 users (show)

See Also:
Source RPM: Mageia-8-rpi-aarch64-noDE.img.gz image
CVE:
Status comment:


Attachments

Description Filip Komar 2021-04-21 00:09:06 CEST
Description of problem:
Mageia-8-rpi-aarch64-noDE.img.gz image has Cauldron in urpmi.cfg instead of 8.

It seems that other images have mixed versions too:
grep -nHIrF --include=* -- MAGEIA_VERSION= (in /home/user/git/mageia4arm/)
./platforms/rpi4/mageia4arm.cfg:18:MAGEIA_VERSION="cauldron"
./platforms/rpi4/mageia4arm.cfg.original:18:MAGEIA_VERSION="7"
./platforms/xu4/mageia4arm.cfg:18:MAGEIA_VERSION="7"
./platforms/rpi3+/mageia4arm.cfg:18:MAGEIA_VERSION="7"
./platforms/rpi3+/mageia4arm.cfg.original:18:MAGEIA_VERSION="7"
./platforms/rpi3+64/mageia4arm.cfg:18:MAGEIA_VERSION="7"
./platforms/rpi3+64/mageia4arm.cfg.original:18:MAGEIA_VERSION="7"
./platforms/rpi2/mageia4arm.cfg:18:MAGEIA_VERSION="7"
./platforms/rpi2/mageia4arm.cfg.original:18:MAGEIA_VERSION="7"
./platforms/rpi1/mageia4arm.cfg:18:MAGEIA_VERSION="6"
./platforms/rpi1/mageia4arm.cfg.original:18:MAGEIA_VERSION="7"
./platforms/rpi-aarch64/mageia4arm.cfg:18:MAGEIA_VERSION="${MAGEIA_VERSION:="cauldron"}"
./platforms/rpi3/mageia4arm.cfg:18:MAGEIA_VERSION="7"
./platforms/rpi3/mageia4arm.cfg.original:18:MAGEIA_VERSION="7"
./platforms/generic_aarch64/mageia4arm.cfg:21:MAGEIA_VERSION=${MAGEIA_VERSION:="7"}
./platforms/bananaPro/mageia4arm.cfg:21:MAGEIA_VERSION=${MAGEIA_VERSION:="7"}
./mageia4arm.cfg.template:19:MAGEIA_VERSION=""
./create_arm_image.sh:194:            MAGEIA_VERSION="${2}"
./create_arm_image.sh:196:            MAGEIA_VERSION="${2}"
Search completed with 19 matches.



Steps to Reproduce:
check urpmi.cfg in first boot:
cat /etc/urpmi/urpmi.cfg

unexpected result as all URL points to:
... http://ftp.free.fr/mirrors/mageia.org/distrib/cauldron/aarch64/media/ ...

Workaround (to be done before any urpmi command):
cp /etc/urpmi/urpmi.cfg /etc/urpmi/urpmi_original.cfg # to be on the safe side
sed -i 's/cauldron/8/g' /etc/urpmi/urpmi.cfg
Comment 1 Jybz 2021-04-21 09:06:46 CEST
Thank you Filip,
I took a look, but I don't find the problem.

It might be kind of a race-condition, I see that I added the "version" argument the 2021-02-21 at 08:37:59 UTC to the repository
> http://gitweb.mageia.org/software/mageia4arm/commit/build_all.sh?id=7e6281356a8f9c38373ce1c86d4b0cbf24b288e5
and I see the image is on the mirror the 2021-Feb-21 at 20:28:47 (it did not precise the time zone)
> http://ftp.free.fr/mirrors/mageia.org/distrib/8/aarch64/install/images/

This evening, I will try to build locally and see if I still have this wrong urpmi.cfg file.
Comment 2 Filip Komar 2021-05-25 02:06:39 CEST
I have a fix but I need Bug 28944 closed first ;).

Status: NEW => ASSIGNED
CC: (none) => filip.komar
Depends on: (none) => 28944
Assignee: j.biernacki+mga => filip.komar

Filip Komar 2023-09-01 00:16:18 CEST

Blocks: (none) => 32166


Note You need to log in before you can comment on or make changes to this bug.