mirror of
https://github.com/YunoHost/cd_build.git
synced 2024-09-03 20:06:24 +02:00
Merge branch 'building-on-stretch' of https://github.com/YunoHost/cd_build into building-on-stretch
This commit is contained in:
commit
b94fe0960d
1 changed files with 5 additions and 2 deletions
|
@ -71,13 +71,16 @@ function sign
|
|||
{
|
||||
local ARCH="$1"
|
||||
local NAME="images/yunohost-$DEB_DIST-$YNH_VERSION-$ARCH-$DIST.iso"
|
||||
|
||||
|
||||
info "Signing image $NAME ..."
|
||||
|
||||
gpg --output $NAME.sig --detach-sig $NAME
|
||||
|
||||
# Remove previous signature to prevent gpg to ask about overwriting
|
||||
rm -f $NAME.sig
|
||||
|
||||
sudo gpg --output $NAME.sig --detach-sig $NAME
|
||||
|
||||
sha256sum $NAME > $NAME.sum
|
||||
}
|
||||
|
||||
|
@ -93,7 +96,7 @@ function build_and_sign
|
|||
|
||||
function main
|
||||
{
|
||||
|
||||
|
||||
if [ -z "$ARCH_CHOICE" ]
|
||||
then
|
||||
info "No arch chosen, will build both i396 and amd64"
|
||||
|
|
Loading…
Add table
Reference in a new issue