Coder Social home page Coder Social logo

crouton-packages's Introduction

This is a ubuntu/debian ppa for chromebook kernel headers.

Currently supported:

  • Kernel 3.4.0 Architecture arm, i386 and am64 ==> These all need testing.
  • Kernel 3.8.11 Architecture arm, i386 and am64 ==> amd64 is tested. i386 and arm needs testing.
  • Kernel 3.10.18 Architecture arm and amd64 ==> amd64 is tested. i386 and arm needs testing.

For being able to load modules outside /lib/modules from chromeos we will need to disable module_locking. This can be done by changing the kernel flags. I wrote a little script that does this for you and also has the option to revert the changes.
Open a crosh shell and follow on screen instructions:

$ cd ~/Downloads
$ wget https://raw.githubusercontent.com/divx118/crouton-packages/master/change-kernel-flags
$ sudo sh ~/Downloads/change-kernel-flags

When running sudo sh ~/Downloads/change-kernel-flags -h it will give you the usage. When you want to revert the changes so put back a backup kernel use -r
sudo sh ~/Downloads/change-kernel-flags -r

Note: You will need to repeat the above steps after each chromeos update.

Open a shell in your chroot:

$ cd ~
$ wget https://raw.githubusercontent.com/divx118/crouton-packages/master/setup-headers.sh
$ sudo sh setup-headers.sh

This script will:

  • add my signing key with which the packages are signed.
  • add the ppa to the sources.list.d
  • install linux-headers-
  • install linux-image-
  • add a rc.local script to load vboxdrv modules on entering the chroot if they are available.

Kernel headers are build according to this guide https://github.com/dnschneid/crouton/wiki/Build-kernel-headers-and-install-Virtualbox-(x86) kernel headers for arm are cross compiled.

crouton-packages's People

Contributors

bbigras avatar coryspitzer avatar divx118 avatar pigeonflight avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.