ubuntukernelpageutils

package
v0.0.0-...-520fba6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const KernelWebpage = "http://kernel.ubuntu.com/~kernel-ppa/mainline/"

KernelWebpage - URL pointing to ubuntu's ppa repositorty with Linux kernel's .deb packages

Variables

This section is empty.

Functions

func DownloadKernelDebs

func DownloadKernelDebs(client http.GetterHeader, packageURL string) ([]string, error)

DownloadKernelDebs downloads Linux kernel .debs from @actualPackageURL to the current directory

func GetChangesFromPackageURL

func GetChangesFromPackageURL(client http.Getter, packageURL string) (string, error)

GetChangesFromPackageURL fetches CHANGES file contents from packageURL and returns contents of this file and an error if not successful

func GetMostActualKernelVersion

func GetMostActualKernelVersion(client http.Getter) (version, link string, err error)

GetMostActualKernelVersion returns a pair of strings representing version - a canonical kernel version e.g. 040602 link - a URL where kernel .debs at version @version are stored

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL