linux-unstable-rust

PPA description

Kernel linux-unstable with Rust support enabled
===============================================

Git repository: https://git.launchpad.net/~arighi/+git/linux

Steps to compile a Rust kernel module:

1) Add this ppa

2) Install prerequisite packages and rust-for-linux + linux-unstable from this ppa (and reboot):

$ sudo apt install bindgen flex bison libssl-dev libelf-dev rust-for-linux linux-image-6.1.0-2-generic linux-modules-extra-6.1.0-2-generic linux-modules-6.1.0-2-generic linux-headers-6.1.0-2-generic

$ sudo reboot

3) Git clone the linux source code:

$ git clone https://git.launchpad.net/~arighi/+git/linux

4) Prepare the linux source to build Rust modules (make sure EXTRAVERSION matches the exact kernel version suffix):

$ cd linux
$ cp /boot/config-6.1.0-2-generic .config
$ export PATH=/var/lib/rust-for-linux/bin:$PATH
$ make EXTRAVERSION=-2-generic LOCALVERSION= modules_prepare

5) Now you can build Rust modules using the prepared Linux source directory as your kernel source target

Adding this PPA to your system

You can update your system with unsupported packages from this untrusted PPA by adding ppa:arighi/linux-unstable-rust to your system's Software Sources. (Read about installing)

sudo add-apt-repository ppa:arighi/linux-unstable-rust
sudo apt update
        
Technical details about this PPA

This PPA can be added to your system manually by copying the lines below and adding them to your system's software sources.

Display sources.list entries for:
deb https://ppa.launchpadcontent.net/arighi/linux-unstable-rust/ubuntu YOUR_UBUNTU_VERSION_HERE main 
deb-src https://ppa.launchpadcontent.net/arighi/linux-unstable-rust/ubuntu YOUR_UBUNTU_VERSION_HERE main 
Signing key:
4096R/882A7727752A6461FCDDCFE5DCFA0E1546589D85 (What is this?)
Fingerprint:
882A7727752A6461FCDDCFE5DCFA0E1546589D85

Dependencies:

For questions and bugs with software in this PPA please contact Andrea Righi.

PPA statistics

Activity
0 updates added during the past month.
View package details

Overview of published packages

16 of 6 results
Package Version Uploaded by
linux-meta-unstable 6.1.0.3.5 Andrea Righi ()
linux-signed-unstable 6.1.0-3.3+rust2 Andrea Righi ()
linux-unstable 6.2.0-9.9+rust1 Andrea Righi ()
linux-unstable 6.1.0-3.3+rust2 Andrea Righi ()
rust-for-linux 1.62.0ubuntu3 Andrea Righi ()
rust-for-linux 1.62.0ubuntu2 Andrea Righi ()
16 of 6 results

Latest updates

  • linux-unstable 63 weeks ago
    Failed to build: amd64
  • rust-for-linux 65 weeks ago
    Successfully built
  • rust-for-linux 78 weeks ago
    Successfully built
  • linux-unstable 79 weeks ago
    Successfully built
  • linux-meta-unstable 79 weeks ago
    Successfully built