slitaz-arm rev 156
tazberry: add a command to update kernel directly from cmdline
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 01 00:18:03 2014 +0200 (2014-05-01) |
parents | 4db802251c61 |
children | 01f9556204ee |
files | rpi/tazberry |
line diff
1.1 --- a/rpi/tazberry Wed Apr 30 23:13:27 2014 +0200 1.2 +++ b/rpi/tazberry Thu May 01 00:18:03 2014 +0200 1.3 @@ -29,6 +29,7 @@ 1.4 1.5 $(boldify "$(gettext 'Commands:')") 1.6 oclock $(gettext 'Configure overclocking') 1.7 + linux-up $(gettext 'Update SliTaz R-Pi Linux kernel') 1.8 cam-setup $(gettext 'Configure your Pi to use the Camera') 1.9 ls-functions $(gettext 'List TazBerry functions') 1.10 rpi_ $(gettext 'Execute any tazberry_function') 1.11 @@ -125,14 +126,14 @@ 1.12 spk-add linux-${kvers}.tazpkg --forced >/dev/null 2>&1 || exit 1 1.13 1.14 echo "XXX" && echo 100 1.15 - echo -e "\n$(gettext 'cleaning installing files...')" 1.16 + echo -e "\n$(gettext 'Cleaning installing files...')" 1.17 echo "XXX" && sleep 2 1.18 rm -f ${cache}/linux-version.txt 1.19 1.20 } | dialog --title "{ Kernel Update }" \ 1.21 --gauge "" 8 ${width} 0 1.22 # Reboot ? 1.23 - reboot_ox \ 1.24 + reboot_box \ 1.25 "$(gettext 'You must reboot to use your new Linux Kernel.')" 1.26 } 1.27 1.28 @@ -475,6 +476,9 @@ 1.29 oclock) 1.30 oclock_box ;; 1.31 1.32 + linux-up) 1.33 + linux_update ;; 1.34 + 1.35 cam-setup) 1.36 picam_setup ;; 1.37