{"push_id":1179128708,"size":2,"distinct_size":2,"ref":"refs/heads/iaguis/robustness","head":"2e47bdbd4069828f442c22d870e2024a455b349d","before":"8d7c03bd4929dfca854e5831c72274dc07743e39","commits":[{"sha":"b37f560a992ceb1882a6196bf6a4fbb59343db57","author":{"name":"Iago López Galeiras","email":"cf72ad97863626af7676324730cc83a378a949bb@kinvolk.io"},"message":"robustness: initial implementation\n\nAdd a dracut service that checks a boot-flags file to decide which root\nto boot.\n\n* If there's no flags file for this root, the service will just boot.\n* If the \"successful\" flag is 1, the service will remove the flags file\nand boot, since a previous boot attempt was successful we assume the\nroot is good.\n* If the \"successful\" flag is 0 but \"tries_left\" is >0, it will try to\nboot this root, decreasing \"tries_left\".\n* Finally, if both \"successful\" and \"tries_left\" are 0, it will roll\nback to the previous root swapping the bootloader files and setting\n\"/proc/cmdline\" to the old root. It will also signal userspace by\ncreating a \"rolled-back\" file.\n\nInitially, eos-updater sets this file with \"successful=0\" and\n\"tries_left=1\" so one boot is attempted. If the user is able to log in,\na DBus service will mark the root as successful (see the following\ncommit).","distinct":true,"url":"https://api.github.com/repos/kinvolk/eos-boot-helper/commits/b37f560a992ceb1882a6196bf6a4fbb59343db57"},{"sha":"2e47bdbd4069828f442c22d870e2024a455b349d","author":{"name":"Iago López Galeiras","email":"cf72ad97863626af7676324730cc83a378a949bb@kinvolk.io"},"message":"setgoodroot: initial implementation\n\nAdd a dbus service that starts on user login\n(X-GNOME-Autostart-enabled=true) that sets an updated ostree root as\nsuccessful and cleans up rolled back deployments if needed.","distinct":true,"url":"https://api.github.com/repos/kinvolk/eos-boot-helper/commits/2e47bdbd4069828f442c22d870e2024a455b349d"}]}
{"actor":{"display_login":"iaguis"}}