From 4e2214218ac42c1493c63355eec3e569e76d14ad Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Fri, 18 Aug 2017 21:13:48 -0700 Subject: [PATCH] mkimage.sh.in: fix PLATFORM detection --- mkimage.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkimage.sh.in b/mkimage.sh.in index b99576d..902958f 100644 --- a/mkimage.sh.in +++ b/mkimage.sh.in @@ -124,7 +124,7 @@ check_tools # Setup the platform variable. Here we want just the name and # optionally -musl if this is the musl variant. PLATFORM="${ROOTFS_TARBALL#void-}" -PLATFORM="${PLATFORM%-ROOTFS*}" +PLATFORM="${PLATFORM%-PLATFORMFS*}" # This is an awful hack since the script isn't using privesc # mechanisms selectively. This is a TODO item.