Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 23: Line 23:  
* There is also an update to /usr/lib/python2.6/site-packages/mockbuild/mounts.py that needs to happen so loop devices get mounted correctly. Check /var/lib/mock/smeserver-VERSION-ARCH/result/root.log after mock -r smeserver-VERSION-ARCH-iso --init (eg mock -r smeserver-8-i386-iso --init). The mounting of the /dev/loopX should pass (return code 0). If it fails (return code 32) then the patch below is needed on your build host.
 
* There is also an update to /usr/lib/python2.6/site-packages/mockbuild/mounts.py that needs to happen so loop devices get mounted correctly. Check /var/lib/mock/smeserver-VERSION-ARCH/result/root.log after mock -r smeserver-VERSION-ARCH-iso --init (eg mock -r smeserver-8-i386-iso --init). The mounting of the /dev/loopX should pass (return code 0). If it fails (return code 32) then the patch below is needed on your build host.
   −
<nowiki>
+
 
@@ -83,6 +83,9 @@
+
@@ -83,6 +83,9 @@
 
     decorate(traceLog())
 
     decorate(traceLog())
 
     def mount(self):
 
     def mount(self):
+        if not os.path.isdir(self.srcpath) and not os.path.isfile(self.srcpath):
+
+        if not os.path.isdir(self.srcpath) and not os.path.isfile(self.srcpath):
+            mockbuild.util.touch(self.bindpath)
+
+            mockbuild.util.touch(self.bindpath)
+
+
+
 
         if not self.mounted:
 
         if not self.mounted:
 
             cmd = ['/bin/mount', '-n',
 
             cmd = ['/bin/mount', '-n',
 
                     '--bind', self.srcpath, self.bindpath ]
 
                     '--bind', self.srcpath, self.bindpath ]
</nowiki>
+
 
      Line 46: Line 46:     
* Logs --[[User:Stephdl|Stephdl]] ([[User talk:Stephdl|talk]]) 12:15, 31 December 2014 (CET)  
 
* Logs --[[User:Stephdl|Stephdl]] ([[User talk:Stephdl|talk]]) 12:15, 31 December 2014 (CET)  
You can find logs of the iso build
+
You can find logs of the related scripts build_ISO and build_installer
 
  /build/smeserver/stage/8/build_ISO.i386
 
  /build/smeserver/stage/8/build_ISO.i386
 
&
 
&

Navigation menu