QA:Testcase Anaconda updates.img via local media
This test will verify that anaconda can load an
updates.img from removable media. Note, this test needs removable media for storing an
updates.img (usually USB storage).
- Prepare a valid
updates.imgfile. There is an
updates.imgprepared for you in this test case. You can use it and follow the same steps to verify that it is applied. 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 in
pyanaconda/ui/gui/spokes/welcome.glade, as this text is displayed on one of the first screens.
- Copy the
updates.imgto your removable media
How to test
- Insert the removable drive (usually a USB key)
- Boot the installer with the boot argument:
labelis the label of the partition or
uuidis its UUID. So if the stick had the label
KINGSTON, you'd put
inst.updates=hd:LABEL=KINGSTON:/updates.imgSee Anaconda Boot Options for information on supported boot options.
- If it's possible, visually identify that the update was applied. If you have used the prepared
updates.imgfrom this test case, follow its relevant steps to verify it applied correctly.
- If it's not visually possible to confirm the update was applied (there were just code changes), verify the existence of
/tmp/updatesdirectory, which should contain all updated source code files.
- Proceed with installation
- Anaconda downloads the
updates.imgand 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