fixes for build-rootfs-dreamplug.sh