Browse Source

mkimage.sh.in: fix PLATFORM detection

Michael Aldridge 7 năm trước cách đây
mục cha
commit
4e2214218a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.