From: Paul Hänsch Date: Tue, 26 Jun 2018 11:41:42 +0000 (+0200) Subject: auto generate kernel and initrd links X-Git-Url: http://git.plutz.net/?p=bootimage;a=commitdiff_plain;h=e776978a99a27b790defdb0791757ea1d01ec350 auto generate kernel and initrd links --- diff --git a/.gitignore b/.gitignore index 5e55873..a7074f2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ stretch_*_config/ stretch_*_root/ stretch_*.squashfs mount/ +vmlinuz +initrd.img diff --git a/Makefile b/Makefile index ff9b317..2843f5d 100644 --- a/Makefile +++ b/Makefile @@ -48,6 +48,12 @@ stretch_%.squashfs: stretch_%_config/ rm "$@" || true mksquashfs "$<" "$@" -comp xz +vmlinuz: stretch_*_root/ + ln -s '$<$@' ./ + +initrd.img: stretch_*_root/ + ln -s '$<$@' ./ + /dev/sd%: partitions .FORCE sfdisk ${@}