meta: add herdd runlevel configuration files

This commit is contained in:
2026-03-23 18:15:55 +00:00
parent bf5052fd3d
commit 2a587942ac
4 changed files with 16 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ add_subdirectory(interface)
add_subdirectory(sys)
add_subdirectory(lib)
add_subdirectory(services)
add_subdirectory(runlevel)
add_subdirectory(programs)
sysroot_add_program(NAME ${kernel_name} BIN_DIR /boot)

12
runlevel/CMakeLists.txt Normal file
View File

@@ -0,0 +1,12 @@
file(GLOB runlevels *.runlevel)
foreach (f ${runlevels})
get_filename_component(name ${f} NAME_WLE)
bsp_add_file(
ID runlevel-${name}
SRC_PATH ${f}
DEST_DIR /etc/herdd/runlevels)
sysroot_add_file(
ID runlevel-${name}
SRC_PATH ${f}
DEST_DIR /etc/herdd/runlevels)
endforeach (f)

View File

@@ -0,0 +1,3 @@
[Runlevel]
Description=Minimal
Requires=nsd

View File