updated for build orangepi_zero_2w

This commit is contained in:
wt
2025-04-03 17:39:16 +07:00
parent 0210af212d
commit 641ab89367
11 changed files with 458 additions and 6560 deletions
+4 -2
View File
@@ -29,13 +29,15 @@ rootfs() {
cd $rootfspath
mkdir -pv $(cat $rootfsfile) # &>> $fulllogfile
ln -sv usr/lib lib # &>> $fulllogfile
ln -sv usr/lib lib32 # &>> $fulllogfile
[ "$ARCH" = "arm" ] && ln -sv usr/lib lib32 # &>> $fulllogfile
[ "$ARCH" = "arm64" ] && ln -sv usr/lib lib64
ln -sv usr/bin bin # &>> $fulllogfile
ln -sv usr/bin sbin # &>> $fulllogfile
ln -sv var/run run
cd usr
ln -sv bin sbin # &>> $fulllogfile
ln -sv lib lib32 # &>> $fulllogfile
[ "$ARCH" = "arm" ] && ln -sv lib lib32 # &>> $fulllogfile
[ "$ARCH" = "arm64" ] && ln -sv lib lib64
ln -sv bin libexec
cd ..
tar -xvf $root/downloads/20250110-1.tar.gz