You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Stefan Glasenhardt e51fc3b7c4 Merge branch 'master' of ssh://git.glasen-hardt.de:1474/glasen/download_kernel 7 months ago
.gitignore Fixed minor bug 1 year ago
LICENSE Initial commit 3 years ago
README.md Updated README.md 3 years ago
check_for_kernel_update.py Reformatted code 2 years ago
download_kernel.py Improved script when no kernel is there to download or some packages are missing 7 months ago

README.md

Description

Small python script checks www.kernel.org for the latest stable version and downloads needed Debian packages from Ubuntu mainline kernel PPA. The script downloads the suitable kernel for the system. If another kernel is needed the options "--cpu" and "--type" can be used.

Requirements

The script needs one additional python module. This module can be installed with the following command:

sudo apt install python3-lxml

Usage

usage: download_kernel.py [-h] [--version VERSION] [--list_versions]
                          [--type {generic,lowlatency,lpae,snapdragon}]
                          [--cpu {amd64,i386,armhf,arm64,ppc64el,s390x}]

Download kernel from mainline PPA.

optional arguments:
  -h, --help            show this help message and exit
  --version VERSION, -v VERSION
                        Kernel version
  --list_versions, -l   List available versions
  --type {generic,lowlatency,lpae,snapdragon}, -t {generic,lowlatency,lpae,snapdragon}
                        Kernel type
  --cpu {amd64,i386,armhf,arm64,ppc64el,s390x}, -c {amd64,i386,armhf,arm64,ppc64el,s390x}