Changes

From SME Server
Jump to navigationJump to search
Line 107: Line 107:  
  cd /build/smeserver/stage/10.0.alpha1/x86_64/LiveOS/
 
  cd /build/smeserver/stage/10.0.alpha1/x86_64/LiveOS/
 
  mkdir squashfs
 
  mkdir squashfs
  sudo mount -r -o loop squashfs.img squashfs
+
  sudo mount -o loop squashfs.img squashfs
mkdir mysquash
  −
cp -ar squashfs mysquash
  −
sudo umount squashfs
  −
rmdir squashfs  
   
  mkdir rootfs
 
  mkdir rootfs
  sudo mount -r -o loop mysquashfs/LiveOS/rootfs.img rootfs
+
  sudo mount -o loop squashfs/LiveOS/rootfs.img rootfs
mkdir myrootfs
+
 
cp -ar rootfs myrootfs
  −
umount rootfs
  −
rmdir rootfs
      
*then we have to modify what we want like usual
 
*then we have to modify what we want like usual
    
WORK IN PROGRESS:
 
WORK IN PROGRESS:
 +
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.)  
Line 133: Line 127:     
* finally rebuild images
 
* finally rebuild images
  cd myrootfs
+
  sudo umount squashfs
  find . | cpio -c -o | gzip -9cv > ../rootfs.img
+
  sudo umount rootfs
cd ../..
+
  rmdir rootfs
  mv rootfs.img mysquashfs/LiveOS/
  −
cd mysquashfs
  −
find . | cpio -c -o | gzip -9cv > ../squashfs.img
 
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu