{"push_id":2670137427,"size":3,"distinct_size":3,"ref":"refs/heads/squash-initramfs","head":"1ede247847ec4cad6b3d7c8d4c0c75042bb8a354","before":"084f2aa326b563bf716f8a0e48b89a3e1c4d6e19","commits":[{"sha":"3392666051907d6c764dd60ed2e403a68b706ac4","author":{"name":"Kairui Song","email":"067aa8a43d88f852a158040be82d99889982a2ea@redhat.com"},"message":"Move hooks to /var/lib/dracut/hooks\n\nThis make it easier to make /usr read only","distinct":true,"url":"https://api.github.com/repos/ryncsn/dracut/commits/3392666051907d6c764dd60ed2e403a68b706ac4"},{"sha":"30ecc5e980cf27b0262a794df3a45ed41c544261","author":{"name":"Kairui Song","email":"067aa8a43d88f852a158040be82d99889982a2ea@redhat.com"},"message":"Add support for building a squashed initramfs\n\nWith all files stored in ramfs, and most of them are not compressed,\nthe initramfs will take up a lot of memory. This becomes worse with\nlarger page size, because for each file, however small it is, page cache\nwill allocate a minimum of one page to cache the contents.\n\nOne approach to reducing the memory usage and shrink initramfs size\nis to put most files into a read-only squash image and keep a minimum\nset of executable and libraries outside as the loader for the squash\nimage. Once the squash image is mounted, the real init inside will be\nexecuted and then everything behaves as usual.\n\nThis patch will introduce a 99squash module which will never be included\nby default. User can force include it, and if it is included, dracut\nwill perform some extra steps before creating the final image.\n\"/etc\" and \"/usr\" will be moved to \"/squash\", and \"/init\" will be renamed to\n\"/init.orig\" and replaced by \"/init.squash\". Executable and libraries\nrequired for \"/init.squash\" to run will be move from \"/squash\" to\n\"/squash-init\", as \"/squash\" is not accessible before it's mounted.\n\"/squash\" will be squashed in to \"/squash.img\" and \"/init.sqush\" will\nmount it, then call \"/init.orig\".\n\nAccording to my tests, this can save about 40MB of memory with 64K page\nsize, or about 20MB with 4K page size.","distinct":true,"url":"https://api.github.com/repos/ryncsn/dracut/commits/30ecc5e980cf27b0262a794df3a45ed41c544261"},{"sha":"1ede247847ec4cad6b3d7c8d4c0c75042bb8a354","author":{"name":"Kairui Song","email":"067aa8a43d88f852a158040be82d99889982a2ea@redhat.com"},"message":"dracut-emergency: Clean up /etc/profile instead of delete it on exit\n\nIf /etc is mounted as ro, delete it will give an error. Just clean it up\nshould be fine enough.","distinct":true,"url":"https://api.github.com/repos/ryncsn/dracut/commits/1ede247847ec4cad6b3d7c8d4c0c75042bb8a354"}]}
{"actor":{"display_login":"ryncsn"}}