Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 911cc71

Browse files
author
Damien Lespiau
committed
build: Rename the binary to "hyperstart"
We'd like to be able to run hyperstart as a regular daemon as well as the init system and have small behavioural differences between the two. Start by renaming the binary to "hyperstart", it will be copied as "init" when preparing the initrd. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
1 parent f67d1df commit 911cc71

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
.deps
1010
TAGS
1111
tags
12-
init
12+
/src/hyperstart
1313
build/hyper_daemon
1414
build/hyper-initrd.img
1515
build/cbfs.rom

build/make-initrd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ mkdir -m 0755 -p /tmp/hyperstart-rootfs/dev \
1111
/tmp/hyperstart-rootfs/bin \
1212
/tmp/hyperstart-rootfs/proc
1313

14-
cp ../src/init /tmp/hyperstart-rootfs/
14+
cp ../src/hyperstart /tmp/hyperstart-rootfs/init
1515
cp busybox /tmp/hyperstart-rootfs/sbin/
1616
cp iptables /tmp/hyperstart-rootfs/sbin/
1717
cp ipvsadm /tmp/hyperstart-rootfs/sbin/

src/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
AM_CFLAGS = -Wall -Werror
2-
bin_PROGRAMS=init
3-
init_SOURCES=init.c jsmn.c net.c util.c parse.c parson.c container.c exec.c event.c portmapping.c
2+
bin_PROGRAMS=hyperstart
3+
hyperstart_SOURCES=init.c jsmn.c net.c util.c parse.c parson.c container.c exec.c event.c portmapping.c

0 commit comments

Comments
 (0)