Line 139: |
Line 139: |
| | | |
| create the followings directories | | create the followings directories |
− |
| |
| mkdir -p ./run/install/product/pyanaconda/installclasses | | mkdir -p ./run/install/product/pyanaconda/installclasses |
| mkdir -p ./usr/lib64/python2.7/site-packages/pyanaconda/installclasses | | mkdir -p ./usr/lib64/python2.7/site-packages/pyanaconda/installclasses |
Line 146: |
Line 145: |
| mkdir ./usr/share/xml/scap/ssg/content | | mkdir ./usr/share/xml/scap/ssg/content |
| mkdir ./etc | | mkdir ./etc |
− |
| |
− |
| |
| | | |
| add following files and edit (I think only one of them would be useful): | | add following files and edit (I think only one of them would be useful): |
− | ./run/install/product/pyanaconda/installclasses/custom.py | + | ./run/install/product/pyanaconda/installclasses/custom.py |
− | ./run/install/product/pyanaconda/installclasses/koozali.py | + | ./run/install/product/pyanaconda/installclasses/koozali.py |
− | | |
| | | |
| make a copy of the following from the original rootfs and edit in case to hide the centos one : | | make a copy of the following from the original rootfs and edit in case to hide the centos one : |
− | | + | ./usr/lib64/python2.7/site-packages/pyanaconda/installclasses/centos.py |
− | ./usr/lib64/python2.7/site-packages/pyanaconda/installclasses/centos.py | |
| | | |
| we can put one here too (I think only one of them would be useful): | | we can put one here too (I think only one of them would be useful): |
− | ./usr/lib64/python2.7/site-packages/pyanaconda/installclasses/koozali.py | + | ./usr/lib64/python2.7/site-packages/pyanaconda/installclasses/koozali.py |
− | | |
| | | |
| make a copy and edit the following from the original rootfs: | | make a copy and edit the following from the original rootfs: |
− | | + | ./usr/share/anaconda/anaconda-gtk.css |
− | ./usr/share/anaconda/anaconda-gtk.css | |
− | | |
| | | |
| put your own image there with he right format, and the following name to hide the original centos files (you can also add more) | | put your own image there with he right format, and the following name to hide the original centos files (you can also add more) |
− | | + | ./usr/share/anaconda/pixmaps/rnotes/en/centos-artwork.png |
− | ./usr/share/anaconda/pixmaps/rnotes/en/centos-artwork.png | + | ./usr/share/anaconda/pixmaps/rnotes/en/centos-cloud.png |
− | ./usr/share/anaconda/pixmaps/rnotes/en/centos-cloud.png | + | ./usr/share/anaconda/pixmaps/rnotes/en/centos-core.png |
− | ./usr/share/anaconda/pixmaps/rnotes/en/centos-core.png | + | ./usr/share/anaconda/pixmaps/rnotes/en/centos-jp.png |
− | ./usr/share/anaconda/pixmaps/rnotes/en/centos-jp.png | + | ./usr/share/anaconda/pixmaps/rnotes/en/centos-promotion.png |
− | ./usr/share/anaconda/pixmaps/rnotes/en/centos-promotion.png | + | ./usr/share/anaconda/pixmaps/rnotes/en/centos-virtualization.png |
− | ./usr/share/anaconda/pixmaps/rnotes/en/centos-virtualization.png | + | ./usr/share/anaconda/pixmaps/sidebar-bg.png |
− | ./usr/share/anaconda/pixmaps/sidebar-bg.png | + | ./usr/share/anaconda/pixmaps/sidebar-logo.png |
− | ./usr/share/anaconda/pixmaps/sidebar-logo.png | + | ./usr/share/anaconda/pixmaps/topbar-bg.png |
− | ./usr/share/anaconda/pixmaps/topbar-bg.png | |
− | | |
| | | |
| | | |
| there are a lot of centos reference there, maybe we want to do something with it: | | there are a lot of centos reference there, maybe we want to do something with it: |
− | ./usr/share/xml/scap/ssg/content/ssg-centos6-ds.xml | + | ./usr/share/xml/scap/ssg/content/ssg-centos6-ds.xml |
− | ./usr/share/xml/scap/ssg/content/ssg-centos7-ds.xml | + | ./usr/share/xml/scap/ssg/content/ssg-centos7-ds.xml |
− | ./usr/share/xml/scap/ssg/content/ssg-centos7-xccdf.xml | + | ./usr/share/xml/scap/ssg/content/ssg-centos7-xccdf.xml |
− | ./usr/share/xml/scap/ssg/content/ssg-firefox-ds.xml | + | ./usr/share/xml/scap/ssg/content/ssg-firefox-ds.xml |
− | ./usr/share/xml/scap/ssg/content/ssg-jre-ds.xml | + | ./usr/share/xml/scap/ssg/content/ssg-jre-ds.xml |
− | ./usr/share/xml/scap/ssg/content/ssg-rhel7-cpe-dictionary.xml | + | ./usr/share/xml/scap/ssg/content/ssg-rhel7-cpe-dictionary.xml |
− | ./usr/share/xml/scap/ssg/content/ssg-rhel7-cpe-oval.xml | + | ./usr/share/xml/scap/ssg/content/ssg-rhel7-cpe-oval.xml |
− | ./usr/share/xml/scap/ssg/content/ssg-rhel7-oval.xml | + | ./usr/share/xml/scap/ssg/content/ssg-rhel7-oval.xml |
− | | |
| | | |
| and the branding of the os installer: | | and the branding of the os installer: |
− | | + | ./etc/centos-release |
− | | + | ./etc/os-release |
− | ./etc/centos-release | + | ./etc/redhat-release |
− | ./etc/os-release | + | ./etc/e-smith-release |
− | ./etc/redhat-release | + | ./etc/system-release-cpe |
− | ./etc/e-smith-release | |
− | ./etc/system-release-cpe | |
| | | |
| edit the buildstamp accordingly | | edit the buildstamp accordingly |
− | | + | ./.buildstamp |
− | ./.buildstamp | |
| | | |
| do the following: | | do the following: |