change to custom.manifest

This commit is contained in:
janson
2024-05-07 20:35:27 +08:00
parent 41ef285ca8
commit 3f89a8310f
6 changed files with 33 additions and 3280 deletions

View File

@@ -25,9 +25,11 @@ fi
set -e
if [ "$IB_FOUND" = "0" ]; then
if [ ! -f dl/${IB_NAME}.tar.xz ]; then
wget -O dl/${MF_NAME} ${IB_URL}${MF_NAME}
wget -O dl/${IB_NAME}.tar.xz ${IB_URL}${IB_NAME}.tar.xz
wget -O dl/sha256sums ${IB_URL}sha256sums
[ -s dl/sha256sums ]
[ -s dl/${MF_NAME} ]
[ -s dl/${IB_NAME}.tar.xz ]
grep -Fq ${IB_NAME}.tar.xz dl/sha256sums
cd dl && sha256sum -c --ignore-missing --status sha256sums
@@ -42,22 +44,23 @@ if [ "$IB_FOUND" = "0" ]; then
cp packages/all/*.ipk ib/packages/
mkdir -p ib/files
cp -a files/all/* ib/files
cp dl/${MF_NAME} ib/target.manifest
case ${WORK_TARGET} in
*x86*)
cp src/repositories_x86_64.conf ib/repositories.conf
cp src/target_x86_64.manifest ib/target.manifest
cp src/target_x86_64.manifest ib/custom.manifest
;;
*rk35xx*)
cp src/repositories_rk35xx.conf ib/repositories.conf
cp src/target_rk35xx.manifest ib/target.manifest
cp src/target_rk35xx.manifest ib/custom.manifest
;;
*rk33xx*)
cp src/repositories_rk33xx.conf ib/repositories.conf
cp src/target_rk33xx.manifest ib/target.manifest
cp src/target_rk33xx.manifest ib/custom.manifest
;;
*bcm2711*)
cp src/repositories_aarch64.conf ib/repositories.conf
cp src/target_bcm2711.manifest ib/target.manifest
cp src/target_bcm2711.manifest ib/custom.manifest
;;
esac
fi