Changes

From SME Server
Jump to navigationJump to search
283 bytes removed ,  07:25, 11 June 2020
Line 49: Line 49:  
You have to install a new plugin for mock : Iso_prepare<br />
 
You have to install a new plugin for mock : Iso_prepare<br />
   −
copy the content of http://bugs.contribs.org/attachment.cgi?id=5145 and paste it in  
+
copy the content of https://bugs.contribs.org/attachment.cgi?id=6286 (updated for CentOS 7 and python 3.6) and paste it in  
  sudo vim /usr/lib/python2.6/site-packages/mockbuild/plugins/iso_prepare.py
+
  sudo vim /usr/lib/python3.6/site-packages/mockbuild/plugins/iso_prepare.py
 
on centos 7
 
on centos 7
  −
sudo vim /usr/lib/python2.7/site-packages/mockbuild/plugins/iso_prepare.py
  −
  −
then you will need to comment the two follwoing lines (32 and 33) if you build on a centos 7 box:
  −
#        for l in glob.glob("/dev/loop*"):
  −
#            buildroot.mounts.add(BindMountPoint(srcpath=l, bindpath=buildroot.make_chroot_path(l)))
      
===='''Local Only''': update_repos====
 
===='''Local Only''': update_repos====
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,240

edits

Navigation menu