{"push_id":1410600607,"size":3,"distinct_size":3,"ref":"refs/heads/T13963","head":"7ca06c78b7981768a664adc07abc06ceea5e8170","before":"ce4ca0d70ed11916633b39db6b431958593346d2","commits":[{"sha":"2f83e34d57a0211169748c467b10421d697b1f9a","author":{"name":"Will Thompson","email":"d23b344a0b4d19082c1ed65ef7ce818b9ea72067@endlessm.com"},"message":"UEFIBootSetup: log old and new boot configuration\n\nThis is quite verbose but more information is better than less; besides,\nwe might learn something interesting about non-standard configurations in\nthe wild.","distinct":true,"url":"https://api.github.com/repos/endlessm/rufus/commits/2f83e34d57a0211169748c467b10421d697b1f9a"},{"sha":"5ae8bdef249ca0e3c93eab4dbff25294166ff877","author":{"name":"Will Thompson","email":"d23b344a0b4d19082c1ed65ef7ce818b9ea72067@endlessm.com"},"message":"UEFIBootSetup: remove unused 'windows' variable","distinct":true,"url":"https://api.github.com/repos/endlessm/rufus/commits/5ae8bdef249ca0e3c93eab4dbff25294166ff877"},{"sha":"7ca06c78b7981768a664adc07abc06ceea5e8170","author":{"name":"Will Thompson","email":"d23b344a0b4d19082c1ed65ef7ce818b9ea72067@endlessm.com"},"message":"UEFIBootSetup: simplify finding a free boot entry\n\nI observed in a log that our boot entry was numbered 8196 (== 0x2004).\nThis is because we find the first unused entry after the\nhighest-numbered entry in the boot order.\n\nOn my Lenovo Yoga 900, and presumably other Lenovo machines, the 0x200x\nrange is used for removable & network boot options:\n\n    % efibootmgr\n    BootCurrent: 0001\n    Timeout: 0 seconds\n    BootOrder: 0001,2001,2002,2003\n    Boot0001* Fedora\n    Boot2001* EFI USB Device\n    Boot2002* EFI DVD/CDROM\n    Boot2003* EFI Network\n\nWe have reports of the boot order not being updated correctly on some\nLenovo machines. I don't have Windows on mine so cannot test this, but\nperhaps they treat the 0x200x range specially. We believe that other\ndistros can peacefully coexist with Windows; they probably use efibootmgr,\nwhich finds the lowest-numbered unused entry, full stop.\n\nSo, here is some simplified logic:\n\n* Scan 'BootOrder'; if we find an 'Endless OS' entry, return that.\n* Scan 'BootXXXX' in ascending order from 'Boot0000'; return the first\n  unused one.\n\nThis implementation is slightly less neat than efibootmgr because it reads\neach in-use BootXXXX variable twice: once while scanning BootOrder, and\nonce while finding the first free variable. I think the simplicity has\nsomething going for it, though.\n\nhttps://phabricator.endlessm.com/T13963","distinct":true,"url":"https://api.github.com/repos/endlessm/rufus/commits/7ca06c78b7981768a664adc07abc06ceea5e8170"}]}
{"actor":{"display_login":"wjt"}}