tingbot / tingbot-os

📦 The Tingbot operating system
http://tingbot.com
37 stars 14 forks source link

Multi OS build compatibility #9

Closed Rob4001 closed 8 years ago

Rob4001 commented 8 years ago

Currently the Makefile utilizes the "ditto" command which is not available on Linux

Potentially changing to a cp or zip command would fix this issue

joerick commented 8 years ago

I've changed those calls to zip/unzip in 8d870d65a84c21f43d2e5d90d492cb469aa6ee88

I tried briefly to build it in an Ubuntu VM but booting Raspbian in QEMU didn't complete... not sure why, perhaps differences in expect or QEMU on these platforms?

I'll leave this open until somebody reports a successful build.

Rob4001 commented 8 years ago

Build now seems to work, there are additional build deps for linux namely : expect and qemu-system-arm as by default the qemu package will only install the native system library

joerick commented 8 years ago

What distro are you running @Rob4001?

Rob4001 commented 8 years ago

Fedora

joerick commented 8 years ago

Thanks, got it working on Fedora.

Here are the steps to build on Linux, for reference:

$ sudo yum install expect qemu-system-arm git make zip unzip dpkg python
$ git clone http://github.com/tingbot/tingbot-os
$ cd tingbot-os
$ make

Also, it can't be run by root for some reason.