merge server-release into one, add riscv64-iso symlink

This commit is contained in:
Tobias Powalowski 2022-11-22 19:17:13 +01:00
parent 9b1bc61a03
commit cd29f71c4f
5 changed files with 19 additions and 22 deletions

View file

@ -1,7 +0,0 @@
#! /bin/bash
. /usr/lib/archboot/common.sh
. /usr/lib/archboot/server.sh
_root_check
_update_pacman_chroot || exit 1
_update_source
_server_release || exit 1

View file

@ -0,0 +1 @@
../lib/archboot/archboot-server-release.sh

View file

@ -0,0 +1 @@
../lib/archboot/archboot-iso.sh

View file

@ -1,7 +0,0 @@
#! /bin/bash
. /usr/lib/archboot/common.sh
. /usr/lib/archboot/server.sh
_root_check
_update_pacman_chroot || exit 1
_update_source
_server_release || exit 1

View file

@ -0,0 +1 @@
../lib/archboot/archboot-server-release.sh

View file

@ -1,8 +0,0 @@
#! /bin/bash
. /usr/lib/archboot/common.sh
. /usr/lib/archboot/server.sh
_root_check
_update_source
_x86_64_pacman_use_default || exit 1
_server_release || exit 1
_x86_64_pacman_restore || exit 1

View file

@ -0,0 +1 @@
../lib/archboot/archboot-server-release.sh

View file

@ -0,0 +1,15 @@
#! /bin/bash
. /usr/lib/archboot/common.sh
. /usr/lib/archboot/server.sh
_root_check
if echo "${0}" | grep -qw riscv64 || echo "${0}" | grep -qw aarch64; then
_update_pacman_chroot || exit 1
fi
_update_source
if echo "${0}" | grep -qw x86_64; then
_x86_64_pacman_use_default || exit 1
fi
_server_release || exit 1
if echo "${0}" | grep -qw x86_64; then
_x86_64_pacman_restore || exit 1
fi