diff --git a/pkg.info b/pkg.info index 2e2dfb8..98ebc57 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,24 @@ name: linux-stable description: The stable version of the linux kernel -version: 6.16.8 +version: 6.16.9 +revision: 1 url: https://www.kernel.org/ license: GPL2-only architecture: any -make_depends: ["bc","clang","cpio","gettext","libelf","lld","perl","rustc","rust-bindgen","rust-src"] type: source +make_depends: + - bc + - clang + - cpio + - gettext + - libelf + - lld + - perl + - rustc + - rust-bindgen + - rust-src +downloads: + - url: https://cdn.kernel.org/pub/linux/kernel/v${BPM_PKG_VERSION%%.*}.x/linux-${BPM_PKG_VERSION}.tar.xz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: 7ac8c8a3cf05476375deaaa85dfcee095a826ffe557b437f43774fc3b64ce58d diff --git a/source.sh b/source.sh index 9bf5ea1..4a67c17 100644 --- a/source.sh +++ b/source.sh @@ -2,14 +2,9 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://cdn.kernel.org/pub/linux/kernel/v${BPM_PKG_VERSION%%.*}.x/linux-${BPM_PKG_VERSION}.tar.xz" -FILENAME="${DOWNLOAD##*/}" - # The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" cd "$BPM_SOURCE" make mrproper cp ../config .config