Setting up an HTTP remote package server and pointing your target clients at it is easier than you might think. Python's built-in http.server module can be used to quickly serve up ipk package feeds from your Yocto build machine. I will demonstrate how to add the opkg package manager to a distro layer and configure the tool to download and install a newly-built package on demand.
Runtime package management is a controversial topic in the embedded Linux community. It is a known attack vector for hijacking consumer devices and can result in inconsistent states or even bricking when relied on for OTA updates. We will look at what conveniences runtime package management offers software development teams and which stages of the product development cycle does it make the most sense.
![](https://s2.save4k.ru/pic/gv6SM-rvFqE/mqdefault.jpg)