QA:Testcase Anaconda updates.img via local media

From FedoraProject

Jump to: navigation, search
Note.png
Associated release criterion
This test case is associated with the Fedora_21_Final_Release_Criteria#update-image release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


Description

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 (USB storage or floppy disk). Additional information on using an updates.img can be found at Anaconda/Updates.


How to test

  1. Prepare a valid updates.img file. See this page for image creation instructions. A good thing to change in the updates.img 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.
  2. Copy the updates.img to your removable media
  3. Insert the removable drive (USB key or floppy disk)
  4. Boot the installer with the boot argument: updates=hd:LABEL=(label):/updates.img or updates=hd:UUID=(UUID):/updates.img, where label is the label of the partition or UUID is its UUID (so if the stick had the label KINGSTON, you'd put updates=hd:LABEL=KINGSTON:/updates.img

Expected Results

  1. Anaconda prepares the updates.img and copies its content to /tmp/updates/. Any changes you included in the updates.img file are applied
  2. Anaconda proceeds without related errors