[systemd-devel] [PATCH] Fix: can not pass configure by default kmod build option

2014-01-14 Thread Chengwei Yang
in with it. So the correct behavior is only complain to user if it was required but not available. Signed-off-by: Chengwei Yang --- configure.ac |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 7140627..2f4fe2c 100644 --- a/configure.ac +

[systemd-devel] [PATCH] Fix: can not enable dbus

2014-01-14 Thread Chengwei Yang
The incorrect shell code of AS_IF always get false value, so it always build without dbus though build with "--enable-dbus" explicitely. Signed-off-by: Chengwei Yang --- configure.ac |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac ind

[systemd-devel] [PATCH] prioq: avoid to swap item index

2013-12-15 Thread Chengwei Yang
the swap() operation of prioq which in fact only swap item's data but keep idx untouched. However, current implement does first swap the idx and then swap back again. --- src/shared/prioq.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/src/shared/prioq.c b/src/shared/prioq.c ind

[systemd-devel] [PATCH] libsystemd-login.so: fix undefined reference to 'cg_create'

2013-08-25 Thread Chengwei Yang
--- Makefile.am |1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 5654ad3..dc5170a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3870,6 +3870,7 @@ libsystemd_login_la_LDFLAGS = \ -Wl,--version-script=$(top_srcdir)/src/login/libsystemd-login.sym libs

[systemd-devel] [PATCH] Fix build without blkid

2013-08-25 Thread Chengwei Yang
build systemd-gpt-auto-generator only if have blkid, otherwise, it will fail. --- Makefile.am |2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index fd38e82..5654ad3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1708,6 +1708,7 @@ bin_PROGRAMS += \ bootctl

[systemd-devel] [PATCH] Delay dbus connection for user session

2013-05-28 Thread Chengwei Yang
ed to connect to socket /run/user/app/dbus/user_bus_socket: No such file or directory Signed-off-by: Chengwei Yang --- src/core/manager.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/manager.c b/src/core/manager.c index 0508628..467b5ba 100644 --- a/src/core/manager.c

[systemd-devel] [PATCH] [Fix] Do not handle SIGKILL since we can not

2013-05-20 Thread Chengwei Yang
UNKILLABLE to it at system boot up, refer to init/main.c:start_kernel() --> rest_init() --> kernel_thread() --> kernel_init() --> init_post() current->signal->flags |= SIGNAL_UNKILLABLE Signed-off-by: Chengwei Yang --- sr

[systemd-devel] [PATCH] Fix syscall(__NR_fanotify_mark, ...) on arm

2013-05-13 Thread Chengwei Yang
--- src/shared/missing.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/missing.h b/src/shared/missing.h index d4ba0d3..96e6d63 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -138,7 +138,8 @@ static inline int fanotify_init(unsigned int flags,