yarons / UbuntuKernelUpgrader

A tool used to autofetch and (optionally) install the latest kernel for Ubuntu from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/
GNU General Public License v2.0
0 stars 0 forks source link

Autoinstall #1

Open bararchy opened 9 years ago

bararchy commented 9 years ago

I would recommend adding another question, something like "would you like to install the new kernel?" and if the user puts Y\N behave accordingly

#Optional: Uncomment the following line if you want to autoinstall the packages.
#sudo dpkg -i ~/Downloads/linuxkernel/$DIR/*
yarons commented 9 years ago

That implies that if the user selected Yes I can guarantee that all the files are in the folder and they are all intact, I can't promise anything like that, it's a matter of integrity.

bararchy commented 9 years ago

Maybe check that you have a total of 3 files, and download the Checksum file : http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/CHECKSUMS. then you can see that md5sum of the downloaded files is ok, else break the install