πŸ’Ύ Archived View for airmack.de captured on 2023-09-08 at 15:34:56. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-17)

-=-=-=-=-=-=-


β–‘β–ˆβ–€β–ˆβ–‘β–€β–ˆβ–€β–‘β–ˆβ–€β–„β–‘β–ˆβ–„β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–€β–‘β–ˆβ–‘β–ˆβ–‘β–‘β–‘β–‘β–ˆβ–€β–„β–‘β–ˆβ–€β–€
β–‘β–ˆβ–€β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–ˆβ–€β–„β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–‘β–‘β–‘β–ˆβ–€β–„β–‘β–‘β–‘β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–€
β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–‘β–€β–€β–‘β–‘β–€β–€β–€


Fix for zfs-dkms-git in arch for kernel 5.15.7

Aus der Kategorie Misc

Begin

zfs-dkms-git stopped working after upgrading my kernel to version 5.15.7. Unfortunately the patch which is included in the aur system does not work anymore due to a change in the original git repository. Thus a little tweak needs to be put in place to let the patch do its job.

Code


--- a/scripts/dkms.mkconf.orig	2021-12-11 18:46:14.618077255 +0100
+++ b/scripts/dkms.mkconf	2021-12-11 18:51:08.775412641 +0100
@@ -28,22 +28,7 @@
 PRE_BUILD="configure
  --prefix=/usr
  --with-config=kernel
- --with-linux=\$(
-  case \`lsb_release -is\` in
-   (Debian|Devuan)
-    if [[ -e \${kernel_source_dir/%build/source} ]]
-    then
-     echo \${kernel_source_dir/%build/source}
-    else
-     # A kpkg exception for Proxmox 2.0
-     echo \${kernel_source_dir}
-    fi
-   ;;
-   (*)
-    echo \${kernel_source_dir}
-   ;;
-  esac
- )
+ --with-linux=\${kernel_source_dir}
  --with-linux-obj=\${kernel_source_dir}
  \$(
   [[ -n \"\${ICP_ROOT}\" ]] && \\
@@ -76,7 +61,7 @@
  -t \${dkms_tree}
 "
 AUTOINSTALL="yes"
-MAKE[0]="make"
+MAKE[0]="make -C module/"
 STRIP[0]="\$(
  [[ -r \${PACKAGE_CONFIG} ]] \\
  && source \${PACKAGE_CONFIG} \\


The above code can replace the original aur patch and the package can be compiled with makepkg -si --skipchecksums

Latest article

Fix for zfs-dkms-git in arch for kernel 5.15.7 erstellt am 11. December 2021

Project gemini erstellt am 13. Februar 2021

Eat Sleep PWN Repeat erstellt am 07. Dezember 2020

Physico-chemically motivated parameterization and modelling of real-time capable lithium-ion battery models: a case study on the Tesla Model S battery erstellt am 06. Dezember 2020

Breaking out of cisco anyconnect no local network restriction erstellt am 8. April 2018

Insomni Hack 2015(Lost In Memories) writeup erstellt am 23. Maerz 2014

ruCTF 2014(Pidometer) writeup erstellt am 21. Dezember 2014

Footer

Hauptseite

Impressum

Übersicht

Bio