dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.56k stars 1.24k forks source link

RFT: croagh framework #176

Closed dnschneid closed 11 years ago

dnschneid commented 11 years ago

I've created a branch called "croagh" that adds a framework and abstractions that should make it reasonably straightforward to add new distributions with minimal to no duplicated code.

But first, we have to make sure the new installer framework doesn't screw up anything, so please test croagh with everything you can. If it installs and upgrades chroots without any errors, it should be fine (since nothing after that has fundamentally changed).

Once that's confirmed OK and merged, we can look into bringing @drinkcat's Arch bootstrap code and compatibility into master. I'll have to start thinking of a new explanation for the project's name...

mmirg commented 11 years ago

David, emptying the xkb cache didn't do the trick. I just tried it again to verify.

Edit: Here's the patch I'm testing https://gist.github.com/mmirg/5770118

Edit 2: Bizarre, it seems to be working now, although when I assign Overlay1_Enable to RALT, I can get all of the shortcuts except for F10 (VOL+) to work. Any ideas? @drinkcat ?

mmirg commented 11 years ago

I answered by own question, it's because of a patch to the kernel on the ChromeOS side for magic sysrq handling: https://gerrit.chromium.org/gerrit/#/c/29275/

@dnschneid There isn't a way around this, is there? I don't seem to have write access to /proc/sys/kernel/sysrq . If not, it seems like it might be handy to add it to the wiki or documentation since this keymapping is not really clear anywhere on the ChromeOS side and alt+F10 is not an uncommon keyboard shortcut in standard GNU/Linux land.

sysrq seems to be set in /etc/init/hotkey-access.conf

Edit: Ugh, I'm totally brain dead today. It's solved through the overlay mapping of the number keys to function keys.

dnschneid commented 11 years ago

Sure, it would be handy to have in the wiki. Go ahead and add it :)

dnschneid commented 11 years ago

Welp, it's merged! Let the issues come rolling in.