mirror of
https://github.com/outbackdingo/debos.git
synced 2026-01-27 10:18:47 +00:00
Currently rebuilding the arch keyring on Debian bookworm is broken as the build depends on newer sq options. There is no reason to re-build the keyring though, debian also uses a pre-build version to package it for example. Switch to use a script to download the latest release from arch gitlab Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
14 lines
435 B
Bash
Executable File
14 lines
435 B
Bash
Executable File
#!/bin/bash
|
|
LINK=https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/releases/permalink/latest
|
|
TARGET="${1:-.}"
|
|
|
|
RELEASE=$(curl -s -I -o /dev/null -w '%header{location}\n' \
|
|
${LINK} \
|
|
| sed 's/.*\///')
|
|
|
|
echo Arch keyring release ${RELEASE}
|
|
echo Installing to ${TARGET}
|
|
mkdir -p ${TARGET}
|
|
curl -s -L ${LINK}/downloads/archlinux-keyring-${RELEASE}.tar.gz \
|
|
| tar xvz --strip-components=1 -C ${TARGET}
|