mkimage.sh.in: fix PLATFORM detection
This commit is contained in:
parent
20ce939c01
commit
4e2214218a
@ -124,7 +124,7 @@ check_tools
|
|||||||
# Setup the platform variable. Here we want just the name and
|
# Setup the platform variable. Here we want just the name and
|
||||||
# optionally -musl if this is the musl variant.
|
# optionally -musl if this is the musl variant.
|
||||||
PLATFORM="${ROOTFS_TARBALL#void-}"
|
PLATFORM="${ROOTFS_TARBALL#void-}"
|
||||||
PLATFORM="${PLATFORM%-ROOTFS*}"
|
PLATFORM="${PLATFORM%-PLATFORMFS*}"
|
||||||
|
|
||||||
# This is an awful hack since the script isn't using privesc
|
# This is an awful hack since the script isn't using privesc
|
||||||
# mechanisms selectively. This is a TODO item.
|
# mechanisms selectively. This is a TODO item.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user