1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
raspberrypi-build/run
2017-09-26 08:34:59 +00:00

22 lines
481 B
Bash
Executable file

#!/bin/bash -e
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
export BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
export IMG_NAME='BarnacleOS'
export USERNAME='user'
export PASSWORD='password'
export DEPLOY_DIR="$BASE_DIR/deploy"
export ROOTFS_DIR="$BASE_DIR/rootfs"
export KEYS_DIR="$BASE_DIR/keys"
export FILES_DIR="$BASE_DIR/files"
export IMG_FILE="$DEPLOY_DIR/$IMG_NAME.img"
cd "$BASE_DIR"
mkdir -p "$DEPLOY_DIR"
exec bash -e $@