Fix a typo in path, clean overlays for second image

This commit is contained in:
Lee Miller 2023-02-22 04:17:49 +02:00
parent 75c54d9585
commit 3aaf69b20f
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -93,7 +93,7 @@ PACKAGES="kmod-i2c-bcm2835 kmod-nf-nathelper-extra kmod-rtc-ds1307 \
# Setup files
mkdir -p files/boot/overlays
cp ${pwd}/overlays/ed-mcp2515-spi1-can0.dtbo overlays/dualeth.txt files/boot/overlays/
cp ${pwd}/overlays/ed-mcp2515-spi1-can0.dtbo ${pwd}/overlays/dualeth.txt files/boot/overlays/
mkdir -p files/root/.ssh
chmod 0700 files/root files/root/.ssh
cp ${pwd}/authorized_keys files/root/.ssh/
@ -120,8 +120,8 @@ make image PROFILE=${PROFILE} \
mv ${IMAGE_PATH}-squashfs-factory.img.gz ${IMAGE_PATH}-squashfs-factory-dualeth.img.gz
mv ${IMAGE_PATH}-squashfs-sysupgrade.img.gz ${IMAGE_PATH}-squashfs-sysupgrade-dualeth.img.gz
cp ${pwd}/overlays/ed-sdhost.dtbo overlays/sensing.txt files/boot/overlays/
rm -rf files/boot/overlays/*
cp ${pwd}/overlays/ed-sdhost.dtbo ${pwd}/overlays/sensing.txt files/boot/overlays/
cp config.txt ${BOOTCONFIG}
echo "dtoverlay=ed-sdhost" >> ${BOOTCONFIG}