{"push_id":1278991102,"size":4,"distinct_size":0,"ref":"refs/heads/master","head":"2aacc6912b78e7d3158f072cd9c1b3c5d0bddc22","before":"39918179d1e1bb8bc8708695f63525e511cfb8f0","commits":[{"sha":"4d3b93e2ad1041fa36e740cba35284d17752e928","author":{"name":"William Manley","email":"04b37090e49c8df30248a40a7ba058ba8dc2f573@williammanley.net"},"message":"switchroot: Fix build on Ubuntu\n\nWas failing with error:\n\n    src/switchroot/ostree-prepare-root.c:30:20: fatal error: config.h: No such file or directory\n    compilation terminated.\n\nReported by and fix provided by @gatispaeglis.\n\nCloses: #485\nApproved by: cgwalters","distinct":false,"url":"https://api.github.com/repos/ostreedev/ostree/commits/4d3b93e2ad1041fa36e740cba35284d17752e928"},{"sha":"598e3240ff523ca827d225271b6e68da90a5e572","author":{"name":"William Manley","email":"04b37090e49c8df30248a40a7ba058ba8dc2f573@williammanley.net"},"message":"switchroot: Fix test-switchroot now autotools can build static\n\nThis test previously depended on manually building ostree-prepare-root.\nSince 42dab85 we've been able to build static binaries with the usual\nautotools build-system.  This change reflects the fact that\n`ostree-prepare-root` is built into $srcdir rather than `src/switchroot`\nwhere I was building manually.\n\nThis test now passes with `./configure --with-static-compiler=gcc` (glibc)\nbut still fails with `./configure --with-static-compiler=musl-gcc` (musl).\n\nCloses: #485\nApproved by: cgwalters","distinct":false,"url":"https://api.github.com/repos/ostreedev/ostree/commits/598e3240ff523ca827d225271b6e68da90a5e572"},{"sha":"5424404813a3f9ca65d1d9e7a4b2efbaebef71cf","author":{"name":"William Manley","email":"04b37090e49c8df30248a40a7ba058ba8dc2f573@williammanley.net"},"message":"ostree-prepare-root: Error if realpath fails\n\nI've seen it fail with musl which needs `/proc` to be mounted for it to\nwork.  The error messages we're rather confusing before.  At least this\nnow points to the right location.\n\nCloses: #485\nApproved by: cgwalters","distinct":false,"url":"https://api.github.com/repos/ostreedev/ostree/commits/5424404813a3f9ca65d1d9e7a4b2efbaebef71cf"},{"sha":"2aacc6912b78e7d3158f072cd9c1b3c5d0bddc22","author":{"name":"William Manley","email":"04b37090e49c8df30248a40a7ba058ba8dc2f573@williammanley.net"},"message":"ostree-prepare-root: Fix running with musl\n\nmusl libc's implementation of `realpath` works by opening the path and then\ndoing a lookup in `/proc/self/fd` to find the canonical path.  This fails\nif `/proc` is not mounted.  This causes problems for us if\n`ostree-prepare-root` is `init` as `/proc` won't be mounted.\n\nWe have to mount `/proc` anyway for `/proc/cmdline` so this fix just\nexpands the scope over which `/proc` is mounted to include both our\n`realpath` calls.\n\nSee also:\n\n* http://www.openwall.com/lists/musl/2016/06/08/2 and\n* http://git.musl-libc.org/cgit/musl/tree/src/misc/realpath.c?id=e738b8cbe64b6dd3ed9f47b6d4cd7eb2c422b38d\n\nCloses: #485\nApproved by: cgwalters","distinct":false,"url":"https://api.github.com/repos/ostreedev/ostree/commits/2aacc6912b78e7d3158f072cd9c1b3c5d0bddc22"}]}
{"actor":{"display_login":"rh-atomic-bot"}}