Skip to content
Snippets Groups Projects
Commit 1207f67d authored by Guido Gunther's avatar Guido Gunther :zzz:
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
No related branches found
No related tags found
No related merge requests found
......@@ -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/
%.html: %.org
emacs --batch -nw $< -f org-html-export-to-html --kill
......
#!/bin/sh
# see Chapter 8 of Debian Linux Kernel Handbook
set -e
abi="$1"
_vmlinuz="${2:-/boot/vmlinuz-$abi}"
gunzip -c "${_vmlinuz}" > /boot/Image.tmp
mv -f /boot/Image.tmp /boot/Image
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment