分層套件
Fedora IoT 映像檔使用 rpm-ostree,這是一套結合映像檔與套件的混合式系統。您可以在既有映像檔上加入套件分層,產生新的版本化部署;同樣地,移除分層套件也會建立新的版本化映像檔。rpm-ostree 會保留兩個可用的部署,因此可透過復原程序回到先前的部署。
顯示目前執行中部署的狀態:
$ rpm-ostree status
State: idle
AutomaticUpdates: disabled
Deployments:
● ostree://fedora-iot:fedora/stable/x86_64/iot (1)
Version: 29.20190214.0 (2019-02-14T18:11:32Z)
BaseCommit: 007f24873c04fea4ee96024f6ebb6e56a29f634ab2a9e9218b15444666dd719c
GPGSignature: Valid signature by C2A3FA9DC67F68B98BB543F47BB90722DBBDCF7C
LayeredPackages: asciiquarium git (2)
ostree://fedora-iot:fedora/stable/x86_64/iot (3)
Version: 29.20190214.0 (2019-02-14T18:11:32Z)
Commit: 007f24873c04fea4ee96024f6ebb6e56a29f634ab2a9e9218b15444666dd719c
GPGSignature: Valid signature by C2A3FA9DC67F68B98BB543F47BB90722DBBDCF7C
| 1 | 目前執行中的部署會以 ● 標示。 |
| 2 | 說明中會列出分層套件。 |
| 3 | 先前的部署也會保留在開機選單中,並可用於復原程序。 |
Want to help? Learn how to contribute to Fedora Docs ›