Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for other OSes #24

Closed
nebrius opened this issue Mar 27, 2015 · 19 comments
Closed

Add support for other OSes #24

nebrius opened this issue Mar 27, 2015 · 19 comments

Comments

@nebrius
Copy link
Owner

nebrius commented Mar 27, 2015

I think that Raspbian is the only OS raspi-io works on, although I'm not certain. We should confirm and make sure it does work on others, especially pidora.

@derekwheee
Copy link

Installing Ubuntu on my Pi 2 now. Will report back soon!

@wadtech
Copy link

wadtech commented Jun 11, 2015

Ubuntu Core aside, we were going to use Ubuntu Mate to get easier access to a newer version of chromium.

Did you have any success with this @Frxnz ?

@derekwheee
Copy link

@wadtech This was a few months ago, but I had pretty bad luck with Ubuntu. Hopefully things have gotten better since then.

@wadtech
Copy link

wadtech commented Jun 12, 2015

Cheers, I'll let you know how I get on then

@cardimajs
Copy link

please make rasp-io work on Arch Linux

@wadtech
Copy link

wadtech commented Oct 13, 2015

Just for an update: it went really badly. Although it seemed that copying the vendor folder over from raspbian actually worked fine, it's just the install itself that wasn't right.

ymmv obviously.

@nebrius
Copy link
Owner Author

nebrius commented Oct 13, 2015

@wadtech thanks for checking that out. If I were to guess, I would say it's because of https://github.com/nebrius/raspi-i2c/blob/master/script/enable_i2c.js

We'll probably need a different version of that script for each OS 😖

@andrewn
Copy link
Collaborator

andrewn commented Nov 15, 2015

I tried to install an app using rapsi-io on a Raspberry Pi using the Resin platform.

I think this script caused the install to hang and then fail because it waits for user input.

It would be great to have a way to optionally disable these scripts from running, perhaps by setting an environment variable on install? The user would then be responsible for ensuring I2C is enabled on their platform.

@nebrius
Copy link
Owner Author

nebrius commented Nov 15, 2015

Good idea @andrewn, I like it.

Is this something you need asap? I'm really swamped, and don't really have time to work on raspi-io at the moment, sadly.

Would you be willing to implement it? It should be pretty straightfoward. Just add a process.exit call towards the top of the enable_i2c script linked above

@ekryski
Copy link
Contributor

ekryski commented Dec 3, 2015

I had the same issue. There are potentially 2 problems with the i2c post install work:

  1. If you are not installing using sudo or are not root then you will be prompted for your password

  2. It assumes that /boot/config.txt is present. When running inside docker it won't be. I hacked around this by touch /boot/config.txt inside the container.

I'm going to check out resin.io right now but I might be able to get a PR in tomorrow, doing pretty much what you suggested @nebrius.

@nebrius
Copy link
Owner Author

nebrius commented Jan 7, 2016

Ubuntu support is in!

@ekryski
Copy link
Contributor

ekryski commented Jan 7, 2016

Woooot! 🎉

@philraj
Copy link

philraj commented Mar 17, 2016

Got it running beautifully in Arch ARM, for future reference.

@Swizz
Copy link

Swizz commented Apr 1, 2016

Hi @philraj,
It will work out of the box ?

@philraj
Copy link

philraj commented Apr 1, 2016

@Swizz I guess it depends on your definition of 'out of the box'. :)

I had some weird issues with the build process (npm was installing modules into the wrong folders), but running rm -rf node_modules and reinstalling raspi-io fixed it.

@Swizz
Copy link

Swizz commented Apr 4, 2016

@philraj I tried it.

Something weird happened. All gyp packages have needed to be build separately.
It is truly blocking in a push-to-deploy philosophy.

@nebrius
Copy link
Owner Author

nebrius commented Sep 25, 2017

This issue has been open for a long time now, and I haven't made any progress on adding other OS's. Sorry, but it's not a priority for me.

That said, raspi-io has been reworked so that it has a much more modular architecture now. If someone needs a new OS supported that isn't supported out of the box, you can roll your own a lot more easily now. Take a look at https://github.com/nebrius/raspi-io/blob/master/src/index.js to see how to inject the OS-specific dependencies into raspi-io-core.

I'm closing this issue now, thank you everyone who participated and left feedback!

@nebrius nebrius closed this as completed Sep 25, 2017
@WebReflection
Copy link

In case anyone uses ArchLinux, I've written up a little how to:
https://medium.com/@WebReflection/how-to-raspi-io-on-archlinux-5d59229e5763

@bot2fa
Copy link

bot2fa commented Aug 26, 2018

use it make Last few GCs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants