Forum archive
Critical error compiling a custom appliance
Hi All,
I am trying to create my first custom appliance while I will share once it's tested.
I have followed the documentation here: https://github.com/turnkeylinux-apps/tkldev/blob/master/docs/helloworld.rst and chrooted and made some changes to test.
When I run 'make' I run into the following error:
cp build/root.sandbox/boot/initrd.img-4.9.0-9-amd64 build/cdroot/casper/initrd.gz
rm -f build/cdroot/casper/20sandbox.squashfs
mksquashfs $(deck --get-level=last build/root.sandbox) build/cdroot/casper/20sandbox.squashfs
fatal: unrecognized option: --get-level=last
SYNTAX:mksquashfs source1 source2 ... dest [options] [-e list of exclude
Just wondering why this is happening and if there is a workaround for this?
Thanks in advance :)
We really need to update the TKLDev docs. Actually, we should at least update the docs to note that the sandbox is currently broken. That would save users such as yourself a bit of time...
Anyway, I'm really glad to hear that you worked it out. Please don't hesitate to post back if you have any further questions or feedback.
Also if you are working on an appliance that only includes open source software, then maybe we could look at adding it to the "official" TurnKey library? If you're interested in that, please push your code to GitHub (requires a free GitHub user account) and I'm more than happy to give some feedback and advice on meeting our requirements for inclusion.
Regardless, good luck with it!