feat: initial upload

Initial public release
This commit is contained in:
Chris Blake 2024-05-19 14:04:59 -05:00
commit 85a5bd66e0
30 changed files with 943 additions and 0 deletions

36
scripts/vars.sh Executable file
View file

@ -0,0 +1,36 @@
#!/bin/bash
root_path="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
build_path="${root_path}/BuildEnv"
# Docker image name
docker_tag=unvr-nas:builder
# Expected UNVR Firmware and hash
firmware_filename="f449-UNVRPRO-4.0.3-fdec2c4f-1855-4eb6-8711-e22f8f904922.bin"
firmware_md5="5dcdc03bdec1524767007fcd12e81777"
# Genimage
genimage_src="https://github.com/pengutronix/genimage/releases/download/v16/genimage-16.tar.xz"
genimage_filename="$(basename ${genimage_src})"
genimage_repopath="${genimage_filename%.tar.xz}"
# Distro
distrib_name="debian"
#deb_mirror="http://ftp.us.debian.org/debian"
deb_mirror="http://debian.uchicago.edu/debian"
deb_release="bookworm"
deb_arch="arm64"
fs_overlay_dir="filesystem"
debug_msg () {
BLU='\033[0;32m'
NC='\033[0m'
printf "${BLU}${@}${NC}\n"
}
error_msg () {
BLU='\033[0;31m'
NC='\033[0m'
printf "${BLU}${@}${NC}\n"
}