commit 7dbeb24468e50bc41a28dd66858ba8eed024fea3
parent 59c03d66acb8e755dbd6d0f5e47cb81a1ab8f5d8
Author: Jan Pobrislo <ccx@te2000.cz>
Date: Thu, 29 May 2025 15:50:38 +0000
Fix kernel_name
Diffstat:
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/templates/linux b/templates/linux
@@ -47,7 +47,7 @@ mv Documentation/* "$installdir/doc/linux"
$2 == "boot" { link($0); next }
{% endblock -%}
{% block genlinks_begin %}
- kernel_name="{{ patch_version|default(tarball_version + ".0") }}"
+ kernel_name="{{ assertion(patch_version|default(tarball_version + ".0", True)) }}"
x["./boot/vmlinuz"]=1
x["./boot/System.map"]=1
x["./lib/modules/" kernel_name "/modules.alias"]=1
diff --git a/variants/ccx-x86_64/linux-qemu-guest b/variants/ccx-x86_64/linux-qemu-guest
@@ -39,7 +39,7 @@ mv Documentation/* "$installdir/doc/linux"
cd "$pthbs_destdir/home/ccx/versions/$pthbs_package"
find -type d -o -print | awk -F/ '
BEGIN {
- kernel_name=""
+ kernel_name="6.15.0"
x["./boot/vmlinuz"]=1
x["./boot/System.map"]=1
x["./lib/modules/" kernel_name "/modules.alias"]=1
diff --git a/variants/ccx-x86_64/vm.environment b/variants/ccx-x86_64/vm.environment
@@ -1,2 +1,2 @@
#!/usr/bin/env pthbs-build
-#+linux-qemu-guest.bc9de25524008107440dd6c01860bc83e3fb5198100675984047f91156e79cc1-
\ No newline at end of file
+#+linux-qemu-guest.850f481ff62d5eb574f4e17eb713007c3b528e4afc3e19701f5517416dafac1d+
\ No newline at end of file
diff --git a/variants/root-x86_64/linux-qemu-guest b/variants/root-x86_64/linux-qemu-guest
@@ -39,7 +39,7 @@ mv Documentation/* "$installdir/doc/linux"
cd "$pthbs_destdir/versions/$pthbs_package"
find -type d -o -print | awk -F/ '
BEGIN {
- kernel_name=""
+ kernel_name="6.15.0"
x["./boot/vmlinuz"]=1
x["./boot/System.map"]=1
x["./lib/modules/" kernel_name "/modules.alias"]=1
diff --git a/variants/root-x86_64/vm.environment b/variants/root-x86_64/vm.environment
@@ -1,2 +1,2 @@
#!/usr/bin/env pthbs-build
-#+linux-qemu-guest.986858f3ca3732df51271430bde700c6238ea13c2a9e0f0398e8821c8e306814-
\ No newline at end of file
+#+linux-qemu-guest.6a6b1321224324d2ad1eb0349c06fe0660b925a2235fe5ee7bb9d04d7af3491c+
\ No newline at end of file