Re: [systemd-devel] [PATCH 0/2] units: add and use ConditionInitrd= instead of checking for /etc/initrd-release.

2014-08-28 Thread Lennart Poettering
On Wed, 27.08.14 22:48, Thomas Bächler (tho...@archlinux.org) wrote: > Am 27.08.2014 um 20:25 schrieb Ivan Shapovalov: > > On Wednesday 27 August 2014 at 20:19:45, Lennart Poettering wrote: > >> On Wed, 27.08.14 20:26, Ivan Shapovalov (intelfx...@gmail.com) wrote: > >> > >>> This is as proposed

Re: [systemd-devel] [PATCH 0/2] units: add and use ConditionInitrd= instead of checking for /etc/initrd-release.

2014-08-28 Thread Lennart Poettering
On Thu, 28.08.14 19:44, Thomas Bächler (tho...@archlinux.org) wrote: > Am 27.08.2014 um 22:48 schrieb Thomas Bächler: > > Am 27.08.2014 um 20:25 schrieb Ivan Shapovalov: > >> On Wednesday 27 August 2014 at 20:19:45, Lennart Poettering wrote: > >>> On Wed, 27.08.14 20:26, Ivan Shapovalov (intelfx.

Re: [systemd-devel] [PATCH 0/2] units: add and use ConditionInitrd= instead of checking for /etc/initrd-release.

2014-08-28 Thread Thomas Bächler
Am 27.08.2014 um 22:48 schrieb Thomas Bächler: > Am 27.08.2014 um 20:25 schrieb Ivan Shapovalov: >> On Wednesday 27 August 2014 at 20:19:45, Lennart Poettering wrote: >>> On Wed, 27.08.14 20:26, Ivan Shapovalov (intelfx...@gmail.com) wrote: >>> This is as proposed by Thomas in review of my

Re: [systemd-devel] [PATCH 0/2] units: add and use ConditionInitrd= instead of checking for /etc/initrd-release.

2014-08-27 Thread Thomas Bächler
Am 27.08.2014 um 20:25 schrieb Ivan Shapovalov: > On Wednesday 27 August 2014 at 20:19:45, Lennart Poettering wrote: >> On Wed, 27.08.14 20:26, Ivan Shapovalov (intelfx...@gmail.com) wrote: >> >>> This is as proposed by Thomas in review of my hibernate-resume patchset. >>> >>> The objective ben

Re: [systemd-devel] [PATCH 0/2] units: add and use ConditionInitrd= instead of checking for /etc/initrd-release.

2014-08-27 Thread Ivan Shapovalov
On Wednesday 27 August 2014 at 20:19:45, Lennart Poettering wrote: > On Wed, 27.08.14 20:26, Ivan Shapovalov (intelfx...@gmail.com) wrote: > > > This is as proposed by Thomas in review of my hibernate-resume patchset. > > > > The objective benefit of this change is that in_initrd() function

Re: [systemd-devel] [PATCH 0/2] units: add and use ConditionInitrd= instead of checking for /etc/initrd-release.

2014-08-27 Thread Lennart Poettering
On Wed, 27.08.14 20:26, Ivan Shapovalov (intelfx...@gmail.com) wrote: > This is as proposed by Thomas in review of my hibernate-resume patchset. > > The objective benefit of this change is that in_initrd() function is used > for checking, which not only checks for /etc/initrd-release, but also ve

[systemd-devel] [PATCH 0/2] units: add and use ConditionInitrd= instead of checking for /etc/initrd-release.

2014-08-27 Thread Ivan Shapovalov
This is as proposed by Thomas in review of my hibernate-resume patchset. The objective benefit of this change is that in_initrd() function is used for checking, which not only checks for /etc/initrd-release, but also verifies that the rootfs is on a virtual device. Ivan Shapovalov (2): units: a