Closed wiedehopf closed 2 months ago
Output from the build log:
removed 'dietpi.txt'
removed 'dietpi-wifi.txt'
+ echo 'remaining files in /boot on partition 2:'
+ ls
remaining files in /boot on partition 2:
System.map-6.6.28+rpt-rpi-v8
cmdline.txt
config-6.6.28+rpt-rpi-v8
config.txt
dietpi
dietpi-LICENSE.txt
dietpi-README.md
firmware
initrd.img-6.6.28+rpt-rpi-v8
vmlinuz-6.6.28+rpt-rpi-v8
This should be an image built with the changes of this PR (except for naming changes and rebase): https://github.com/dirkhh/adsb-feeder-image/releases/download/latest/adsb-im-raspberrypi64-dietpi-pi-2-3-4-g-869be52b.img.xz
Testing it now.
dietpi.txt and dietpi-wifi.txt are copied with cp -uv from the FAT partition to /boot on partition 2. If a user has dietpi.txt / dietpi-wifi.txt with older timestamp and the image builder has populated these files with ones with newer timestamp, the user configuration is never applied thus leading to image failure.
fix this by deleting the files in question.
note: /boot on partition 2 is usually completely empty for unmodified dietpi images, when checking i saw the image builder has put other files there like a kernel image. this hasn't caused any issues in my testing though.