From: Ian Kelling Date: Thu, 18 Apr 2024 02:59:31 +0000 (-0400) Subject: improve automatic updates X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=ec4efaeb603f21de169aeedff4907d2279bada3a;p=distro-setup improve automatic updates --- 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