- Newest
- Most votes
- Most comments
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
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,
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.
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
Relevant content
- Accepted Answerasked 4 months ago
- Accepted Answerasked 10 months ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago