Forum archive
TKLDev can't build core
I followed the documentation on the GitHub page, but everytime I try to make the core I get errors.
root@tkldev ~# cd /turnkey/fab/products/core/
root@tkldev products/core# make
deck -D build/bootstrap
deck /turnkey/fab/bootstraps/wheezy build/bootstrap
Traceback (most recent call last):
File "/usr/lib/deck/wrapper.py", line 18, in <module>
CliWrapper.main()
File "/usr/lib/python2.7/dist-packages/pyproject.py", line 388, in main
commands.run(name, args)
File "/usr/lib/python2.7/dist-packages/pyproject.py", line 261, in run
command.module.main()
File "/usr/lib/deck/pylib/cmd_deck.py", line 128, in main
func(source_path, new_deck)
File "/usr/lib/deck/pylib/deck.py", line 299, in create
Deck.init_create(source_path, deck_path)
File "/usr/lib/deck/pylib/deck.py", line 215, in init_create
deck.mount()
File "/usr/lib/deck/pylib/deck.py", line 246, in mount
aufs.mount(levels, self.path)
File "/usr/lib/deck/pylib/aufs.py", line 35, in mount
command("useraufs-mount", "--udba=reval", path, *branches)
File "/usr/lib/python2.7/dist-packages/executil.py", line 66, in getoutput
raise ExecError(command, exitcode, output)
executil.ExecError: non-zero exitcode (1) for command: useraufs-mount '--udba=reval' 'build/bootstrap' '/turnkey/fab/products/core/build/.deck/levels/3674988187acee5a585bc7f0377f519a' '/turnkey/fab/bootstraps/wheezy'
mount: block device none is write-protected, mounting read-only
mount: cannot mount block device none read-only
fatal: non-zero exitcode (32) for command: mount -t aufs -o 'dirs=/turnkey/fab/products/core/build/.deck/levels/3674988187acee5a585bc7f0377f519a:/turnkey/fab/bootstraps/wheezy,udba=reval' 'none' 'build/bootstrap'
make: *** [build/stamps/bootstrap] Error 1What do I do?
As mentioned in this post, I think my problem is using OVZ. I will reinstall with KVM.
EDIT: Yup, don't use OVZ