mirror of
https://github.com/ceph/ceph
synced 2024-12-27 05:53:20 +00:00
27 lines
411 B
Bash
27 lines
411 B
Bash
|
#!/bin/sh
|
||
|
#
|
||
|
# Make Alpine Packages
|
||
|
#
|
||
|
|
||
|
set -xe
|
||
|
|
||
|
#
|
||
|
# make a distribution
|
||
|
#
|
||
|
./make-dist
|
||
|
mv -f *.tar.bz2 ./alpine
|
||
|
|
||
|
#
|
||
|
# alpine packaging key stuff
|
||
|
#
|
||
|
rm -rf .abuild && mkdir -p .abuild
|
||
|
ABUILD_USERDIR=$(pwd)/.abuild abuild-keygen -n -a
|
||
|
source .abuild/abuild.conf
|
||
|
|
||
|
#
|
||
|
# package it
|
||
|
#
|
||
|
cd alpine
|
||
|
abuild checksum && JOBS=$(expr $(nproc) / 2) SRCDEST=$(pwd) REPODEST=$(pwd) PACKAGER_PRIVKEY=$PACKAGER_PRIVKEY abuild -r
|
||
|
cd ..
|