Skip to content

Commit c8a1186

Browse files
committed
Use pv -X instead of > /dev/null
1 parent b21b8b4 commit c8a1186

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -764,8 +764,8 @@ grub-install --target=i386-pc ${IDEV}
764764
make_kernel() {
765765
# 6000 is rough estimate of how many lines we usually get for a compile --dry-run unfortunatly failed
766766
time (
767-
pv -lbtpef -s $(bc <<< "scale=0; ($(grep -c "=[ym]" .config) * 28) / 10") > /dev/null < <(make -j$(($(nproc)*2)) bzImage modules) && \
768-
pv -lbtpef -s $((6+$(find -name "*.ko" | wc -l))) > /dev/null < <(make -j2 modules_install install)
767+
pv -lbtpefX -s $(bc <<< "scale=0; ($(grep -c "=[ym]" .config) * 28) / 10") < <(make -j$(($(nproc)*2)) bzImage modules) && \
768+
pv -lbtpefX -s $((6+$(find -name "*.ko" | wc -l))) < <(make -j2 modules_install install)
769769
) || bash
770770
rm /boot/vmlinuz.old
771771
ls -lh /boot

0 commit comments

Comments
 (0)