# HG changeset patch # User Christophe Lincoln # Date 1398896283 -7200 # Node ID 493cfe8eb6bc1d6177c9498231797e0c54519294 # Parent 4db802251c61bc4eae5b0b136e434632a19b343f tazberry: add a command to update kernel directly from cmdline diff -r 4db802251c61 -r 493cfe8eb6bc rpi/tazberry --- a/rpi/tazberry Wed Apr 30 23:13:27 2014 +0200 +++ b/rpi/tazberry Thu May 01 00:18:03 2014 +0200 @@ -29,6 +29,7 @@ $(boldify "$(gettext 'Commands:')") oclock $(gettext 'Configure overclocking') + linux-up $(gettext 'Update SliTaz R-Pi Linux kernel') cam-setup $(gettext 'Configure your Pi to use the Camera') ls-functions $(gettext 'List TazBerry functions') rpi_ $(gettext 'Execute any tazberry_function') @@ -125,14 +126,14 @@ spk-add linux-${kvers}.tazpkg --forced >/dev/null 2>&1 || exit 1 echo "XXX" && echo 100 - echo -e "\n$(gettext 'cleaning installing files...')" + echo -e "\n$(gettext 'Cleaning installing files...')" echo "XXX" && sleep 2 rm -f ${cache}/linux-version.txt } | dialog --title "{ Kernel Update }" \ --gauge "" 8 ${width} 0 # Reboot ? - reboot_ox \ + reboot_box \ "$(gettext 'You must reboot to use your new Linux Kernel.')" } @@ -475,6 +476,9 @@ oclock) oclock_box ;; + linux-up) + linux_update ;; + cam-setup) picam_setup ;;