Red Hat Bugzilla – Bug 168155
anaconda does not look for help files in /tmp/updates
Last modified: 2007-11-30 17:11:13 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4
Description of problem:
When the install media contains an updates.img, it is mounted temporarily and its contents are copied into /tmp/updates, which appears on the search paths for python modules, pixmaps, and help files. We use this mechansim (and not the RHupdates directory, which works only for NFS installs) to fix bugs and add functionality to the installer, such as an additional UI screen which gathers site-specific configuration.
Unfortunately, while /mnt/source/RHupdates is on the search path for help files, /tmp/updates is not. This means we are unable to override the help files that ship with anaconda (for example, to provide partitioning guidelines) or to add help files for our site-specific UI page.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make a copy of /usr/share/anaconda/help/C/s1-help-screens-partition.html
2. Make some obvious modification
3. Build an ext2 filesystem image containing help/C/s1-help-screens-partition.html
4. Add the image to the installer media as Fedora/base/updates.img
5. Look at the help screen in the installer.
Actual Results: The help screen is the same as that in the stock installer.
Expected Results: The help screen should have been the locally-modified version in updates.img
This has actually been a problem for us at least since RH9, but we've always worked around it by creating symlinks in a kickstart %pre script:
ln -s /tmp/updates/help /help
ln -s /tmp/updates/help /text-help
We'd prefer not to have to do this in the future.
Fixing this should require changes to gui.py at line 1454 (at the top of InstallControlState.__init__) and to text.py at line 177 (in InstallInterface.helpWindow). (line numbers are in anaconda-10.1.0.2)
In both cases, an entry for /tmp/updates should be added after the existing entry for /mnt/source/RHupdates.
Moving to devel since this isnt FC3 specific
Fixed in CVS, although the help may be going away in FC5