From Fedora Project Wiki
(add an explanation why /tmp/updates is not created for unipony updates) |
(updates-unipony no longer works in anaconda, use updates-openqa instead (see https://phab.qadevel.cloud.fedoraproject.org/T759)) |
||
Line 6: | Line 6: | ||
# There is an {{filename|updates.img}} prepared for you in this test case. If it doesn't work or you want to use a different one, see [[Anaconda/Updates#create-images|this page]] for image creation instructions, and prepare your own file. A good thing to change in the image is the ''What language would you like to use during the installation process?'' text in {{filename|pyanaconda/ui/gui/spokes/welcome.glade}}, as this text is displayed on one of the first screens. Then host the {{filename|updates.img}} on a httpd server accessible by your installation. | # There is an {{filename|updates.img}} prepared for you in this test case. If it doesn't work or you want to use a different one, see [[Anaconda/Updates#create-images|this page]] for image creation instructions, and prepare your own file. A good thing to change in the image is the ''What language would you like to use during the installation process?'' text in {{filename|pyanaconda/ui/gui/spokes/welcome.glade}}, as this text is displayed on one of the first screens. Then host the {{filename|updates.img}} on a httpd server accessible by your installation. | ||
|actions= | |actions= | ||
# Boot the installer while specifying the HTTP URL for the updates image. Use our provided one: <pre>inst.updates=https://fedorapeople.org/groups/qa/updates/updates- | # Boot the installer while specifying the HTTP URL for the updates image. Use our provided one: <pre>inst.updates=https://fedorapeople.org/groups/qa/updates/updates-openqa.img</pre> or your own one. | ||
# If it's possible, visually identify that the update was applied. With the update above, go to the ''Installation destination'' dialog and see that | # If it's possible, visually identify that the update was applied. With the update above, go to the ''Installation destination'' dialog and see that the disk capacity text has a pink background instead of the default gray background:<br><table border="0"><tr border="0"><td border="0">[[Image:anaconda-updates-openqa-off.png|frame|none|Default look]]</td><td>[[Image:anaconda-updates-openqa-on.png|frame|none|Updated look]]</td></tr></table> | ||
# If it's not visually possible to confirm the update was applied (there were just code changes), verify the existence of {{filename|/tmp/updates}} directory, which should contain all updated source code files. (Please note | # If it's not visually possible to confirm the update was applied (there were just code changes), verify the existence of {{filename|/tmp/updates}} directory, which should contain all updated source code files. (Please note if your updates.img doesn't change any source code files, but e.g. just an image, then the {{filename|/tmp/updates}} directory is not created.) | ||
# Proceed with installation | # Proceed with installation | ||
|results= | |results= |
Revision as of 13:43, 5 April 2016
Description
This test will verify that anaconda can download the requested updates.img
file using a HTTP url.
Setup
- There is an
updates.img
prepared for you in this test case. If it doesn't work or you want to use a different one, see this page for image creation instructions, and prepare your own file. A good thing to change in the image is the What language would you like to use during the installation process? text inpyanaconda/ui/gui/spokes/welcome.glade
, as this text is displayed on one of the first screens. Then host theupdates.img
on a httpd server accessible by your installation.
How to test
- Boot the installer while specifying the HTTP URL for the updates image. Use our provided one:
inst.updates=https://fedorapeople.org/groups/qa/updates/updates-openqa.img
or your own one. - If it's possible, visually identify that the update was applied. With the update above, go to the Installation destination dialog and see that the disk capacity text has a pink background instead of the default gray background:
- If it's not visually possible to confirm the update was applied (there were just code changes), verify the existence of
/tmp/updates
directory, which should contain all updated source code files. (Please note if your updates.img doesn't change any source code files, but e.g. just an image, then the/tmp/updates
directory is not created.) - Proceed with installation
Expected Results
- Anaconda downloads the
updates.img
and copies its content to/tmp/updates
. Any changes you included in the updates.img file are applied (image changes, text adjustments, source code changes, etc). - Anaconda proceeds without related errors