crouton
crouton copied to clipboard
Archlinux support
This adds support for Arch Linux/Arch Linux ARM. It has been around in my repo for a long time now, with a good number of users I believe, and rarely has issues.
First 3 commits are not directly related to arch, but necessary (especially the last 2).
Just FYI, I've been using this for a bit and it's working quite well.
Is it possible to resolve the above merge conflicts and have Arch Linux support in Crouton core please?
Probably after #1144 is merged.
phew.
Thanks for this. Just tell me when you would like me to manually test it.
Any news on this? I have not looked into all the code, but after a few weeks of testing it seems fine! (Tested on an Acer CB5, Tegra K1)
Any news on this?
As you can see there are a large number of comments in the review. Then, I need to rebase on the latest crouton, and port new features like xiwi. So, it's going to take some time...
Addressed everything but:
- https://github.com/dnschneid/crouton/pull/1201#discussion_r23336865
- https://github.com/dnschneid/crouton/pull/1201#discussion_r23338406
Will proceed to rebase...
Note to self, I think install with a proxy is broken (some fetching is done before the proxy is setup...)
Merged master back into this branch, added xiwi support.
Still a number of issues:
- The 2 comments above
- Proxy support is broken
- Error message on pacman update is broken (
sudo enter-chroot -n -u 0
) - Test xbmc
- Add hold/unhold function to reduce code duplication, adapt to xiwi target
Today I checked out this branch and ran 'make all'. The binary croutonfreon
failed to build, apparently because src/freon.c
is missing a main()
function. I'm insufficiently familiar with crouton to know what that really means. The crouton
shell script built without errors.
I ran the script with the following command line: sudo sh -e ./Downloads/croagh_arch -r arch -t xiwi,cli-extra
. It exited with the following error:
Patching Xorg dummy driver (xrandr 1.2 support)...
patching file src/dummy_driver.c
Compiling Xorg dummy driver...
Installing Xorg dummy driver...
/prepare.sh: line 5035: syntax error near unexpected token `<<<'
Failed to complete chroot setup.
Unmounting /usr/local/chroots/arch...
chronos@localhost ~ $
I tracked this down to targets/xiwi
having an unresolved merge between HEAD
and crouton/master
, probably during a rebase. A quick git grep
shows that this is the only merge conflict. I chose the HEAD
version, rebuilt crouton
, deleted my incomplete chroot, and started again. This time it ran through to completion.
The one thing I don't like is the removal of certain packages like binutils at the end of the build. I don't feel strongly enough to defend it at the moment, though, but if I do I'll submit a pull request.
@mathuin also pointed out that xterm isn't installed automatically on some targets.
FWIW I have this PR and the i3xiwi branch applied and so far have been having a fairly good experience. Can even bring up Android Studio in a xiwi window, which is absolutely awesome.
@dnschneid I dug around earlier before doing this and noticed the xiwi-app branch had been killed and I couldn't find any explanation as to why. Are those changes now a part of the xiwif branch or something? Perhaps that's one more set of changes I should apply.
EDIT: I should note that the xf86-video-dummy patch in targets/xiwi failed to apply, so I ended up manually modifying the source and changing the xiwi target to pull a tarball that was already patched instead of the original 0.3.7 source.
@EddieRingle xiwi-app got merged into master. i3xiwi is likely to get merged next, and xiwif is a bit of a testing ground at the moment.
@dnschneid Good to know! And yeah, the i3xiwi branch is running pretty smooth here.
Merged crouton/master back into this branch. Issues here still stand: https://github.com/dnschneid/crouton/pull/1201#issuecomment-75229301 .
And XMETHOD=xorg on freon is broken (you can start a server, but input devices do not to get grabbed, and you cannot switch back to Chrome OS).
Any chance for a rebase @drinkcat ?
Thanks for the work on this!
It looks like a lot of effort has gone into this, is it still being worked on?
@drinkcat are you still working on this? Can you point us out what is missing? maybe some of us can take this up to a merge ready state.
Lots of maintenance issues here. Maybe we can simplify things by using one of the pre-built bootstraps? I don't know how heavy they are; ARM would have to use something like a system image, but that would probably install too much.
Also, might want to consider not having separate arch/alarm releases
What is the current status of this pull request? Are you still actively working on it, @drinkcat?
@qntmpkts maintains a fork at https://github.com/qntmpkts/chroagh, and it works fine. To make it easier to keep up with upstream, I rebased all changes on that repo (except stuff no longer supported by upstream crouton) against crouton at zhaofengli/crouton. All commits there should cleanly apply.
Drinkcat Have you Updated chrough Yet it's been since 2013 since a release has came out and it does not work anymore!!!