Fix selection of initramfs for qemu
This commit is contained in:
parent
5e9e6e0895
commit
e001325c8f
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -20,7 +20,7 @@ qemu_target ?= debian-stretch
|
|||
qemu_kernel = $(qemu_target).linux
|
||||
qemu_torrent = $(qemu_target).torrent
|
||||
qemu_initramfs = $(shell \
|
||||
if [ -e $(qemu_target).initramfs.dev ] && [ `date -r $(qemu_target).initramfs.dev +%s` -gt `date -r $(qemu_target).initramfs +%s` ]; then \
|
||||
if [ -e images/$(qemu_target).initramfs.dev ] && [ `date -r images/$(qemu_target).initramfs.dev +%s` -gt `date -r images/$(qemu_target).initramfs +%s` ]; then \
|
||||
echo "$(qemu_target).initramfs.dev"; \
|
||||
else \
|
||||
echo "$(qemu_target).initramfs"; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue