Add mkplatformfs.sh.in

This commit is contained in:
Michael Aldridge
2017-08-12 20:06:20 -07:00
parent fa88e042ba
commit 119a0ad1b5
3 changed files with 186 additions and 3 deletions

View File

@@ -83,6 +83,9 @@ done
shift $((OPTIND - 1))
XBPS_TARGET_ARCH="$1"
# Set the XBPS cache
set_cachedir
# This is an aweful hack since the script isn't using privesc
# mechanisms selectively. This is a TODO item.
if [ "$(id -u)" -ne 0 ]; then