From Fedora Project Wiki

('askmethod' does not exist)
(link out to the anaconda/updates page for up-to-date creation instructions)
Line 2: Line 2:
|description=This test will verify that anaconda can download and apply a {{filename|updates.img}} that is inside the remote installation source without extra input from the user. For help preparing {{filename|updates.img}}, see [[Anaconda/Updates]]
|description=This test will verify that anaconda can download and apply a {{filename|updates.img}} that is inside the remote installation source without extra input from the user. For help preparing {{filename|updates.img}}, see [[Anaconda/Updates]]
|actions=
|actions=
<ol>
# Prepare a local installation source by mirroring an [http://mirrors.fedoraproject.org/ existing online source].
<li> Prepare a local installation source by mirroring an [http://mirrors.fedoraproject.org/ existing online source].</li>
# Make the installation source accessible over one of the supported network protocols (HTTP, FTP, NFS).
<li> Make the installation source accessible over one of the supported network protocols (HTTP, FTP, NFS).
# Prepare a valid {{filename|updates.img}} file. See [[Anaconda/Updates#create-images|this page]] for image creation instructions. A good thing to change in the {{filename|updates.img}} is the "What language would you like to use during the installation process?" text in {{filename|pyanaconda/iw/language_gui.py}}, as this text is displayed on one of the first screens.
<li> Prepare a valid {{filename|updates.img}} file. A suggested approach is to create a dummy {{filename|updates.img}} with an empty file:
# Copy the {{filename|updates.img}} into the {{filename|images/}} directory of your local installation source
<pre>
# Boot the installer using the <code>inst.repo=</code> option at boot directing to the modified installation source where the {{filename|updates.img}} was published. See [[Anaconda/Options]] for information on supported boot options.
mkdir /tmp/updates
# Proceed with installation
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
</pre>
A prebuilt {{filename|updates.img}} [http://rhe.fedorapeople.org/install/updates.img is also available for download].
</li>
<li> Copy the {{filename|updates.img}} into the {{filename|images/}} directory of your local installation source</li>
<li> Boot the installer using the <code>inst.repo=</code> option at boot directing to the modified installation source where the {{filename|updates.img}} was published. See [[Anaconda/Options]] for information on supported boot options.</li>
<li> Proceed with installation</li>
</ol>
|results=
|results=
# Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}. To confirm this, check for the presence of the file {{filename|/tmp/updates/TESTING123}}.
# Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}. Any changes you included in the updates.img file are applied
# Anaconda proceeds without error
# Anaconda proceeds without related errors
}}
}}


[[Category:Recovery Test Cases]]
[[Category:Recovery Test Cases]]

Revision as of 18:51, 7 May 2012

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. 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/iw/language_gui.py, as this text is displayed on one of the first screens.
  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/. Any changes you included in the updates.img file are applied
  2. Anaconda proceeds without related errors