amazon linux kernel code

0

i am working on a module and need to reference amazon linux kernel code. what is the link to amazon linux kernel code?

asked 5 years ago1527 views
5 Answers
0

If you have the yumdownloader utility (part of the yum-utils RPM), then you can download the source rpm:

yumdownloader --source kernel

At this point, you'd have a source RPM, which you can rebuild, extract, etc.:

mkdir tmp-kernel-dir
cd tmp-kernel-dir
rpm2cpio ../kernel-4.14.146-119.123.amzn2.src.rpm | cpio -idmv
answered 5 years ago
0

Currently we do not have any public repos for Amazon Linux Kernel code. But you can get it from the source rpm like Gregory mentioned above.

Thanks,

AWS
answered 5 years ago
0

thanks gregory, this worked

answered 5 years ago
0

Still no public repository for the Amazon Linux kernel source code?. I'm interested in inspecting the kernel source code history to determine when happened changes around CONFIG_INET_DIAG_DESTROY.

answered 3 years ago
0

Our kernel tree is now available on Github, here: https://github.com/amazonlinux/linux/
There is a branch for each kernel stable version that we release, for example 4.14 is here: https://github.com/amazonlinux/linux/tree/amazon-4.14.y/master

AWS
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions