canonical / real-time-ubuntu-docs

Real-time Ubuntu documentation
https://documentation.ubuntu.com/real-time
0 stars 1 forks source link

Document downloading source packages #48

Open khbecker opened 3 days ago

khbecker commented 3 days ago

We should document how Pro users can pull down the source for linux-realtime.

First they need to have realtime-kernel enabled with pro (or at least get access with sudo pro enable realtime-kernel --access-only) and then run sudo apt-get source <realtime linux package name>. For example, for the latest version currently, you would run sudo apt-get source linux-image-unsigned-6.8.1-1003-realtime. This will download the kernel tree for that version in a folder labelled linux-realtime-6.8.1.

marcelocerri commented 3 days ago

Some kernels don't have have linux-image-unsigned (because they are not signed). A more generic solution would be to use the modules package instead.

khbecker commented 12 hours ago

Thanks for the info. Andy let me know of another way to do it that is more generic: sudo apt-get source --only-source linux-realtime