mklni: Add cache clean command, add zstd package
This commit is contained in:
parent
63d6510089
commit
8e407b5a19
4
mklni
4
mklni
|
@ -74,7 +74,7 @@ arguments() {
|
||||||
update
|
update
|
||||||
break 2 ;;
|
break 2 ;;
|
||||||
|
|
||||||
-r | -c | --cleanraw | --cleanup)
|
-r | -c | -w | --cleanraw | --cleanup | --cleancache)
|
||||||
run_makelni "$opt"
|
run_makelni "$opt"
|
||||||
break 2 ;;
|
break 2 ;;
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ install_chroot()
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
log "Installing packages"
|
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
|
log "Failed to install packages" error
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue