This section has a few simple test cases ensuring configuration shipped with Revisor works as anticipated.
Install the revisor-cli:
# yum --enablerepo=updates-testing install revisor
Installed are all dependencies for the Revisor CLI interface. Make sure spin-kickstarts is installed, a package for sample kickstarts.
Starting Revisor as follows should not show any error messages related to Revisor attempting to start up it's GUI interface:
The following configuration files should exist:
Each section should have a configuration file listed as main
.
And, of course, every configuration file listed in each section. In this case, the following snippet is easy enough:
$ i=0; \
configfiles="`grep ^main /etc/revisor/revisor.conf | \
sed -r -e 's/^main.*=\s*(.*)/\1/g'`"
for configfile in $configfiles; do \
[ ! -f $file ] && i=1; \
done; \
echo $i
Another way to test the configuration file is to execute:
$ revisor --list-models >/dev/null
If everything is well, since STDOUT
is redirected to /dev/null
, you should see no messages at all.
13.1.3. Requirements for Compose Results
Although heavily dependent on Anaconda for this part, these are still requirements
In the initrd.img
of the composed product, if 32-bit, /lib/ld-linux.so.2
(or any other version) should link to /lib/ld-2.9.so
(or any other version). If /lib/ld-linux.so.2
links to itself, the media will fail to install.
In a terminal, type the following command:
$ lsinitrd /path/to/initrd | grep ld-linux