diff --git a/linux-lts-6.12.49-1-any-src.bpm b/linux-lts-6.12.49-1-any-src.bpm new file mode 100644 index 0000000..c2f50c1 Binary files /dev/null and b/linux-lts-6.12.49-1-any-src.bpm differ diff --git a/pkg.info b/pkg.info index 3364646..d22a596 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,24 @@ name: linux-lts description: The longterm support version of the linux kernel -version: 6.12.48 +version: 6.12.49 +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: 234621e146dacce2241049555d550e4f7a6bde67ccd7ef232d47ac8145425526 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