Petr Fedchenkov

  • Content Count

  • Joined

  • Last visited

  1. Hi! Faced a similar problem. As a workaround, I made a small script (in the attachment) that repack the package with postinst patches. Please try it, if you need. /bin/bash YOURDEB Unfortunately, it doesn't work with acpi-call-dkms (I try to modify after apt install --download-only acpi-call-dkms), but it works for my modules.
  2. Thank you for answer. Unfortunately, it doesn`t work (and no desire to do this manually after installing the package). root@aml:/usr/src/linux-headers-5.3.0-rc6-aml-g12# make scripts arch/arm64/Makefile:56: CROSS_COMPILE_COMPAT not defined or empty, the compat vDSO will not be built HOSTCC scripts/selinux/genheaders/genheaders scripts/selinux/genheaders/genheaders.c:18:10: fatal error: classmap.h: No such file or directory #include "classmap.h" ^~~~~~~~~~~~ compilation terminated. make[3]: *** [scripts/ scripts/selinux/genheaders/g
  3. Hi, @balbes150 I want to use dkms to build the kernel modules I need. However, there is a problem with the linux-headers-aml-g12 package (at least for Debian Buster), where for some reason the scripts are built for x86_64. root@aml:~# file /usr/src/linux-headers-5.3.0-rc6-aml-g12/scripts/mod/modpost /usr/src/linux-headers-5.3.0-rc6-aml-g12/scripts/mod/modpost: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/, BuildID[sha1]=37623a5bbaf64b5e167da1f3a2cf2e0e3aade20f, for GNU/Linux 3.2.0, not stripped