chore(cpio): moved initramfs binary files to /bin/*
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <malloc.h>
|
||||
|
||||
int main() {
|
||||
wait(spawn("termosh")); // TODO: read .cfg and spawn what stated there
|
||||
wait(spawn("/bin/termosh")); // TODO: read .cfg and spawn what stated there
|
||||
printf("\nbaiii");
|
||||
return 0;
|
||||
}
|
||||
@@ -54,7 +54,7 @@ function(add_termos_executable NAME SOURCES)
|
||||
)
|
||||
|
||||
set(ELF2HOT_DIR "${CMAKE_SOURCE_DIR}/tools/elf2hot")
|
||||
set(FINAL_HOT_PATH "${CMAKE_SOURCE_DIR}/initramfs/${NAME}")
|
||||
set(FINAL_HOT_PATH "${CMAKE_SOURCE_DIR}/initramfs/bin/${NAME}")
|
||||
|
||||
add_custom_command(TARGET ${NAME} POST_BUILD
|
||||
COMMAND cargo run --release --quiet -- $<TARGET_FILE:${NAME}> ${FINAL_HOT_PATH}
|
||||
|
||||
Reference in New Issue
Block a user