Fix up alnux and add /etc/al in build@alnux & added dkms, linux-headers #40

Merged
hippoz merged 4 commits from Ohio2/repo:master into master 2021-08-25 15:55:04 +03:00
4 changed files with 22 additions and 0 deletions
Showing only changes of commit 674ae84ccf - Show all commits

4
dkms/build Executable file
View file

@ -0,0 +1,4 @@
git clone https://github.com/dell/dkms.git
cd dkms
make DESTDIR="$1" install

5
dkms/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="2.8.5"
pkg_config_name="dkms"
pkg_config_makedepends=""
pkg_config_depends="linux linux-headers"

8
linux-headers/build Executable file
View file

@ -0,0 +1,8 @@
cd /usr/src/linux
make HOSTCC="$CC" headers
find usr/include -name \*.h -type f | while read -r file; do
mkdir -p "$1/${file%/*}"
cp -f "$file" "$1/$file"
done

5
linux-headers/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="9999"
pkg_config_name="linux-headers"
pkg_config_makedepends="linux"
pkg_config_depends=""