Fix can not stop systemd service var-volatile-lib
cover Fix can not stop systemd service var-volatile-lib
The following changes since commit 8ad9a434c9fd0300cf5c38c368b181b78421e95a:
bitbake: tests/data: Add new data tests (2015-07-01 15:40:21 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib kangkai/volatile-binds
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=kangkai/volatile-binds
Kai Kang (1):
volatile-binds: correct path of command umount
meta/recipes-core/volatile-binds/volatile-binds.bb | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
1.9.1
PATCH 1/1 volatile-binds: correct path of command umount
It calls /sbin/umount to stop service var-volatile-lib. But umount is installed into directory /bin. Correct it.
--- meta/recipes-core/volatile-binds/volatile-binds.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/volatile-binds/volatile-binds.bb +1 -0
@@ -54,6 +54,7 @@ END # after the volatile /var/lib is mounted. sed -i -e "/^Before=/s/\$/ systemd-random-seed.service/" \ -e "/^WantedBy=/s/\$/ systemd-random-seed.service/" \ + -e "/^ExecStop=/s/sbin/bin/" \ var-volatile-lib.service fi }
Signature · 1 line
1.9.1
Re: [PATCH 1/1] volatile-binds: correct path of command umount
Quoted 2 lines · Kai Kang
+ -e "/^ExecStop=/s/sbin/bin/" \
Should't that be something like ${bindir}?
Ross
Re: [PATCH 1/1] volatile-binds: correct path of command umount
Quoted 7 lines · Ross
On 6 July 2015 at 02:59, Kai Kang <[email protected] <mailto:[email protected]>> wrote:
+ -e "/^ExecStop=/s/sbin/bin/" \
Should't that be something like ${bindir}?
Thanks. I'll update it.
--Kai
Quoted 2 lines
Ross
Signature · 2 lines
Regards, Neil | Kai Kang
Quoted 11 lines · Kai Kang
The following changes since commit
8ad9a434c9fd0300cf5c38c368b181b78421e95a:bitbake: tests/data: Add new data tests (2015-07-01 15:40:21 +0100)are available in the git repository at:
git://git.yoctoproject.org/poky-contribkangkai/volatile-binds
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=kangkai/volatile-bindsKai Kang (1):
volatile-binds: correct path of command umount
Ping?
Quoted 4 lines
meta/recipes-core/volatile-binds/volatile-binds.bb | 1 + 1 file changed, 1 insertion(+)
Signature · 2 lines
Regards, Neil | Kai Kang