'Arm Linux update a software package without apt [duplicate]
I have an embedded system with arm Linux integrated (own construction) that has several software components. I know that in normal desktop case there is an apt or for arm pacman as package manager where I can easily update packages. This Linux system doesn´t have a package manager.
I tried: Downloading a tar file and refresh the packages manually.
#My question is# How can I update this packages best way?
Solution 1:[1]
Embedded Linux is usually upgraded in its entirety, not in parts.
In order to avoid errors during the upgrade two partitions (A and B) are used. If the update fails, the system is simply booted from the backup partition.
That is:
- The system is booted from partition A.
- A new image of OS is downloaded (this contains kernel, initialization system and your software).
- Flashing image to partition B.
- The boot loader is set to boot once from partition B.
- The system, booted from partition B, configures the bootloader to boot permanently from partition B.
Now it turns out that partition A contains an old version of OS, and partition B contains a new one.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | lcomrade |
