<group> <id>core</id> <name>Core</name> ... <packagelist> <packagereq type="default">Deployment_Guide-en-US</packagereq> <packagereq type="mandatory">SysVinit</packagereq> <packagereq type="mandatory">authconfig</packagereq> <packagereq type="mandatory">basesystem</packagereq> <packagereq type="mandatory">bash</packagereq> <packagereq type="mandatory">centos-release</packagereq> <packagereq type="mandatory">coreutils</packagereq> <packagereq type="mandatory">cpio</packagereq> ... </packagelist> </group>
cd ~/kickstart_build/all_rpms sudo rpm -Uvh \ perl-Compress-Raw-Zlib-2.023-119.el6.x86_64.rpm \ perl-Compress-Zlib-2.020-119.el6.x86_64.rpm \ perl-HTML-Parser-3.64-2.el6.x86_64.rpm \ perl-HTML-Tagset-3.20-4.el6.noarch.rpm \ perl-IO-Compress-Base-2.020-119.el6.x86_64.rpm \ perl-IO-Compress-Zlib-2.020-119.el6.x86_64.rpm \ perl-libwww-perl-5.833-2.el6.noarch.rpm \ perl-URI-1.40-2.el6.noarch.rpm \ perl-XML-Parser-2.36-7.el6.x86_64.rpm \ perl-XML-Simple-2.18-6.el6.noarch.rpm
sudo rpm -Uvh \ perl-Compress-Raw-Zlib-2.020-127.el6.x86_64.rpm \ perl-Compress-Zlib-2.020-127.el6.x86_64.rpm \ perl-HTML-Parser-3.64-2.el6.x86_64.rpm \ perl-HTML-Tagset-3.20-4.el6.noarch.rpm \ perl-IO-Compress-Base-2.020-127.el6.x86_64.rpm \ perl-IO-Compress-Zlib-2.020-127.el6.x86_64.rpm \ perl-libwww-perl-5.833-2.el6.noarch.rpm \ perl-URI-1.40-2.el6.noarch.rpm \ perl-XML-Parser-2.36-7.el6.x86_64.rpm \ perl-XML-Simple-2.18-6.el6.noarch.rpm
cd ~/kickstart_build/isolinux/Packages ~/kickstart_build/utils/parse_comps.pl ~/kickstart_build/comps.xml ~/kickstart_build/all_rpms x86_64
cd ~/kickstart_build/isolinux/Packages ~/kickstart_build/utils/follow_deps.pl ~/kickstart_build/all_rpms x86_64
mkdir /tmp/testdb rpm --initdb --dbpath /tmp/testdb rpm --test --dbpath /tmp/testdb -Uvh *.rpm
/usr/bin/strip is needed by redhat-lsb-3.1-12.3.EL.el5.centos.x86_64
rpm -q --whatprovides /usr/bin/strip
http://ken-etsu-tech.blogspot.jp/2008/01/anaconda-kickstartpost.html
%post exec < /dev/tty3 > /dev/tty3 /usr/bin/chvt 3 ~略~ /usr/bin/chvt 1 %end