Commit 1207f67d authored by Guido Gunther's avatar Guido Gunther
Browse files

Merge branch 'kernel-update' into 'master'

Add script to automatically unzip newly installed kernels

See merge request Librem5/librem5-devkit-tools!10
parents ab01895d 707e1ec8
......@@ -14,6 +14,8 @@ install:
install -m 0644 etc/modules-load.d/librem5-devkit.conf $(DESTDIR)/etc/modules-load.d/
mkdir -p $(DESTDIR)/etc/modprobe.d/
install -D -m 0644 etc/modprobe.d/librem5-devkit.conf $(DESTDIR)/etc/modprobe.d/
mkdir -p $(DESTDIR)/etc/kernel/postinst.d/
install -D -m 0755 etc/kernel/postinst.d/update-Image $(DESTDIR)/etc/kernel/postinst.d/
emacs --batch -nw $< -f org-html-export-to-html --kill
# see Chapter 8 of Debian Linux Kernel Handbook
set -e
gunzip -c "${_vmlinuz}" > /boot/Image.tmp
mv -f /boot/Image.tmp /boot/Image
Supports Markdown
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