From: Filippos Giannakos Date: Mon, 14 Jan 2013 14:12:23 +0000 (+0200) Subject: Fix vlmc tool open, close. Also fix parameters.list install X-Git-Tag: debian/0.3.1~9^2 X-Git-Url: https://code.grnet.gr/git/archipelago/commitdiff_plain/d7334890d6f57dfd922aff14a563ab9457e89da9 Fix vlmc tool open, close. Also fix parameters.list install --- diff --git a/xseg/tools/archipelago b/xseg/tools/archipelago index 9a4e6ac..12fbbdf 100755 --- a/xseg/tools/archipelago +++ b/xseg/tools/archipelago @@ -1123,7 +1123,7 @@ def vlmc_open(args): ret = False xseg_ctx = Xseg_ctx(SPEC, VTOOL) - with Request(xseg_ctx, VPORT, len(name), 0) as req: + with Request(xseg_ctx, VPORT_START, len(name), 0) as req: req.set_op(X_OPEN) req.set_size(0) req.set_offset(0) @@ -1148,7 +1148,7 @@ def vlmc_close(args): ret = False xseg_ctx = Xseg_ctx(SPEC, VTOOL) - with Request(xseg_ctx, VPORT, len(name), 0) as req: + with Request(xseg_ctx, VPORT_START, len(name), 0) as req: req.set_op(X_CLOSE) req.set_size(0) req.set_offset(0) diff --git a/xseg/tools/ext_scripts/Makefile b/xseg/tools/ext_scripts/Makefile index bd29645..d44a060 100644 --- a/xseg/tools/ext_scripts/Makefile +++ b/xseg/tools/ext_scripts/Makefile @@ -2,7 +2,8 @@ include $(XSEG_HOME)/base.mk -FILES="Makefile" +DEVFILES="Makefile" + FILES+="parameters.list" EFILES="vlmc_wrapper.py" @@ -21,12 +22,18 @@ clean: install: install -d $(DESTDIR)$(ganetidir) + @for f in $(FILES) ; do \ + install -o 0 -g 0 -m 644 -t $(DESTDIR)$(ganetidir) $$f ; \ + done @for f in $(EFILES) ; do \ install -o 0 -g 0 -m 755 -t $(DESTDIR)$(ganetidir) $$f ; \ done install-src: install -d $(DESTDIR)$(srcdir)$(SUBDIR) ; + @for f in $(DEVFILES) ; do \ + install -o 0 -g 0 -m 644 -t $(DESTDIR)$(srcdir)$(SUBDIR) $$f ; \ + done @for f in $(FILES) ; do \ install -o 0 -g 0 -m 644 -t $(DESTDIR)$(srcdir)$(SUBDIR) $$f ; \ done