From 9207a1e14238443708fb8efcad53c90caff59d1d Mon Sep 17 00:00:00 2001 From: Arszilla Date: Mon, 29 Aug 2022 15:47:44 +0300 Subject: [PATCH] Update chromebook-exynos.sh --- chromebook-exynos.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/chromebook-exynos.sh b/chromebook-exynos.sh index 719874a..b3c4620 100755 --- a/chromebook-exynos.sh +++ b/chromebook-exynos.sh @@ -119,7 +119,7 @@ e2fsprogs firmware-samsung ifupdown initramfs-tools inxi iw man-db mlocate \ net-tools netcat-traditional parted psmisc rfkill screen tmux unrar usbutils \ vim wget whiptail zerofree" -desktop="kali-desktop-xfce kali-root-login xfonts-terminus xinput +desktop="kali-desktop-xfce kali-root-login xfonts-terminus xinput xserver-xorg-input-libinput xserver-xorg-input-synaptics \ xserver-xorg-video-fbdev" @@ -847,8 +847,13 @@ limit_cpu() { if [ $compress = xz ]; then if [ $(arch) == 'x86_64' ]; then echo "Compressing ${image_name}.img" - [ $(nproc) -lt 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use - limit_cpu pixz -p ${cpu_cores:-2} "${image_dir}/${image_name}.img" # -p Nº cpu cores use + + # cpu_cores = Number of cores to use + [ $(nproc) -lt 3 ] || cpu_cores=3 + + # -p Nº cpu cores use + limit_cpu pixz -p ${cpu_cores:-2} "${image_dir}/${image_name}.img" + chmod 0644 ${repo_dir}/${image_name}.img.xz fi