refactor(rootfs): reorganize file structure and remove unnecessary .gitkeep files

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-03-24 15:33:07 +00:00
parent 8f88d9028e
commit d251d9d03f
55 changed files with 622 additions and 596 deletions

View File

@ -11,7 +11,7 @@ FILENAME = $(notdir $(shell pwd))
WARNCFLAG = -Wall -Wextra
build: $(FILENAME).elf
cp $(FILENAME).elf $(WORKSPACE_DIR)/out/bin/$(FILENAME)
cp $(FILENAME).elf $(WORKSPACE_DIR)/out/sys/bin/$(FILENAME)
$(FILENAME).elf: $(OBJ)
$(info Linking $@)

View File

@ -65,8 +65,8 @@ int main()
signal(SIGTERM, HandleSignal);
signal(SIGINT, HandleSignal);
char *shellArgs[] = {"/bin/sh", NULL};
StartProcess("/bin/sh", shellArgs);
char *shellArgs[] = {"/sys/bin/sh", NULL};
StartProcess("/sys/bin/sh", shellArgs);
// char *dummyServiceArgs[] = {"/usr/bin/dummy_service", NULL};
// StartProcess("/usr/bin/dummy_service", dummyServiceArgs);