blob: 92dd6b2ed9baf6f994e91dbe75bb2f20760b7dde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Info: this is just a random SH script to create /opt/yocto directories if they don't exist
# This is to make cache directories for yocto builds
# This is not needed for the kas build system, but it is highly recommended to have these directories created for yocto builds
#!/bin/sh
YOCTO_DIR=/opt/yocto
for dir in sstate-cache downloads builds tmp; do
mkdir -p "$YOCTO_DIR/$dir"
chown -R "$USER:$USER" "$YOCTO_DIR/$dir"
chmod -R u+rwx "$YOCTO_DIR/$dir"
done
echo "Yocto directories created in $YOCTO_DIR"
|