update build_image.sh script added rootfs_archive and unified busybox building

This commit is contained in:
wt committed 2024-08-23 17:29:26 +07:00
1 parent 20ce8b22e0
commit 0ea96d011c
5 files changed
+112 -49

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh
#---- System update ----
apt update -qq &&
apt upgrade -y -qq &&
#-----------------------
#-------------- Nodejs ---------------------------------------------
apt install -y curl
# curl -sL https://deb.nodesource.com/setup_6.x | bash - &&
apt install -y --force-yes -qq build-essential make cmake u-boot-tools bc file wget &&
#-------------------------------------------------------------------
#----------- Toolchains --------------------------------------------
mkdir -p /opt/toolchains /var/www/html &&
cd /opt/toolchains &&
tar -xf ${OLDPWD}/toolchains/x86_64-buildroot-linux-uclibc-gcc.tar.gz &&
cd $OLDPWD
#-------------------------------------------------------------------