0
我一直在嘗試使用模擬創建epel-7的chroot。關注此鏈接:http://miroslav.suchy.cz/blog/archives/2015/05/20/why_mock_does_not_work_on_el_6_and_el7_and_how_to_fix_it/index.html 我更改了我的.cfg文件。現在,當我TR創建chroot環境,我得到以下錯誤:如何使用模擬epel-7
sudo ./create_chroot.sh epel-7
INFO: mock.py version 1.2.8 starting (python version = 2.7.8)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Start: clean chroot
Finish: clean chroot
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled yum cache
Start: cleaning yum metadata
Finish: cleaning yum metadata
INFO: enabled ccache
Mock Version: 1.2.8
INFO: Mock Version: 1.2.8
Start: yum install
Error: Nothing to do
ERROR: Command failed. See logs for output.
正如我已經取得了/etc/mock/*.cfg文件的變化,我不知道爲什麼我還收到此錯誤。你能幫我弄清楚還有什麼其他的改變是必要的嗎? TIA