|
|
Line 1: |
Line 1: |
| # Prepare a valid {{filename|updates.img}} file. One way is to use anaconda's makeupdates script:
| |
| <pre>
| |
| 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
| |
| </pre>
| |
| 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 {{filename|updates.img}} with an empty file:
| |
| <pre>
| |
| 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
| |
| </pre>
| |
| 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.
| |