Commit 318abc90 authored by Stefan Heimersheim's avatar Stefan Heimersheim

script to extract kernel image

parent a3d8533a
#!/bin/bash
deb="linux-image-unsigned-5.0.5-050005-generic_5.0.5-050005.201903271212_amd64.deb"
name="vmlinuz-5.0.5-050005-generic"
wget "https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.5/$deb"
ar -x $deb data.tar.xz
rm $deb
tar -xOvf data.tar.xz ./boot/$name --wildcards > $name
rm data.tar.xz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment