remove archboot- from backup scripts on environment, add backup scripts to updater

This commit is contained in:
Tobias Powalowski 2022-04-05 09:59:34 +02:00
parent f7dd63f4cf
commit c7f720518b
2 changed files with 6 additions and 2 deletions

View file

@ -101,6 +101,8 @@ if [[ "${_D_SCRIPTS}" == "1" ]]; then
wget -q "${_INSTALLER_SOURCE}${_BIN_PATH}/archboot-setup.sh?inline=false" -O /usr/bin/setup >/dev/null 2>&1
wget -q "${_INSTALLER_SOURCE}${_BIN_PATH}/archboot-km.sh?inline=false" -O /usr/bin/km >/dev/null 2>&1
wget -q "${_INSTALLER_SOURCE}${_BIN_PATH}/archboot-tz.sh?inline=false" -O /usr/bin/tz >/dev/null 2>&1
wget -q "${_INSTALLER_SOURCE}${_BIN_PATH}/archboot-copy-mountpoint.sh?inline=false" -O /usr/bin/copy-mountpoint.sh >/dev/null 2>&1
wget -q "${_INSTALLER_SOURCE}${_BIN_PATH}/archboot-rsync-backup.sh?inline=false" -O /usr/bin/rsync-backup.sh >/dev/null 2>&1
wget -q "${_INSTALLER_SOURCE}${_BIN_PATH}/archboot-${_RUNNING_ARCH}-create-container.sh?inline=false" -O "/usr/bin/archboot-${_RUNNING_ARCH}-create-container.sh" >/dev/null 2>&1
wget -q "${_INSTALLER_SOURCE}${_BIN_PATH}/archboot-${_RUNNING_ARCH}-release.sh?inline=false" -O "/usr/bin/archboot-${_RUNNING_ARCH}-release.sh" >/dev/null 2>&1
wget -q "${_INSTALLER_SOURCE}${_BIN_PATH}/archboot-binary-check.sh?inline=false" -O /usr/bin/archboot-binary-check.sh >/dev/null 2>&1

View file

@ -5,11 +5,13 @@ build ()
{
map add_binary genfstab arch-chroot pacstrap \
archboot-"$(uname -m)"-release.sh \
archboot-restore-usbstick.sh isoinfo archboot-copy-mountpoint.sh \
archboot-rsync-backup.sh archboot-binary-check.sh
archboot-restore-usbstick.sh isoinfo \
archboot-binary-check.sh
add_file "/usr/lib/archboot/release.sh"
add_file "/usr/bin/archboot-setup.sh" "/usr/bin/setup"
add_file "/usr/bin/archboot-quickinst.sh" "/usr/bin/quickinst"
add_file "/usr/bin/archboot-copy-mountpoint.sh" "/usr/bin/copy-mountpoint.sh"
add_file "/usr/bin/archboot-rsync-backup.sh" "/usr/bin/rsync-backup.sh"
add_full_dir "/usr/lib/archboot/installer"
add_file "/etc/archboot/defaults"
}