build pakete buzz-ed
continuous-integration/drone/push Build is passing Details

This commit is contained in:
teldra 2019-12-18 14:08:21 +01:00
parent e04545a102
commit 1737872c6b
4 changed files with 7 additions and 11 deletions

View File

@ -20,7 +20,7 @@ steps:
- 'bash ./sign.sh'
volumes:
- name: dronecache
path: /drone/src/hostdir
path: /kernelfiles
- name: notify
image: drillster/drone-email

View File

@ -1,12 +1,12 @@
#!/bin/bash
echo start binary bootstrap
./xbps-src -r pakete binary-bootstrap
./xbps-src -r pakete -H /kernelfiles/hostdir binary-bootstrap
echo start bootstrap-update
./xbps-src -r pakete bootstrap-update
./xbps-src -r pakete -H /kernelfiles/hostdir bootstrap-update
for i in $(cat pakete); do
echo start build
./xbps-src -E -r pakete pkg "${i}"
./xbps-src -E -r pakete -H /kernelfiles/hostdir pkg "${i}"
echo clean distfiles
done
./xbps-src -r pakete clean-repocache
./xbps-src -r pakete purge-distfiles
./xbps-src -r pakete -H /kernelfiles/hostdir clean-repocache
./xbps-src -r pakete -H /kernelfiles/hostdir purge-distfiles

View File

@ -1,8 +1,4 @@
#!/bin/bash
pwd
ls -lah
ls -lah hostdir/
ls -lah hostdir/binpkgs/pakete
echo XBPS_CHROOT_CMD=ethereal >> etc/conf
echo XBPS_ALLOW_CHROOT_BREAKOUT=yes >> etc/conf
ln -s / masterdir

View File

@ -1,7 +1,7 @@
#!/bin/bash
echo sign files
KEY=/kernelfiles/id_rsa
FOLDER=hostdir/binpkgs/pakete
FOLDER=/kernelfiles/hostdir/binpkgs/pakete
if [[ ! -e "${KEY}" ]]; then
xbps-rindex --sign --signedby "I am Groot" --privkey ${KEY} ${FOLDER}
fi