update to linux-_
continuous-integration/drone/push Build is passing Details

This commit is contained in:
teldra 2019-12-18 13:25:42 +01:00
parent 71953e5e37
commit 6f16273cac
2 changed files with 15 additions and 1 deletions

View File

@ -16,7 +16,7 @@ steps:
privileged: true
commands:
- 'sh init.sh'
- 'bash ./kernelbuild.sh'
- 'bash ./build.sh'
- 'bash ./sign.sh'
volumes:
- name: dronecache

14
build.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
templates=$(git diff --name-status FETCH_HEAD...HEAD | grep "^[AM].*srcpkgs/[^/]*/template$" | cut -d/ -f 2 | tee /tmp/templates | sed "s/^/ /")
echo $templates
exit 0
eval $(grep "version=" srcpkgs/linux/template)
echo start binary bootstrap
./xbps-src -r kernel -H /kernelfiles/hostdir binary-bootstrap
echo start bootstrap-update
./xbps-src -r kernel -H /kernelfiles/hostdir bootstrap-update
echo start build
./xbps-src -r kernel -H /kernelfiles/hostdir pkg linux"${version}"
echo clean distfiles
./xbps-src -r kernel -H /kernelfiles/hostdir clean-repocache
./xbps-src -r kernel -H /kernelfiles/hostdir purge-distfiles