Changes

From SME Server
Jump to navigationJump to search
Line 56: Line 56:     
===='''Local Only''': Mock Special Settings====
 
===='''Local Only''': Mock Special Settings====
{{Note box|Due to local settings you have to edit each configuration of mock and edit '''smeserver-X-{i386,x86_64}-iso.cfg''' files to include /build in the chroot}}
+
* hard-coded UID of release account
 +
 
 +
verify that in all /etc/mock/smeserver-*-*-iso.cfg you have config_opts['chrootuid'] = os.getuid()
 +
- config_opts['chrootuid'] = 10020
 +
+ config_opts['chrootuid'] = os.getuid()
 +
 
 +
* {{Note box|Due to local settings you have to edit each configuration of mock and edit '''smeserver-X-{i386,x86_64}-iso.cfg''' files to include /build in the chroot}}
 
:''These are the changes that you need to made if you do not have the nfs mounts on your local machine
 
:''These are the changes that you need to made if you do not have the nfs mounts on your local machine
 
  config_opts['plugin_conf']['mount_opts']['dirs'].append(('storage:/export/build', '/build', 'nfs', 'defaults,noatime,nodiratime,nosuid'))
 
  config_opts['plugin_conf']['mount_opts']['dirs'].append(('storage:/export/build', '/build', 'nfs', 'defaults,noatime,nodiratime,nosuid'))

Navigation menu