2023-04-27 13:52:23 +02:00
|
|
|
#!/bin/sh
|
big feat & update commit, read description...
feat: regenerate packages & release (update option), letter based folder structure support, choose gpg key, config file, multiple architecture done
update: docs, comments in code, add, del, list, sign
i dont know honestly... docs will be updated later
2023-05-03 17:07:33 +02:00
|
|
|
REPODIR="$1"
|
|
|
|
. $REPODIR/apt-repo/config
|
|
|
|
|
|
|
|
if [ ! $DEFAULT_GPG ]; then
|
|
|
|
echo "error: no gpg key provided in config file"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
KEY=$DEFAULT_GPG
|
|
|
|
|
2023-04-27 15:20:02 +02:00
|
|
|
|
|
|
|
echo "debrepo: signing using $KEY"
|
|
|
|
|
big feat & update commit, read description...
feat: regenerate packages & release (update option), letter based folder structure support, choose gpg key, config file, multiple architecture done
update: docs, comments in code, add, del, list, sign
i dont know honestly... docs will be updated later
2023-05-03 17:07:33 +02:00
|
|
|
cat $REPODIR/apt-repo/dists/stable/Release | gpg --default-key $KEY -abs > $REPODIR/apt-repo/dists/stable/Release.gpg
|
|
|
|
cat $REPODIR/apt-repo/dists/stable/Release | gpg --default-key $KEY -abs --clearsign > $REPODIR/apt-repo/dists/stable/InRelease
|
2023-04-27 13:52:23 +02:00
|
|
|
|