summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 00ae4b5..ce5803e 100644
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,7 @@ rootfs:
69 sudo ln -sf "$$PWD"/rootfs/samizdat.btrfs /srv/nbd/samizdat.btrfs 69 sudo ln -sf "$$PWD"/rootfs/samizdat.btrfs /srv/nbd/samizdat.btrfs
70 70
71define get_kernel_version 71define get_kernel_version
72grep '^ii linux-image-amd64' rootfs/_build/samizdat.pkgs.txt | \ 72egrep '^ii linux-image-(amd64|686)' rootfs/_build/samizdat.pkgs.txt | \
73 (read _ pkg ver _; apt-cache show $$pkg=$$ver) | \ 73 (read _ pkg ver _; apt-cache show $$pkg=$$ver) | \
74 grep Depends | \ 74 grep Depends | \
75 (read _ a; echo $${a#linux-image-}) 75 (read _ a; echo $${a#linux-image-})