mklni: Add cache clean command, add zstd package

This commit is contained in:
timoxa0 2024-11-05 20:21:31 +05:00
parent 63d6510089
commit 8e407b5a19

4
mklni
View file

@ -74,7 +74,7 @@ arguments() {
update
break 2 ;;
-r | -c | --cleanraw | --cleanup)
-r | -c | -w | --cleanraw | --cleanup | --cleancache)
run_makelni "$opt"
break 2 ;;
@ -237,7 +237,7 @@ install_chroot()
exit 1
}
log "Installing packages"
chroot "$CHROOTDIR" apk add --quiet shadow umount fish bash git debootstrap pixz losetup rsync pv wget e2fsprogs e2fsprogs-extra libarchive-tools coreutils go libusb libusb-dev pkgconfig || {
chroot "$CHROOTDIR" apk add --quiet shadow umount fish bash git zstd 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
}