# 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"