Parcourir la source

mkimage.sh.in: fix PLATFORM detection

Michael Aldridge il y a 7 ans
Parent
commit
4e2214218a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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.