Oibaf PPA added in menus, cli options, ...

This commit is contained in:
Francois B 2018-05-02 13:07:59 +02:00
parent 0ccdaab476
commit f93b203cb6
5 changed files with 35 additions and 1 deletions

View file

@ -576,6 +576,7 @@ function usage () {
printf " "$BOLDVERT"-s"$NORMAL" : install Solaar for Logitech Unifying devices\n" printf " "$BOLDVERT"-s"$NORMAL" : install Solaar for Logitech Unifying devices\n"
printf " "$BOLDVERT"-t"$NORMAL" : install TLP for Laptops and low energy usage\n" printf " "$BOLDVERT"-t"$NORMAL" : install TLP for Laptops and low energy usage\n"
printf " "$BOLDVERT"-n"$NORMAL" : install lastest Nvidia graphic drivers\n" printf " "$BOLDVERT"-n"$NORMAL" : install lastest Nvidia graphic drivers\n"
printf " "$BOLDVERT"-g"$NORMAL" : install lastest free graphic drivers, mesa, ...\n"
printf " "$BOLDVERT"-k"$NORMAL" : update system to the latest kernel\n" printf " "$BOLDVERT"-k"$NORMAL" : update system to the latest kernel\n"
printf " "$BOLDVERT"-u"$NORMAL" : update system (apt,snap,...)\n" printf " "$BOLDVERT"-u"$NORMAL" : update system (apt,snap,...)\n"
printf " "$BOLDVERT"-p"$NORMAL" : clean useless packages\n" printf " "$BOLDVERT"-p"$NORMAL" : clean useless packages\n"

View file

@ -431,6 +431,20 @@ function installWebcamMenu () {
installAppsFromListMenu webcam installAppsFromListMenu webcam
} }
#
# install latest versions of graphic drivers, mesa, .... (headless)
#
function installOibaf () {
addRepo_Oibaf
}
#
# install latest versions of graphic drivers, mesa, .... (Menu)
#
function installOibafMenu () {
addRepo_Oibaf
}
# #
# install Nvidia Drivers (headless) # install Nvidia Drivers (headless)
# #

View file

@ -406,6 +406,7 @@ function showHardwareMenu () {
"solaar" "Solaar for Logitech Unifying devices" \ "solaar" "Solaar for Logitech Unifying devices" \
"webcam" "Install webcam neede apps" \ "webcam" "Install webcam neede apps" \
"microcode" "Update Intel/AMD CPU microcode" \ "microcode" "Update Intel/AMD CPU microcode" \
"oibaf" "latest version of free graphic drivers, mesa, ..." \
"nvidia370" "Install Nvidia 370 graphic drivers" \ "nvidia370" "Install Nvidia 370 graphic drivers" \
"nvidia375" "Install Nvidia 375 graphic drivers" \ "nvidia375" "Install Nvidia 375 graphic drivers" \
"nvidia378" "Install Nvidia 378 graphic drivers" \ "nvidia378" "Install Nvidia 378 graphic drivers" \
@ -432,6 +433,9 @@ function showHardwareMenu () {
"microcode") "microcode")
updateMicrocode updateMicrocode
;; ;;
"oibaf")
installOibafMenu
;;
"nvidia370") "nvidia370")
installNvidia370Menu installNvidia370Menu
;; ;;

View file

@ -646,6 +646,15 @@ function addRepo_DhorMyWay () {
addPPA ppa:dhor/myway addPPA ppa:dhor/myway
} }
#
# Oibaf
# - newest versions of free/open GPU drivers
# - newest versions of Mesa, ....
#
function addRepo_Oibaf () {
addPPA ppa:oibaf/graphics-drivers
}
# #
# Nvidia drivers # Nvidia drivers
# #

View file

@ -50,7 +50,7 @@ echo "--[ Yggdrasil log ]--[ "$cDate" ]--[ "$cTime" ]-----------------------" >>
# #
# arguments/options management with getopts # arguments/options management with getopts
while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k,T" option; do while getopts ":h,v,f,c,u,a,d,q,s,t,n,g,w,p,k,T" option; do
case "$option" in case "$option" in
a) # install all apps a) # install all apps
# except # except
@ -195,6 +195,12 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k,T" option; do
installNvidia396 installNvidia396
exit exit
;; ;;
g) # latest feee graphic drivers, mesa, ...
yggInit
updateSystem
installOibaf
exit
;;
k) k)
yggInit yggInit
updateSystem updateSystem