From Fedora Project Wiki

Revision as of 18:24, 7 May 2012 by Adamwill (talk | contribs) (create an updates.img creation instruction template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

  1. Prepare a valid updates.img file. One way is to use anaconda's makeupdates script:
git clone git://git.fedorahosted.org/anaconda.git
cd anaconda
sed -i -e 's,What language would,What awesome language would,g' pyanaconda/iw/language_gui.py pyanaconda/textw/language_text.py
scripts/makeupdates

This will generate an updates.img file which should change the message "What language would you like to use during the installation process?", usually displayed at the first step of the install process, to "What awesome language would you like to use during the installation process?". Of course, you can substitute any other change to the anaconda code for the 'sed' step in the instructions, and the updates.img file will reflect whatever change you make.

Another 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/tmp/updates/TESTING123
umount /tmp/updates

This updates.img will not actually achieve anything, but should at least result in a dummy file being present during install which you can check the presence of.