]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
rootfs-handoff: implement rootwait boot parameter
authorTulio A M Mendes <[email protected]>
Thu, 11 Jun 2026 04:06:28 +0000 (01:06 -0300)
committerTulio A M Mendes <[email protected]>
Thu, 11 Jun 2026 04:06:28 +0000 (01:06 -0300)
commit3a74976cca272c62c757b803b03448eb90862f31
tree056baa3d9e36aadce7dff0a07152901ce55e1e9e
parent6fb32a4c0351620311482bc9f42f6820bc2a00c0
rootfs-handoff: implement rootwait boot parameter

- Implemented rootwait to wait indefinitely for root device to appear
- Uses 30-second timeout to avoid infinite wait
- Waits 1 second between checks using process_sleep()
- Logs when device appears or timeout occurs
- Removed placeholder message for rootwait
- This completes the 'rootwait' item from ROOTFS_HANDOFF_PLAN.md Milestone E

Test Results:
- Smoke test: 131/131 PASS
- Battery test: 157/157 PASS
- Analyzer: PASS
- Zero regressions
src/kernel/init.c