Avoid starting rpcbind daemon twice during boot
PATCH 1/2 Avoid starting rpcbind daemon twice during boot
Check whether rpcbind daemon already run before starting it.
--- .../initscripts/initscripts-1.0/mountnfs.sh | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-)
meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh +6 -3
@@ -69,9 +69,12 @@ if test "$rpcbind" = yes then if test -x /usr/sbin/rpcbind then - echo -n "Starting rpcbind... " - start-stop-daemon --start --quiet --exec /usr/sbin/rpcbind - sleep 2 + service rpcbind status > /dev/null + if [ $? != 0 ]; then + echo -n "Starting rpcbind..." + start-stop-daemon --start --quiet --exec /usr/sbin/rpcbind + sleep 2 + fi fi fi
Signature · 1 line
1.7.5.4
PATCH 2/2 Add e2fsprogs-mke2fs and e2fsprogs-e2fsck as recommend packages
The mke2fs and e2fsck commands are regular tools of e2fsprogs, so they should be installed.
--- .../recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb +1 -0
@@ -59,6 +59,7 @@ do_install_append () { } RDEPENDS_e2fsprogs = "e2fsprogs-badblocks" +RRECOMMENDS_e2fsprogs = "e2fsprogs-mke2fs e2fsprogs-e2fsck" PACKAGES =+ "e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-tune2fs e2fsprogs-badblocks" PACKAGES =+ "libcomerr libss libe2p libext2fs"
Signature · 1 line
1.7.5.4
Re: [PATCH 2/2] Add e2fsprogs-mke2fs and e2fsprogs-e2fsck as recommend packages
Quoted 3 lines · Yue Tao
The mke2fs and e2fsck commands are regular tools of e2fsprogs, so they should be installed.
Could the enforcement of mke2fs conflict with the busybox default install?
Thanks.
Hans
Quoted 24 lines
Signed-off-by Yue Tao <[email protected]>--- .../recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb +1
-1@@ -59,6 +59,7 @@ do_install_append () { } RDEPENDS_e2fsprogs = "e2fsprogs-badblocks" +RRECOMMENDS_e2fsprogs = "e2fsprogs-mke2fs e2fsprogs-e2fsck" PACKAGES =+ "e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-tune2fs e2fsprogs-badblocks" PACKAGES =+ "libcomerr libss libe2p libext2fs" --1.7.5.4
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 2 lines · Yue Tao
Check whether rpcbind daemon already run before starting it.
Please review the commit guidelines for both of your patches and correct the short summary (subject) to be in the form of:
initscripts: Avoid ...
Thanks
SaU!
Quoted 26 lines
Signed-off-by Yue Tao <[email protected]>--- .../initscripts/initscripts-1.0/mountnfs.sh | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-)meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh +6
-3@@ -69,9 +69,12 @@ if test "$rpcbind" = yes then if test -x /usr/sbin/rpcbind then - echo -n "Starting rpcbind... " - start-stop-daemon --start --quiet --exec /usr/sbin/rpcbind - sleep 2 + service rpcbind status > /dev/null + if [ $? != 0 ]; then + echo -n "Starting rpcbind..." + start-stop-daemon --start --quiet --exec /usr/sbin/rpcbind + sleep 2 + fi fi fi