{"push_id":1280925781,"size":14,"distinct_size":11,"ref":"refs/heads/yem/systemd-skeleton","head":"a80d271f68094228f37b211e82d85d2a40c9db04","before":"23afeb6ef44706d312a6cfbac9d5173d20c38f17","commits":[{"sha":"e4cbaffe2b818dab3ebef3bbb08fb5ca5637d8b5","author":{"name":"Gustavo Zacarias","email":"c66b90184dd80a00a6f6ef8d0ff70881e786347b@zacarias.com.ar"},"message":"mpv: remove stray patch\n\nIt's remaining from the master-next merge and no longer applies.\n\nSigned-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>\nSigned-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","distinct":false,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/e4cbaffe2b818dab3ebef3bbb08fb5ca5637d8b5"},{"sha":"ffba4aec9c28cb86448e0ce142af4b6c6d93ca6f","author":{"name":"Luca Ceresoli","email":"c771c40e96519b1604ddc56f39dfdaf1b7b0d439@lucaceresoli.net"},"message":"snmppp: bump to 3.3.7\n\nSigned-off-by: Luca Ceresoli <luca@lucaceresoli.net>\nSigned-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","distinct":false,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/ffba4aec9c28cb86448e0ce142af4b6c6d93ca6f"},{"sha":"15cf25114a4918bab0bf7a5d5cd198f864c02929","author":{"name":"Luca Ceresoli","email":"c771c40e96519b1604ddc56f39dfdaf1b7b0d439@lucaceresoli.net"},"message":"agentpp: bump to 4.0.6\n\nSigned-off-by: Luca Ceresoli <luca@lucaceresoli.net>\nSigned-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","distinct":false,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/15cf25114a4918bab0bf7a5d5cd198f864c02929"},{"sha":"30471ddfdc0668eefcc4e1033936345072412055","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"core/pkg-generic: add variable to skip skeleton dependency\n\nWe currently skip the skeleton dependency by checking if the current\npackage is the skeleton.\n\nWe are going to introduce more skeleton-related packages, so we\nneed a way to exclude the skeleton dependency for those, or we'd\nget a circular dependency, for the same reason we need to skip\nthe toolchain dependency.\n\nInstead of checking for all the skeleton-providing packages in the core\ninfra, add a new package options so that packages can express they do\nnot need the dependency on the skeleton, like we have an option to avoid\nthe depednency on the toolchain. The only packages that will use that\noption are probably the skeletons, so we need not document this\nvariable, like we did not document the option to exclude the dependency\non the toolchain.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nReviewed-by: Romain Naour <romain.naour@gmail.com>","distinct":true,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/30471ddfdc0668eefcc4e1033936345072412055"},{"sha":"427863ff92628559334557b5ccaa0293e4de89fd","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"package/skeleton: add macro to rsync skeleton directory\n\nThe rsync command is currently called from a single location. In\nfollow-up patches, it will be called from various places then.\n\nIt will be easier to update and fix this command if it is defined in a\nsingle location, rather than if duplicated in many places.\n\nDefine a macro that skeleton packages can call to install their skeleton\ndirectories. Since at least one occurence of it will want to install in\nstaging, the macro must accept a destination path, rather than hard-code\ntarget as the destination.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nReviewed-by: Romain Naour <romain.naour@gmail.com>","distinct":true,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/427863ff92628559334557b5ccaa0293e4de89fd"},{"sha":"a30dbbb14c8f0020e6adaa51e697e66b21fe236f","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"package/skeleton: split into sysv and custom skeleton\n\nCurrently, both the sysv-like and custom skeletons are managed in a\nsingle package.\n\nHowever, for the custom skeleton, we basically do nothing, except for\na few symlinks for the /lib directory aliases, and a few checks about\nmerged /usr.\n\nOTOH, for the default (sysv-like) skeleton, we do a lot more things,\nlike tweaking the issue, the hostname, setting the root password and so\non...\n\nFurthermore, we're soon gonna have a skeleton for each kind of init\nsystem, be it sysv-based or systemd.\n\nSo, it makes sense to offload the custom skeleton management to its own\npackage.\n\nWe change the way we check for the merged /usr readiness, from checking\nat make parse time, to a configure command. This has virtually zero\nimpact, since the skeleton is the very first package to be \"built\", so\nits configure commands are the very first to be run. It however slightly\nsimplifies the .mk as we need not enclose the parse-time checks inside\nan ifeq-block to check if the package is enabled.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nCc: Romain Naour <romain.naour@openwide.fr>\n\n---\nChanges v2 -> v3:\n  - fix install target macro  (Romain)\n  - typoes  (Romain)","distinct":true,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/a30dbbb14c8f0020e6adaa51e697e66b21fe236f"},{"sha":"cc2e5351712e0464164a605418a19686150489f4","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"package/skeleton: make it a virtual package\n\nThe skeleton package now only serves as an intermediate package to\ndirect to the real skeleton implementation.\n\nThis is exactly what a virtual package is. Make it so.\n\nNote: when graphing the dependency chain, and contrary to other virtual\npackages, skeleton is de facto excluded from the dependencies of all\npackages, and is \"attached\" as a dependency of the \"All\" package\ninstead, so as not to make the graph overly complicated and unreadable.\n\nSo, for it to appear on the graph, it needs to have a\nBR2_PACKAGE_SKELETON kconfig variable, so that it appears in the output\nof \"make show-targets\", like we do for the toolchain.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\n\n---\nChanges v2 -> v3:\n  - fix dependency  (Romain)\n  - typoes  (Romain)","distinct":true,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/cc2e5351712e0464164a605418a19686150489f4"},{"sha":"5812d411ed541ab3cd60a1a1f3c459ff332d3842","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"package/skeleton-sysv: split into skeleton-common\n\nAdd skeleton-common, the base skeleton shared between the sysv/busybox\nand systemd skeletons (the latter to come in followup patches).\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\n\n---\nChanges v2 -> v3:\n  - rename variables to respect namespace  (Romain)","distinct":true,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/5812d411ed541ab3cd60a1a1f3c459ff332d3842"},{"sha":"201b23b459865cc3ff86bb99091a54aaa6154e51","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"system: split skeleton\n\nMove the sysv-related parts to separate skeletons.\n\nThe network-related parts of the skeleton will also be useable by the\nsystemd skeleton (but only when systemd-networkd is not enabled), so we\nalso split that out into its own skeleton.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nReviewed-by: Romain Naour <romain.naour@gmail.com>","distinct":true,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/201b23b459865cc3ff86bb99091a54aaa6154e51"},{"sha":"4e2325b80a2fa0e59f7099007d0f17dbd3196483","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"package/skeleton-systemd: new package\n\nGiven the very few things to create in the skeleton, there is no real\nneed in having a pre-populated skeleton that we rsync. We can very well\njust create the directory structure with simple mkdir commands.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nReviewed-by: Romain Naour <romain.naour@gmail.com>","distinct":true,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/4e2325b80a2fa0e59f7099007d0f17dbd3196483"},{"sha":"8a1146d4e318da45d557cfd246e21eaa69a3f296","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"system/systemd: needs timezone\n\nsystemd does not like being booted without any timezone info (especially\non a R/O filesystem), so we forcibly enable that. If there is no default\ntimezone set, we fallback to UTC (which is basically what no TZ means\nanyway).\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\n\n---\nChanges v2 -> v3:\n  - fix typo in variable name  (Romain)","distinct":true,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/8a1146d4e318da45d557cfd246e21eaa69a3f296"},{"sha":"e0d7efa4ec514dc90992299fdba9e7c5b3c73fac","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"fs: add pre- and post-command hooks\n\nIn some cases, the directory structure we want in the filesystem is not\nexactly what we have in target/\n\nFor example, when systemd is used on a read-only rootfs, /var must be a\ntmpfs. However, we may have packages that install stuff in there, and\nset important rights (via the permission-table). So, at build time, we\nneed /var to be a symlink to the remanent location (/usr/share/factory)\nwhile at runtime we need /var to be a directory.\n\nOne option would have seen to be do have /var as a real directory even\nduring build time, and in a target-finalize hook, move everything out of\nthere and into the \"factory\" location. However, that's not possible\nbecause it's too early: some packages may want to set ownership and/or\nacces rights on directories or files in /var, and this is only done in\nthe fakeroot script, which is called only later during the assembling of\nthe filesystem images.\n\nAlso, there would have been no way to undo the tweak (i.e. we need to\nrestore the /var symlink so that subsequent builds continue to work) if\nit were done as a target-finalize hook.\n\nThe only solution is to allow packages to register pre- and post-hooks\nthat are called right before and right after the rootfs commands are\nexecuted.\n\nThose hooks are not documented on-purpose; they are probably going to be\nused only by systemd.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nReviewed-by: Romain Naour <romain.naour@gmail.com>\n\n---\nChanges v2 -> v3:\n  - add space between >> and $$   (Romain)","distinct":true,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/e0d7efa4ec514dc90992299fdba9e7c5b3c73fac"},{"sha":"266d637f5cc729235fe24441971b250e00ae5c8b","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"system: make systemd work on a read-only rootfs\n\nWhen the rootfs is readonly, systemd will expect /var to be writable.\nBecause we do not really have a R/W filesystem to mount on /var, we make\nit a tmpfs, and use the systemd-tmpfiles feature to populate it with\n\"factory\" defaults.\n\nWe obtain those factory defaults by redirecting /var to that location at\nbuild time, using a symlink /var -> /usr/share/factory which is the\nlocation in which systemd-tmpfiles will look for when instructed to\n\"recursively copy\" a directory.\n\nWith a line like:\n\n    C /var/something - - - -\n\nit will look for /usr/share/factory/something and copy it (recursively\nif it is a directory) to /var/something, but only if it does not already\nexist there.\n\nWe also mark this copy with the exclamation mark, as it is only safe to\ncopy on boot, not when changing targets.\n\nTo be noted: the real format for such lines are:\n\n    C /var/something - - - - /from/where/to/copy/something\n\nBut if the source is not given, then it is implicitly taken from\n/usr/share/factory (which in our case is as-good a location as whatever\nelse, so we use it, and thus we need not specify the source of the\ncopy).\n\nNote that we treat symlinks a little bit specially, by creating symlinks\nto the factory defaults rather than copying them.\n\nFinally, /var at build time is a symlink, but at runtime, it must be a\ndirectory (so we can mount the tmpfs over there). We can't change that\nas a target-finalize hook, because:\n\n  - some packages may want to set ownership and/or access rights on\n    files or directories in /var, and that only happens while assembling\n    the filesystem images; changing /var from a symlink to a (then\n    empty) directory would break this;\n\n  - /var would be a directory on sub-sequent builds (until the next\n    \"make clean\").\n\nInstead, we use the newly-introduce pre- and post-rootfs command hooks,\nto turn /var into a directory before assembling the image, and back to a\nsymlink after assembling the image.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nReviewed-by: Romain Naour <romain.naour@gmail.com>\n\n---\nChanges v2 -> v3;\n  - fix typoes in commit log  (Romain)\n\n---\nNote: I haven't seen any symlinks installed in the factory so far, but I\nhaven't build a lot of packages yet... So, I'm not sure what to do with\nthe symlinks, especially when a package install relative symlinks...","distinct":true,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/266d637f5cc729235fe24441971b250e00ae5c8b"},{"sha":"a80d271f68094228f37b211e82d85d2a40c9db04","author":{"name":"Yann E. MORIN","email":"5914afe43711f8d3ab584c09509bb25676fff3d1@free.fr"},"message":"system: allow DHCP interface with systemd-networkd\n\nIt is pretty trivial to enable a DHCP interface with systemd-networkd, we\njust need to provide a .network config file with just the name of the\ninterface to bring up and activate DHCP on it.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nReviewed-by: Romain Naour <romain.naour@gmail.com>","distinct":true,"url":"https://api.github.com/repos/yann-morin-1998/buildroot/commits/a80d271f68094228f37b211e82d85d2a40c9db04"}]}
{"actor":{"display_login":"yann-morin-1998"}}