Signed-off-by: Floris Renaud jkfloris@dds.nl --- packaging/obs/obs-sync | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
diff --git a/packaging/obs/obs-sync b/packaging/obs/obs-sync index b0ec672..3b2385b 100755 --- a/packaging/obs/obs-sync +++ b/packaging/obs/obs-sync @@ -135,11 +135,26 @@ Architecture: $2 EOF }
+# create an apt .sources file +# usage: make_apt_sources <platform> <codename> +make_apt_sources () +{ + cat <<EOF +Types: deb +URIs: https://dl.winehq.org/wine-builds/$1 +Suites: $2 +Components: main +Architectures: amd64 i386 +Signed-By: /usr/share/keyrings/winehq-archive.key +EOF +} + # index debian packages for a single suite # usage: index_deb <platform> <codename> [<suite>] index_deb () { dest=dest/$1/dists/$2 + make_apt_sources $1 $2 >$dest/winehq-$2.sources apt_ftparchive="apt-ftparchive -c $basedir/apt.cfg -d $basedir/.cache/apt-cache-$2.db -s $basedir/apt-override"
for arch in $deb_archs