Changes

Jump to navigation Jump to search
Line 102: Line 102:  
Hence I feel we will have to do the same to hide all Centos branding.[[User:Unnilennium|Unnilennium]] ([[User talk:Unnilennium|talk]]) 17:20, 17 July 2016 (CEST)
 
Hence I feel we will have to do the same to hide all Centos branding.[[User:Unnilennium|Unnilennium]] ([[User talk:Unnilennium|talk]]) 17:20, 17 July 2016 (CEST)
   −
=== how to steps  (WIP)===
+
=== how to steps for SME 10 alpha 2 (WIP)===
 +
 
 +
as the product.img is unable to change the centos 7 branding in the installer even if the files are replaced Anaconda seems to ignore them or just launch before the modification take place):
    
* first extract the content of Live image, and the image of Anaconda inside
 
* first extract the content of Live image, and the image of Anaconda inside
 
  cd /build/smeserver/stage/10.0.alpha1/x86_64/LiveOS/
 
  cd /build/smeserver/stage/10.0.alpha1/x86_64/LiveOS/
  mkdir squashfs
+
  mkdir /mnt/squashfs
  sudo mount -o loop squashfs.img squashfs
+
  sudo mount -o loop squashfs.img /mnt/squashfs
  mkdir rootfs
+
  mkdir -p  /tmp/rootfs/LiveOS
  sudo mount -o loop squashfs/LiveOS/rootfs.img rootfs
+
cp -a /mnt/squashfs/LiveOS/rootfs.img /tmp/rootfs/LiveOS/
 +
mkdir /mnt/rootfs
 +
sudo umount /mnt/squashfs
 +
  sudo mount -o loop /tmp/rootfs/LiveOS/rootfs.img /mnt/rootfs
      Line 117: Line 122:  
NB: cp and rm inside the fs will need to be done with sudo :(
 
NB: cp and rm inside the fs will need to be done with sudo :(
   −
# /usr/share/anaconda/pixmaps/ content (logo, side bar, top bar, etc.)  
+
# usr/share/anaconda/pixmaps/ content (logo, side bar, top bar, etc.)  
# /usr/share/anaconda/pixmaps/rnotes/en/ content  (Banners for the installation progress screen)
+
# usr/share/anaconda/pixmaps/rnotes/en/ content  (Banners for the installation progress screen)
# /usr/share/anaconda/anaconda-gtk.css (gui stylesheet)
+
# usr/share/anaconda/anaconda-gtk.css (gui stylesheet)
# /run/install/product/pyanaconda/installclasses/ (for changing the product name)
+
# run/install/product/pyanaconda/installclasses/custom.py (for changing the product name as told by red hat)
 +
# usr/lib64/python2.7/site-packages/pyanaconda/installclasses/centos.py ( to effectively change the product name!! )
   −
# addons, we do not need for now /usr/share/anaconda/addons/
+
we can also remove centos pictures in rnotes this way.
# we might want to patch anaconda and copy files where necessary (later stage)
         
* finally rebuild images
 
* finally rebuild images
  sudo umount squashfs
+
  sudo umount /mnt/rootfs
  sudo umount rootfs
+
rm /build/smeserver/stage/10.0.alpha1/x86_64/LiveOS/squashfs.img
  rmdir rootfs
+
  cd /build/smeserver/stage/10.0.alpha1/x86_64/LiveOS/
 +
  mksquashfs /tmp/rootfs squashfs.img
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu