tools/squashfskit: fix version detection on non-linux system
authorAlexander Couzens <lynxis@fe80.eu>
Sat, 2 Mar 2019 13:46:57 +0000 (14:46 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 3 Mar 2019 18:45:10 +0000 (19:45 +0100)
commitac3bae907fc2bc648b4b40b0df1f325b72ae24c3
tree9528302bc49886694a10fc60ab563b9d356e15a2
parent33201a3ad1087d107a8a66b4e2a73019021e2628
tools/squashfskit: fix version detection on non-linux system

gnu date is present in our staging_dir which means squashfskit will fail
to build. Prevent also a race condition if coreutils is build after
squashfskit.

To prevent a race condition, depend on coreutils.

Acked-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
tools/Makefile
tools/squashfskit4/patches/0001-fix-version.sh.patch [new file with mode: 0644]