mklni: Make wget, apk and git quiet

This commit is contained in:
timoxa0 2024-11-02 23:10:44 +05:00
parent 07fb3de773
commit c241509cf8

7
mklni
View file

@ -210,18 +210,19 @@ install_chroot()
exit 1
}
log "Updating apk repos"
chroot "$CHROOTDIR" apk update || {
chroot "$CHROOTDIR" apk update --quiet || {
log "Failed to update apk repos" error
exit 1
}
log "Installing pakages"
chroot "$CHROOTDIR" apk add shadow fish bash git debootstrap pixz losetup rsync pv wget e2fsprogs e2fsprogs-extra libarchive-tools coreutils || {
chroot "$CHROOTDIR" apk add --quiet shadow fish bash git debootstrap pixz losetup rsync pv wget e2fsprogs e2fsprogs-extra libarchive-tools coreutils go libusb libusb-dev pkgconfig || {
log "Failed to install packages" error
exit 1
}
chroot "$CHROOTDIR" chsh -s /usr/bin/fish root
log "Cloning makelni repo"
chroot "$CHROOTDIR" git clone "https://git.timoxa0.su/timoxa0/makelni.git" /makelni || {
chroot "$CHROOTDIR" git clone --quiet "https://git.timoxa0.su/timoxa0/makelni.git" /makelni || {
log "Failed to clone makelni repo" error
exit 1
}