; vim:et:ts=4:sw=4:ai:tw=0 ; ; Here is a list of variables that you can use in the file ; that will automatically be replaced with their correct value ; at runtime. ; platform ; dsaPath ; upPath ; dpPath [rh30] display_name = "Red Hat Enterprise Linux (version 3) x86 Update 6" filter_function="import DellLib.dsa.OsEnable as foo; (enable_os, messages) = foo.getLinuxCapable( x64=0, ver='RHEL3' ); " cd_list = [ 'rh30cd1', 'rh30cd2', 'rh30cd3', 'rh30cd4' ] replace_files = [ "%(dpPath)s/ks.cfg", "%(dpPath)s/linux/script/400-driver-updates.sh", "%(dpPath)s/boot/grub/grub.conf" ] partitioning_strategy="LinuxDP" strategy=[ "rhel30Strategy", "DynamicDriverDetectStrategy"] up_copy_size=30 dp_copy_size=1774 dsa_files = [ # everything here is for the DP, except as noted. # important: copy io.sys _first_ or dos will not boot ( "%(dsaPath)s/dsa/drmk/.", "%(upPath)s/" ), # note these go on UP ( "%(dsaPath)s/server_assistant/pexxxx/upimg.bin", "%(upPath)s/", "cnfo" ), # note these go on UP ( "%(dsaPath)s/server_assistant/%(platform)s/upimg.bin", "%(upPath)s/", "cnfo" ), # note these go on UP ( "%(dsaPath)s/server_assistant/pexxxx/linux/rh30/.", "%(dpPath)s/linux/" ), ( "%(dsaPath)s/server_assistant/%(platform)s/linux/rh30/.", "%(dpPath)s/linux/", "crfo" ), ( "%(dpPath)s/linux/ks.cfg", "%(dpPath)s/" ), # copy automatically pulled drivers. ( "%(dsaPath)s/server_assistant/drivers/.", "%(dpPath)s/drivers", "crfo" ), #OM Install stuff ( "%(dsaPath)s/srvadmin/linux/RPMS/.", "%(dpPath)s/serveradministrator/RPMS", "crfo"), ( "%(dsaPath)s/srvadmin/linux/supportscripts/.", "%(dpPath)s/serveradministrator/supportscripts", "crfo"), ( "%(dsaPath)s/srvadmin/linux/RPM-GPG-KEY", "%(dpPath)s/serveradministrator/", "crfo"), ] ; quote all strings in CD declarations [rh30cd1] display_name = "Red Hat Enterprise Linux 3.0 (U6) CD 1" size=50 cd_type="Base" identity_type ="Custom" # Dont accept Update CDs. We support only AS 3.0 Gold CD # beginning 11/14/2005, we only support Update 6 identity_custom="""self._identifyByFileContent( ".discinfo", r"^Red Hat Enterprise Linux 3" ) \ and self._identifyByFileContent( ".discinfo", r"^1$" ) \ and self._identifyByFileContent( ".discinfo", r"^i386$" ) \ and self._identifyByFileContent( "README-en", r"Taroon Update 6" )""" ; note - don't use leading slash below copy_type=["DestIsIso", "DestIsDir"] copy_iso = "%(dpPath)s/RedHat30_disc1.iso" copy_file=[ ("dosutils/loadlin.exe", "%(dpPath)s/linux/"), ("isolinux/vmlinuz", "%(dpPath)s/linux/"), ("isolinux/initrd.img", "%(dpPath)s/linux/"), # # Instructions for platform overrides for initrd/kernel: # platform-specific kernel/initrd should be stored in # /pexxxx/linux/9/platform/loadlin.exe # /pexxxx/linux/9/platform/vmlinuz # /pexxxx/linux/9/platform/initrd.img # they will be copied into place here. # ( "%(dpPath)s/linux/platform/loadlin.exe", "%(dpPath)s/linux/", "cnfo" ), ( "%(dpPath)s/linux/platform/vmlinuz", "%(dpPath)s/linux/", "cnfo" ), ( "%(dpPath)s/linux/platform/initrd.img", "%(dpPath)s/linux/", "cnfo" ), ( "%(dpPath)s/linux/platform/modinfo", "%(dpPath)s/", "cnfo" ), ( "%(dpPath)s/linux/platform/modules.cgz", "%(dpPath)s/", "cnfo" ), ( "%(dpPath)s/linux/platform/modules.dep", "%(dpPath)s/", "cnfo" ), ( "%(dpPath)s/linux/platform/pcitable", "%(dpPath)s/", "cnfo" ), ( "%(dpPath)s/linux/platform/rhdd-6.1", "%(dpPath)s/", "cnfo" ), ] [rh30cd2] display_name = "Red Hat Enterprise Linux 3.0 (U6) CD 2" size=50 cd_type="Base" identity_type ="Custom" # binutils-2.14.90.0.4-26.i386.rpm is present only in Gold CD. Update CDs have a different # version of bin-utils rpm # emacs-nox-21.3-4.7.i386.rpm is only added in U6 identity_custom="""self._identifyByFileContent( ".discinfo", r"^Red Hat Enterprise Linux 3" ) \ and self._identifyByFileContent( ".discinfo", r"^2$" ) \ and self._identifyByFileContent( ".discinfo", r"^i386$" ) \ and self._identifyByPath("RedHat/RPMS/emacs-nox-21.3-4.7.i386.rpm")""" ; note - don't use leading slash below copy_type=["DestIsIso"] copy_iso = "%(dpPath)s/RedHat30_disc2.iso" [rh30cd3] display_name = "Red Hat Enterprise Linux 3.0 (U6) CD 3" size=50 cd_type="Base" identity_type ="Custom" # compat-gcc-7.3-2.96.122.i386.rpm is present only in Gold CD. Update CDs have a different # version of compat-gcc rpm # bzip2-devel-1.0.2-11.EL3.4.i386.rpm is just updated from U5 identity_custom="""self._identifyByFileContent( ".discinfo", r"^Red Hat Enterprise Linux 3" ) \ and self._identifyByFileContent( ".discinfo", r"^3$" ) \ and self._identifyByFileContent( ".discinfo", r"^i386$" ) \ and self._identifyByPath("RedHat/RPMS/bzip2-devel-1.0.2-11.EL3.4.i386.rpm")""" ; note - don't use leading slash below copy_type=["DestIsIso"] copy_iso = "%(dpPath)s/RedHat30_disc3.iso" [rh30cd4] display_name = "Red Hat Enterprise Linux 3.0 (U6) CD 4" size=50 cd_type="Base" identity_type ="Custom" # gimp-1.2.3-20.1.i386.rpm is present only in Gold CD 4. Update CDs have this rpm in CD 3 # gnome-games-2.2.1-5.i386.rpm is just updated from U5 identity_custom="""self._identifyByFileContent( ".discinfo", r"^Red Hat Enterprise Linux 3" ) \ and self._identifyByFileContent( ".discinfo", r"^4$" ) \ and self._identifyByFileContent( ".discinfo", r"^i386$" ) \ and self._identifyByPath("RedHat/RPMS/gnome-games-2.2.1-5.i386.rpm")""" ; note - don't use leading slash below copy_type=["DestIsIso"] copy_iso = "%(dpPath)s/RedHat30_disc4.iso"