浏览代码

mkimage.sh.in: fix PLATFORM detection

Michael Aldridge 7 年之前
父节点
当前提交
4e2214218a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mkimage.sh.in

+ 1 - 1
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.