From Fedora Project Wiki

Revision as of 09:59, 29 March 2012 by Hongqing (talk | contribs) ('askmethod' does not exist)

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

  1. Prepare a local installation source by mirroring an existing online source.
  2. Make the installation source accessible over one of the supported network protocols (HTTP, FTP, NFS).
  3. Prepare a valid updates.img file. A suggested approach is to create a dummy updates.img with 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.img is also available for download.

  4. Copy the updates.img into the images/ directory of your local installation source
  5. Boot the installer using the inst.repo= option at boot directing to the modified installation source where the updates.img was published. See Anaconda/Options for information on supported boot options.
  6. Proceed with installation

Expected Results

  1. Anaconda prepares the updates.img and copies its content to /tmp/updates/. To confirm this, check for the presence of the file /tmp/updates/TESTING123.
  2. Anaconda proceeds without error