QA:Testcase Anaconda updates.img via installation source
From FedoraProject
(Redirected from QA/TestCases/UpdatesImgViaTree)
Description
This test will verify that anaconda can download and apply a updates.img that is inside the remote installation source without extra input from the user. For help preparing updates.img, see Anaconda/Updates
How to test
- Prepare a local installation source by mirroring an existing online source.
- Make the installation source accessible over one of the supported network protocols (HTTP, FTP, NFS).
- Prepare a valid
updates.imgfile. A suggested approach is to create a dummyupdates.imgwith an empty file:mkdir /tmp/updates dd if=/dev/zero of=updates.img bs=1k count=1440 mke2fs updates.img mount -o loop updates.img /tmp/updates touch /tmp/updates/TESTING123 umount /tmp/updates
A prebuilt
updates.imgis also available for download. - Copy the
updates.imginto theimages/directory of your local installation source - Boot the installer using the
askmethodoption at boot and select the protocol that will use the modified installation source where theupdates.imgwas published. See Anaconda/Options for information on supported boot options. - Proceed with installation
Expected Results
- Anaconda prepares the
updates.imgand copies its content to/tmp/updates/. To confirm this, check for the presence of the file/tmp/updates/TESTING123. - Anaconda proceeds without error