chore(cpio): moved initramfs binary files to /bin/*

This commit is contained in:
Karina
2026-01-30 17:25:01 +04:00
parent ae7e1a91d0
commit 52d0bfeaae
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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}