Bug 978008 - RFE: Check for images/updates.img in /run/install/source (inst.repo=) not just /run/install/repo (inst.stage2=)
Summary: RFE: Check for images/updates.img in /run/install/source (inst.repo=) not jus...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-25 19:27 UTC by Adam Williamson
Modified: 2019-12-12 00:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Adam Williamson 2013-06-25 19:27:44 UTC
As discussed in #anaconda this morning, it appears that anaconda (well, dracut, really, I think) automatically checks for an images/updates.img in /run/install/repo - which is where it mounts whatever is being used as the 'inst.stage2' source - but not in /run/install/source - which is where it mounts whatever was passed as 'inst.repo'.

bcl doesn't think this is really a bug, but at least some of our test cases and documentation rather give the impression that this should work for 'inst.repo' sources, e.g. https://fedoraproject.org/wiki/Anaconda/Updates reads "If you're doing a CD, hard drive, HTTP, or FTP install you can also put the updates.img in your tree to be picked up by all installs automatically. Put the file in the images/ directory. It must have exactly the name updates.img, even if you received it with a different name.", which is at least ambiguous. This behaviour probably looks a little different post-noloader than it did pre-noloader.

It seems like it'd be an improvement to use /run/install/source/images/updates.img if it's present and there is no /run/install/repo/images/updates.img , assuming the order of mounts makes it possible.

Comment 1 Adam Williamson 2019-12-12 00:41:16 UTC
Just going through anaconda bugs; AFAICS this is still valid, though I didn't actually test (too much faffing around). I can't see any changes to the dracut bits since this was filed which would've fixed it.


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