{"push_id":2375381230,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"69781ebb509c835cad7b6cd12ea37cb8296fb64d","before":"59e8b056ab1ed0e32b1913a9eee7d66a3c39ff0b","commits":[{"sha":"7e811708f31c08da8a6ff586e39ab97f3d59f65a","author":{"name":"Trent Piepho","email":"2714bdff3d9ab6510e80d91d1ed530895d8cf151@impinj.com"},"message":"package/skeleton-init-systemd: work around for /var/lib not populating\n\nWhen using a RO root with systemd, it is intended that /var/lib should be\npopulated at boot time by tmpfiles system mirroring it from\n/usr/share/factory/var/lib.\n\nHowever, this will only happen if /var/lib does not already exist at the\ntime systemd-tmpfiles runs.  If it does exist, then tmpfiles will\n(silently) skip it and do nothing.\n\nIt turns out /var/lib will exist, because some part of systemd creates\n/var/lib/systemd/catalog on boot before tmpfiles runs.\n\nThe fix used here is to also create tmpfiles entries for the contents of\n/var/lib/* and /var/lib/systemd/*.  This way, when those directories\nalready exist, the entire tree is not skipped and instead the\nnot-yet-existing contents of /var/lib and /var/lib/systemd will be still\nbe mirrored from the factory dir.\n\nAnd if /var/lib/systemd, or a prefix of that, stops getting created and\ndoes not exist, it'll still mirror properly.\n\nIt does cause some warnings from systemd:\nsystemd[1]: Starting Create Volatile Files and Directories...\nsystemd-tmpfiles[148]: [/etc/tmpfiles.d/var-factory.conf:7] Duplicate line for path \"/var/lib/systemd\", ignoring.\nsystemd-tmpfiles[148]: [/etc/tmpfiles.d/var-factory.conf:8] Duplicate line for path \"/var/lib/systemd/coredump\", ignoring.\n\nBut they can be ignored.\n\nIMHO, I think a better solution would be for systemd-tmpfiles to gain a\n\"merge tree\" operation that is like \"C\" but doesn't abort if the\ndestination exists, but rather merges the source into it.\n\nSigned-off-by: Trent Piepho <tpiepho@impinj.com>\n[yann.morin.1998@free.fr: slight rework of commit title]\nSigned-off-by: Yann E. MORIN <yann.morin.1998@free.fr>\nTested-by: Adam Duskett <aduskett@gmail.com>\nSigned-off-by: Peter Korsgaard <peter@korsgaard.com>","distinct":true,"url":"https://api.github.com/repos/woodsts/buildroot/commits/7e811708f31c08da8a6ff586e39ab97f3d59f65a"},{"sha":"6e5df928539efd424a381f3434fe5b9da1f2dffa","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"package/skeleton-systemd: invert factory logic\n\nCurrently, we handle the factory by redirectoring /var with a symlink at\nbuild time, and with some trickery during the filesystem generation,\ndepending on whether we need to remount the filesystem read-write or\nnot.\n\nHowever, this is causing quite some pain with the latest systemd, now that\nthey have moved their dbus socket to /run instead of /var/run.\n\nAs such, trying to play tricks with /var/run as a symlink is difficult,\nbecause at times it is in .usr/share/factory/var/run (during build) and\nthen it is in /var/run (at runtime). So a relative symlink is not\npossible. But an absolute symlink is not possible either, because we are\ninstalling out-of-tree.\n\nOh the joys of cross-compilation... :-)\n\nWe fix all this mess by making /var a real directory from the onset, so\nthat we can use the runtime-expected layout even during the build.\n\nThen, during filesystem generation, we move /var away to the factory,\nand populate it as we used to do. This still requires a post-fs hook to\nrestore /var after the filesystem generation.\n\nThis leaves a situation that, should the filesystem generation fails,\n/var will be left in an inconsistent state. But that is not worse than\nwhat we already had anyway.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nCc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>\nCc: Trent Piepho <tpiepho@impinj.com>\nCc: Adam Duskett <aduskett@gmail.com>\nCc: Romain Naour <romain.naour@gmail.com>\nCc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>\nCc: Peter Korsgaard <peter@korsgaard.com>\nSigned-off-by: Peter Korsgaard <peter@korsgaard.com>","distinct":true,"url":"https://api.github.com/repos/woodsts/buildroot/commits/6e5df928539efd424a381f3434fe5b9da1f2dffa"},{"sha":"69781ebb509c835cad7b6cd12ea37cb8296fb64d","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"support/tests: enhance the runtime systemd tests\n\nRecent systemd bump has broken DBus dameon and DBus applications can no\nlonger find the daemon. So we want to catch those kind of failures\nearly.\n\nWe also want to check that the system as a whole is stable: no unit\nshould be failed.\n\nFinally, ensure that we can read the jounrnal, even when we are doing our\ntricks on read-only systems.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nSigned-off-by: Peter Korsgaard <peter@korsgaard.com>","distinct":true,"url":"https://api.github.com/repos/woodsts/buildroot/commits/69781ebb509c835cad7b6cd12ea37cb8296fb64d"}]}
{"actor":{"display_login":"woodsts"}}