From ec4efaeb603f21de169aeedff4907d2279bada3a Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Wed, 17 Apr 2024 22:59:31 -0400 Subject: [PATCH] improve automatic updates --- distro-end | 3 ++- filesystem/usr/local/bin/myupgrade | 6 ++++++ filesystem/usr/local/bin/myupgrade-iank | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/distro-end b/distro-end index 500a496..d81950c 100755 --- a/distro-end +++ b/distro-end @@ -1563,7 +1563,8 @@ m /a/bin/buildscripts/go # only needed for rg. cargo takes up 11 gigs, filled up the disk on je. m /a/bin/buildscripts/rust m /a/bin/buildscripts/misc -m /a/bin/buildscripts/pithosfly + +#m /a/bin/buildscripts/pithosfly #m /a/bin/buildscripts/alacritty #m /a/bin/buildscripts/kitty diff --git a/filesystem/usr/local/bin/myupgrade b/filesystem/usr/local/bin/myupgrade index 664c2d2..49197fb 100755 --- a/filesystem/usr/local/bin/myupgrade +++ b/filesystem/usr/local/bin/myupgrade @@ -84,6 +84,12 @@ case $hn in ;; esac +case $hn in + sy) + /b/fai/config/distro-install-common/install-stable-kernel-debs + ;; +esac + # TODO: executed from cron, this doesnt sent an email when we reboot, # because rebooting from the script stops the ability to send email. diff --git a/filesystem/usr/local/bin/myupgrade-iank b/filesystem/usr/local/bin/myupgrade-iank index e2e3296..7c7a2bf 100755 --- a/filesystem/usr/local/bin/myupgrade-iank +++ b/filesystem/usr/local/bin/myupgrade-iank @@ -35,6 +35,7 @@ fi hn=$(hostname -f) +/a/bin/buildscripts/go /a/bin/buildscripts/rust has_x=false @@ -46,12 +47,11 @@ for pkg in xorg wayland; do done if $has_x; then - /a/bin/buildscripts/tor-browser /a/bin/buildscripts/misc + /a/bin/buildscripts/tor-browser fi - # source /a/bin/distro-setup/path-add-function # export GOPATH=$HOME/go # path-add $GOPATH/bin -- 2.30.2