From 3f8ce23344e7d1efbc1271073b6ed39074d6b011 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Sat, 18 Mar 2017 11:58:20 -0500 Subject: [PATCH] * usr/bin/purge-old-kernels: - need to do some extra grepping when using efi kernels * usr/share/byobu/profiles/tmux: - save 100K lines of scrollback, rather than 10K, which I find gets eclipsed too often when you actually need it --- debian/changelog | 7 ++++++- usr/bin/purge-old-kernels | 2 +- usr/share/byobu/profiles/tmux | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 3be94eda..767d2d86 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,11 @@ byobu (5.116) unreleased; urgency=medium - * UNRELEASED + [ Dustin Kirkland ] + * usr/bin/purge-old-kernels: + - need to do some extra grepping when using efi kernels + * usr/share/byobu/profiles/tmux: + - save 100K lines of scrollback, rather than 10K, which I find gets + eclipsed too often when you actually need it -- Dustin Kirkland Mon, 06 Feb 2017 12:22:26 -0600 diff --git a/usr/bin/purge-old-kernels b/usr/bin/purge-old-kernels index 0a4e8072..419d18c2 100755 --- a/usr/bin/purge-old-kernels +++ b/usr/bin/purge-old-kernels @@ -46,7 +46,7 @@ done # Build our list of kernel packages to purge, make sure we exclude the current running kernel current="$(uname -r)" -VERSIONS=$(ls -f /boot/vmlinuz-* | grep -v "$current$" | sed -e "s/[^\-]*-//" -e "s/-[^\-]*$//" | sort -rh) +VERSIONS=$(ls -f /boot/vmlinuz-* | grep -v "$current$" | grep -v '.efi.signed' | sed -e "s/[^\-]*-//" -e "s/-[^\-]*$//" | sort -rh) count=0 for v in $VERSIONS; do count=$((count+1)) diff --git a/usr/share/byobu/profiles/tmux b/usr/share/byobu/profiles/tmux index 2e54bcc9..72be7548 100644 --- a/usr/share/byobu/profiles/tmux +++ b/usr/share/byobu/profiles/tmux @@ -42,7 +42,7 @@ set-window-option -g xterm-keys on set-option -g pane-active-border-bg $BYOBU_HIGHLIGHT set-option -g pane-active-border-fg $BYOBU_HIGHLIGHT set-option -g pane-border-fg $BYOBU_ACCENT -set-option -g history-limit 10000 +set-option -g history-limit 100000 set-option -g display-panes-time 150 set-option -g display-panes-colour $BYOBU_ACCENT set-option -g display-panes-active-colour $BYOBU_HIGHLIGHT