Bug 10667

Summary: radeon-firmware: /usr/sbin/bootloader-config: No such file or directory
Product: Mageia Reporter: Alex Loginov <loginov_alex>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, tmb
Version: 2   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: radeon-firmware CVE:
Status comment:

Description Alex Loginov 2013-06-30 23:22:40 CEST
Description of problem: Error in %post
radeon-firmware       #########################################################################################################
/var/tmp/rpm-tmp.guwKwv: line 2: /usr/sbin/bootloader-config: No such file or directory

Version-Release number of selected component (if applicable): radeon-firmware-20120322-3.mga2.nonfree.noarch.rpm


How reproducible: always


Steps to Reproduce:
1.to install radeon-firmware before basesystem

It's needed to add checking: file /usr/sbin/bootloader-config exists or no.

Reproducible: 

Steps to Reproduce:
Comment 1 Dave Hodgins 2013-07-01 02:37:10 CEST
I'm curious. How did you get radeon-firmware to install before basesystem?

Does it stop the install, or just log the error?

CC: (none) => davidwhodgins

Comment 2 Alex Loginov 2013-07-01 22:06:16 CEST
I'm building my own distro and I get radeon-firmware to install before basesystem: http://code.google.com/p/mageiaos/source/browse/#svn%2Ftrunk%2Fmod_names
It's just log the error. But I want to fix all errors. This error is easy for fixing.
Comment 3 Thomas Backlund 2013-07-02 09:39:25 CEST
Well, the way the rpms are set up in mageia is that they expect basesystem to be available.

and when running under installer we dont run the post script at all:

http://svnweb.mageia.org/packages/cauldron/radeon-firmware/current/SPECS/radeon-firmware.spec?r1=389214&r2=399309

CC: (none) => tmb

Comment 4 Alex Loginov 2013-07-02 12:05:49 CEST
To add:
if [ -f "/usr/sbin/bootloader-config" ]
then
  /usr/sbin/bootloader-config --action rebuild-initrds
fi
Comment 5 Manuel Hiebel 2013-07-03 11:19:35 CEST
>Steps to Reproduce:
>1.to install radeon-firmware before basesystem

so as said this is wrong, I guess we can close as wontfix

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX

Comment 6 Alex Loginov 2013-07-03 13:48:47 CEST
It's not wrong for me to install radeon-firmware before basesystem.