diff --git a/configs/raspberrypi_config b/configs/raspberrypi_config index 32f1212..9d3f787 100644 --- a/configs/raspberrypi_config +++ b/configs/raspberrypi_config @@ -110,6 +110,12 @@ function platform_modify() { files_to_modify="$files_to_modify work/rootfs/usr/lib/userconf-pi/userconf-service" fi + # MEN-5955: Integrate with raspberrypi-net-mods/wpa_copy + # See: https://github.com/RPi-Distro/raspberrypi-net-mods + if [ -f "work/rootfs/usr/lib/raspberrypi-net-mods/wpa_copy" ]; then + files_to_modify="$files_to_modify work/rootfs/usr/lib/raspberrypi-net-mods/wpa_copy" + fi + # Modify the files and log the changes for f in $files_to_modify; do run_and_log_cmd "sed -i.bak 's|/boot|/uboot|g' ${f}"