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' - 'bash ./sign.sh'
volumes: volumes:
- name: dronecache - name: dronecache
path: /drone/src/hostdir path: /kernelfiles
- name: notify - name: notify
image: drillster/drone-email image: drillster/drone-email

View File

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

View File

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

View File

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