Cleanup build.sh:

- show the manifest existing after make image instead of making a new one;
  - don't move packages to out - the directory is ignored by multibuild;
  - don't make package index, because imagebuilder builds it's own.
This commit is contained in:
Lee Miller 2023-03-19 06:24:08 +02:00
parent 604299e7ce
commit 78bcedaf60
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -32,8 +32,6 @@ make package/kmod-i2c-mux-pinctrl/compile
make package/kmod-rtc-pcf85063/compile
make package/asterisk-chan-quectel/compile
make package/collectd/compile
# no signing key
make package/index
sdkdir=$(pwd)
cd ${pwd}
@ -148,10 +146,9 @@ mv ${IMAGE_PATH}-squashfs-factory.img.gz ${IMAGE_PATH}-squashfs-factory-sensing.
mv ${IMAGE_PATH}-squashfs-sysupgrade.img.gz ${IMAGE_PATH}-squashfs-sysupgrade-sensing.img.gz
make manifest PROFILE=${PROFILE} PACKAGES="${PACKAGES}"
cat ${BINPATH}/*.manifest
out=../../out
mkdir -p ${out}
mv ${BINPATH}/*.gz ${out}
mv packages ${out}