mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-01-12 23:08:54 +01:00
add version to generated images
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
009987da87
commit
5021f20326
3
Makefile
3
Makefile
@ -80,7 +80,7 @@ image: fun
|
||||
@mkdir -p root tmp
|
||||
@./Recovery/output/host/bin/genimage --loglevel 0 --inputpath .
|
||||
@rm -rf root tmp
|
||||
|
||||
@mv images/sdcard.img images/FunKey-sdcard-$(shell cat FunKey/board/funkey/rootfs-overlay/etc/sw-versions | cut -f 2).img
|
||||
|
||||
image-prod: fun
|
||||
@$(call MESSAGE,"Creating disk image")
|
||||
@ -88,6 +88,7 @@ image-prod: fun
|
||||
@mkdir -p root tmp
|
||||
@./Recovery/output/host/bin/genimage --loglevel 0 --config "genimage-prod.cfg" --inputpath .
|
||||
@rm -rf root tmp
|
||||
@mv images/sdcard-prod.img images/FunKey-sdcard-prod-$(shell cat FunKey/board/funkey/rootfs-overlay/etc/sw-versions | cut -f 2).img
|
||||
|
||||
update: fun
|
||||
@$(call MESSAGE,"Creating update file")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user