revive Ubuntu 24.04

This commit is contained in:
Ciro Santilli
2024-09-24 20:23:27 +01:00
parent 7d5bc0c898
commit 9c62faf2a0
3 changed files with 26 additions and 5 deletions

View File

@@ -18,7 +18,27 @@ https://zenodo.org/badge/latestdoi/64534859[image:https://zenodo.org/badge/64534
https://twitter.com/dakami/status/1344853681749934080[Dan Kaminski-approved]™ https://en.wikipedia.org/wiki/Dan_Kaminsky[RIP].
TL;DR: xref:qemu-buildroot-setup-getting-started[xrefstyle=full]
TL;DR: xref:qemu-buildroot-setup-getting-started[xrefstyle=full] tested on Ubuntu 24.04:
....
git clone https://github.com/cirosantilli/linux-kernel-module-cheat
cd linux-kernel-module-cheat
sudo apt install docker
python3 -m venv .venv
. .venv/bin/activate
./setup
./run-docker create
./run-docker sh
....
This leaves you inside a Docker shell. Then inside Docker:
....
./build --download-dependencies qemu-buildroot
./run
....
and you are now in a Linux userland shell running on QEMU with everything built fully from source.
The source code for this page is located at: https://github.com/cirosantilli/linux-kernel-module-cheat[]. Due to https://github.com/isaacs/github/issues/1610[a GitHub limitation], this README is too long and not fully rendered on github.com, so either use: