add /update/mbr

This commit is contained in:
Michael Stapelberg 2018-07-12 09:27:32 +02:00
parent c74265523b
commit 0f8d40d7f6

View File

@ -148,6 +148,7 @@ func initUpdate() error {
}
http.HandleFunc("/update/boot", nonConcurrentUpdateHandler(mustFindRootDevice()+"1"))
http.HandleFunc("/update/mbr", nonConcurrentUpdateHandler(mustFindRootDevice()))
http.HandleFunc("/update/root", nonConcurrentUpdateHandler(mustFindRootDevice()+inactiveRootPartition))
http.HandleFunc("/update/switch", nonConcurrentSwitchHandler(inactiveRootPartition))
// bakery updates only the boot partition, which would reset the active root