Changes

From SME Server
Jump to navigationJump to search
398 bytes added ,  23:53, 15 September 2014
Line 294: Line 294:  
  #yum -c "$yum_config" --installroot="$target" --setopt=tsflags=nodocs \
 
  #yum -c "$yum_config" --installroot="$target" --setopt=tsflags=nodocs \
 
  #--setopt=group_package_types=mandatory -y groupinstall Core
 
  #--setopt=group_package_types=mandatory -y groupinstall Core
 +
 +
###here it is for testing purpose, you will build a pure centos base docker image (keep only one yum line of course)
 
  #yum -c "/root/repo_file" --installroot="$target" --setopt=tsflags=nodocs --setopt=group_package_types=mandatory -y groupinstall Core ###this line is to test and build a pure centos base in order to test
 
  #yum -c "/root/repo_file" --installroot="$target" --setopt=tsflags=nodocs --setopt=group_package_types=mandatory -y groupinstall Core ###this line is to test and build a pure centos base in order to test
  yum -c "/root/repo_file" --installroot="$target" --setopt=tsflags=nodocs --setopt=group_package_types=mandatory -y install --disablerepo=* --enablerepo=smeos,smeextras e-smith\* smeserver\*
+
###with the line below we take all from smeos, not really uptodate
   
+
  #yum -c "/root/repo_file" --installroot="$target" --setopt=tsflags=nodocs --setopt=group_package_types=mandatory -y install --disablerepo=* --enablerepo=smeos,smeextras e-smith\* smeserver\*
 +
###here we take rpm in the most uptodate version
 +
  yum -c "/root/repo_file" --installroot="$target" --setopt=tsflags=nodocs --setopt=group_package_types=mandatory -y install e-smith\* smeserver\*
 +
 
 +
###a bit of clean
 
  yum -c "/root/repo_file" --installroot="$target" -y clean all
 
  yum -c "/root/repo_file" --installroot="$target" -y clean all
 
   
 
   

Navigation menu