Skip to content

Instantly share code, notes, and snippets.

@b9AcE b9AcE/ki
Created Apr 19, 2017

Embed
What would you like to do?
Very tiny scriptlet to easily install a newly compiled Linux kernel on x86_64 using just version-name as argument.
#!/bin/bash
\/bin/cp -v arch/x86_64/boot/bzImage /boot/vmlinuz-"${1}"
\/bin/cp -v vmlinux /boot/vmlinux-"${1}"
\/bin/cp -v System.map /boot/System.map-"${1}"
\/bin/cp -v .config /boot/config-"${1}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.