bubbles/iso_configs/installer/scripts/dev_32min/06hblock-install

15 lines
506 B
Bash
Executable File

#!/bin/sh -e
# SPDX-License-Identifier: GPL-3.0-or-later
#
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
# This script copies a file to the chroot and runs commands during the Debian installation process.
# install hblock
chroot /target curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.2/hblock'
chroot /target mv /tmp/hblock /usr/local/bin/hblock
chroot /target chown 0:0 /usr/local/bin/hblock
chroot /target chmod 755 /usr/local/bin/hblock