rootfs_post_build_script stub

This commit is contained in:
Ciro Santilli
2017-10-07 04:28:22 +01:00
parent 62976c688b
commit f69e894034
3 changed files with 15 additions and 0 deletions

View File

@@ -281,6 +281,18 @@ Also remember that if your init returns, the kernel will panic, there are just t
- run forever in a loop or long sleep
- `poweroff` the machine
### BusyBox init is fine, but networking gets on my nerves
I know right?
Add this line to `rootfs_post_build_script`:
rm -f "${1}/etc/init.d/"S*network
To restore it, run:
./run -t initscripts-reconfigure
## Debugging
To GDB the Linux kernel, first run: