Bug 12210 - bcd should run basic checks on the tree before actually calling genisoimage...
Summary: bcd should run basic checks on the tree before actually calling genisoimage...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Anne Nicolas
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-05 19:24 CET by Thierry Vignaud
Modified: 2019-04-05 09:57 CEST (History)
4 users (show)

See Also:
Source RPM: bcd
CVE:
Status comment:


Attachments

Description Thierry Vignaud 2014-01-05 19:24:32 CET
bcd should run basic checks on the tree before actually calling genisoimage...
This would catch basic errors before the ISOs get d/l & tested by users.
See bug #12140

Suggested tests would be:
- is there a synthesis for all media
  (core/nonfree/tainted + 32 bits one on x86_64)

- is the tree installable:
  ROOT=/tmp/root-$$
  urpmi.addmedia --distrib file:/where/the/tree/is --urpmi-root $ROOT
  urpmi --urpmi-root $ROOT --justdb --auto --tune-rpm=all
  #check it runs fine:
  #- bash: $?
  #- perl: system("...") ==0 or die "system is uninstallable!"
  #check that basesystem did got installed:
  rpm -q --root=$ROOT basesystem

- the same test with task-gnome-minimal, task-kde4-minimal, ...

- whatever came when remembering previous failed isos ...

Reproducible: 

Steps to Reproduce:
Comment 1 Anne Nicolas 2014-01-05 19:50:36 CET
feel free to do it
Comment 2 Bit Twister 2014-01-06 03:03:15 CET
(In reply to Thierry Vignaud from comment #0)
> bcd should run basic checks on the tree before actually calling
> genisoimage...
> This would catch basic errors before the ISOs get d/l & tested by users.

and if bcd does not do it, use "stat --format=%s whatever.iso" to verify iso will fit on the target media, cd, dvd and 4 gig memory device....

CC: (none) => junknospam

Rémi Verschelde 2014-03-24 20:37:07 CET

CC: (none) => remi
Component: New RPM package request => RPM Packages

Comment 3 Lewis Smith 2019-04-04 20:28:43 CEST
This bug is terribly old. Is it still relevant? I think not: ISO size limits are pre-defined for different media.

CC: (none) => lewyssmith

Comment 4 Martin Whitaker 2019-04-05 09:57:56 CEST
bcd is no longer used for generating the ISOs.

CC: (none) => mageia
Status: NEW => RESOLVED
Resolution: (none) => OLD


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