Mageia Bugzilla – Attachment 14223 Details for
Bug 31835
Update dkms to version 3.0.x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
dkms 3.0.12 version of symvers pacth
dkms-3.0.12-symvers.patch (text/plain), 1.85 KB, created by
katnatek
on 2023-12-18 03:03:19 CET
(
hide
)
Description:
dkms 3.0.12 version of symvers pacth
Filename:
MIME Type:
Creator:
katnatek
Created:
2023-12-18 03:03:19 CET
Size:
1.85 KB
patch
obsolete
>Index: dkms-3.0.12/dkms.in >=================================================================== >--- dkms-3.0.12/dkms.in >+++ dkms-3.0.12/dkms.in 2023-12-15 17:01:21.508004748 -0600 >@@ -1087,6 +1087,11 @@ > echo $"Building module:" > > invoke_command "$clean" "Cleaning build area" background >+ zcat $dkms_tree/*/kernel-$kernelver-$arch/module/symvers.gz > Module.symvers 2>/dev/null >+ while [ "$count" -lt "${#built_module_name[@]}" ]; do >+ zcat $dkms_tree/*/kernel-$kernelver-$arch/module/symvers.gz > "${built_module_location[$count]}Module.symvers" 2>/dev/null >+ count=$(($count+1)) >+ done > echo $"DKMS make.log for $module-$module_version for kernel $kernelver ($arch)" >> "$build_log" > date >> "$build_log" > local the_make_command="${make_command/#make/make -j$parallel_jobs KERNELRELEASE=$kernelver}" >@@ -1113,6 +1118,7 @@ > > # Save a copy of the new module > mkdir "$base_dir/module" >/dev/null >+ echo -n | gzip -c > "$dkms_tree/$module/$module_version/$kernelver/$arch/module/symvers.gz" > for ((count=0; count < ${#built_module_name[@]}; count++)); do > local the_module="$build_dir/${built_module_location[$count]}${built_module_name[$count]}" > local built_module="$the_module$module_uncompressed_suffix" >@@ -1124,7 +1130,8 @@ > echo "Signing module $built_module" > "$sign_file" "$sign_hash" "$mok_signing_key" "$mok_certificate" "$built_module" > fi >- >+ >+ grep -sh "${built_module_name[$count]}" "$dkms_tree/$module/$module_version/build/${built_module_location[$count]}/Module.symvers" Module.symvers | gzip -c >> "$dkms_tree/$module/$module_version/$kernelver/$arch/module/symvers.gz" 2>/dev/null > if [ "$module_compressed_suffix" = ".gz" ]; then > gzip -9f "$built_module" || compressed_module="" > elif [ "$module_compressed_suffix" = ".xz" ]; then
Index: dkms-3.0.12/dkms.in =================================================================== --- dkms-3.0.12/dkms.in +++ dkms-3.0.12/dkms.in 2023-12-15 17:01:21.508004748 -0600 @@ -1087,6 +1087,11 @@ echo $"Building module:" invoke_command "$clean" "Cleaning build area" background + zcat $dkms_tree/*/kernel-$kernelver-$arch/module/symvers.gz > Module.symvers 2>/dev/null + while [ "$count" -lt "${#built_module_name[@]}" ]; do + zcat $dkms_tree/*/kernel-$kernelver-$arch/module/symvers.gz > "${built_module_location[$count]}Module.symvers" 2>/dev/null + count=$(($count+1)) + done echo $"DKMS make.log for $module-$module_version for kernel $kernelver ($arch)" >> "$build_log" date >> "$build_log" local the_make_command="${make_command/#make/make -j$parallel_jobs KERNELRELEASE=$kernelver}" @@ -1113,6 +1118,7 @@ # Save a copy of the new module mkdir "$base_dir/module" >/dev/null + echo -n | gzip -c > "$dkms_tree/$module/$module_version/$kernelver/$arch/module/symvers.gz" for ((count=0; count < ${#built_module_name[@]}; count++)); do local the_module="$build_dir/${built_module_location[$count]}${built_module_name[$count]}" local built_module="$the_module$module_uncompressed_suffix" @@ -1124,7 +1130,8 @@ echo "Signing module $built_module" "$sign_file" "$sign_hash" "$mok_signing_key" "$mok_certificate" "$built_module" fi - + + grep -sh "${built_module_name[$count]}" "$dkms_tree/$module/$module_version/build/${built_module_location[$count]}/Module.symvers" Module.symvers | gzip -c >> "$dkms_tree/$module/$module_version/$kernelver/$arch/module/symvers.gz" 2>/dev/null if [ "$module_compressed_suffix" = ".gz" ]; then gzip -9f "$built_module" || compressed_module="" elif [ "$module_compressed_suffix" = ".xz" ]; then
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31835
:
14222
| 14223 |
14224
|
14225
|
14344
|
14353
|
14354
|
14355
|
14434
|
14588