[PATCH 2/2][LXC] Have lxc_restart call app_restart()

Cedric Le Goater clg at fr.ibm.com
Wed Feb 24 00:45:15 PST 2010


On 02/24/2010 09:41 AM, Sukadev Bhattiprolu wrote:
> diff --git a/src/lxc/Makefile2 b/src/lxc/Makefile2
> new file mode 100644
> index 0000000..9aba841
> --- /dev/null
> +++ b/src/lxc/Makefile2
> @@ -0,0 +1,16 @@
> +
> +CFLAGS = -static -I . -I ..
> +
> +LDFLAGS = /lib/libcheckpoint.a -lutil
> +
> +LXC_OBJS = start.o conf.o confile.o arguments.o monitor.o log.o mainloop.o \
> +		utils.o commands.o state.o cgroup.o error.o namespace.o \
> +		parse.o network.o af_unix.o console.o nl.o stop.o
> +
> +RESTART_OBJS = $(LXC_OBJS) lxc_restart.o restart.o
> +
> +lxc_restart: $(RESTART_OBJS)
> +	$(CC) -o lxc_restart $(RESTART_OBJS) $(LDFLAGS)
> +
> +clean:
> +	rm -f $(RESTART_OBJS)

you should patch Makefile.am.

C.


More information about the Containers mailing list