[CRIU] [PATCH] compel: Rename 'piegen' action into 'hgen'

Cyrill Gorcunov gorcunov at openvz.org
Wed Nov 23 07:42:32 PST 2016


Where hgen stands for "header generator".

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
Pavel, please choose whatever name you like and simply
squash it here.

 compel/src/main.c | 4 ++--
 criu/pie/Makefile | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/compel/src/main.c b/compel/src/main.c
index 643b6a96cccd..b9d02d71891f 100644
--- a/compel/src/main.c
+++ b/compel/src/main.c
@@ -212,7 +212,7 @@ int main(int argc, char *argv[])
 		return 0;
 	}
 
-	if (!strcmp(action, "piegen")) {
+	if (!strcmp(action, "hgen")) {
 		if (!opts.input_filename)
 			goto usage;
 		compel_log_init(&cli_log, log_level);
@@ -223,6 +223,6 @@ usage:
 	printf("Usage:\n");
 	printf("  compel --arch=(x86|ia32|aarch64|arm|ppc64) cflags\n");
 	printf("  compel --arch=(x86|ia32|aarch64|arm|ppc64) ldflags\n");
-	printf("  compel -f filename piegen\n");
+	printf("  compel -f filename hgen\n");
 	return 1;
 }
diff --git a/criu/pie/Makefile b/criu/pie/Makefile
index 97ddb8d0e2a8..5d0b43db113f 100644
--- a/criu/pie/Makefile
+++ b/criu/pie/Makefile
@@ -122,7 +122,7 @@ $(eval $(call map,gen-rule-built-in.bin.o,$(parasite_target)))
 
 $(obj)/%-blob.h: $(obj)/%.built-in.bin.o $(SRC_DIR)/compel/compel-host
 	$(call msg-gen, $@)
-	$(Q) $(SRC_DIR)/compel/compel-host piegen -f $<			\
+	$(Q) $(SRC_DIR)/compel/compel-host hgen -f $<			\
 		-l 4							\
 		-v $(call target-name,$@)_relocs			\
 		-p $(call target-name,$@)_blob_offset__			\
-- 
2.7.4



More information about the CRIU mailing list