Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 20: Line 20:       −
Also note http://bugs.contribs.org/show_bug.cgi?id=7675#c61
+
Also note http://bugs.contribs.org/show_bug.cgi?id=7675#c61 (the segment below needs some formatting)
   −
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.
+
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>
 
<nowiki>
Line 35: Line 35:  
                     '--bind', self.srcpath, self.bindpath ]
 
                     '--bind', self.srcpath, self.bindpath ]
 
</nowiki>
 
</nowiki>
 +
 +
 +
For SME Server 8 check that anaconda-runtime was installed in the mock instance. For SME 8 the anaconda-runtime needs to be installed, check /usr/lib/anaconda-runtime/mk-images* exists in the mock instance after the mock --init. (check /var/lib/mock/smeserver-8-i386/root/usr/lib/anaconda-runtime)
 +
 +
If it does not then run the following, assuming i386 ARCH.
 +
 +
mock -r smeserver-8-i386-iso --cwd /build/smeserver/stage/8 --chroot /usr/bin/yum install anaconda-runtime
 +
 +
 +
 +
mock -r smeserver-8-i386-iso --cwd /build/smeserver/stage/8 --chroot /usr/bin/yum install anaconda-runtime

Navigation menu