update to linux-_
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
71953e5e37
commit
6f16273cac
|
@ -16,7 +16,7 @@ steps:
|
|||
privileged: true
|
||||
commands:
|
||||
- 'sh init.sh'
|
||||
- 'bash ./kernelbuild.sh'
|
||||
- 'bash ./build.sh'
|
||||
- 'bash ./sign.sh'
|
||||
volumes:
|
||||
- name: dronecache
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue