mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 04:24:26 +01:00
rootfs_post_build_script stub
This commit is contained in:
12
README.md
12
README.md
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user