Merge pull request 'Fix up alnux and add /etc/al in build@alnux & added dkms, linux-headers' (#40) from Ohio2/repo:master into master

Reviewed-on: #40
This commit is contained in:
hippoz 2021-08-25 13:55:02 +01:00
commit a6c0f4522b
11 changed files with 40 additions and 16 deletions

View file

@ -9,7 +9,7 @@ $1/usr \
$1/usr/share \
$1/usr/share/man \
$1/usr/share/man/man1 \
$1/usr/share/man/man/man2 \
$1/usr/share/man/man2 \
$1/usr/share/man/man3 \
$1/usr/share/man/man4 \
$1/usr/share/man/man5 \
@ -25,7 +25,9 @@ $1/var/lib \
$1/var/lib/misc \
$1/var/empty \
$1/var/service \
$1/var/spool
$1/var/spool \
$1/etc \
$1/etc/al
mkdir -m 555 -p \
$1/proc \

View file

@ -1,6 +1,6 @@
wget https://github.com/Kitware/CMake/releases/download/v3.21.0-rc2/cmake-3.21.0-rc2.tar.gz
tar -xf cmake-3.21.0-rc2.tar.gz
cd cmake-3.21.0-rc2.tar.gz
wget https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1.tar.gz
tar -xf cmake-3.21.1.tar.gz
cd cmake-3.21.1.tar.gz
./bootstrap
make

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"

View file

@ -1,6 +1,6 @@
wget -O gcc-11.1.0.tar.gz https://gcc.gnu.org/pub/gcc/releases/gcc-11.1.0/gcc-11.1.0.tar.xz
tar -xf gcc-11.1.0.tar.gz
cd gcc-11.1.0
wget -O gcc-11.1.2.tar.gz https://gcc.gnu.org/pub/gcc/releases/gcc-11.1.2/gcc-11.1.2.tar.xz
tar -xf gcc-11.1.2.tar.gz
cd gcc-11.1.2
wget https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
tar -xf gmp-6.2.1.tar.xz gmp

View file

@ -1,5 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="11.1.0"
pkg_config_ver="11.1.2"
pkg_config_name="gcc"
pkg_config_makedepends=""
pkg_config_depends=""

View file

@ -1,6 +1,6 @@
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz
tar -xf git-2.9.5.tar.xz
cd git-2.9.5
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.33.0.tar.xz
tar -xf git-2.33.0.tar.xz
cd git-2.33.0
./configure --prefix=/usr
make

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=""

View file

@ -1,6 +1,6 @@
wget https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
tar -xf openssl-3.0.0-beta1.tar.gz
cd openssl-3.0.0-beta1
wget https://www.openssl.org/source/openssl-3.0.0-beta2.tar.gz
tar -xf openssl-3.0.0-beta2.tar.gz
cd openssl-3.0.0-beta2
chmod +x ./config
./config --prefix="/usr"
make

View file

@ -1,5 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="3.0.0-beta"
pkg_config_ver="3.0.0-beta2"
pkg_config_name="openssl"
pkg_config_makedepends=""
pkg_config_depends=""