| Summary: | Buildroot 2015.08.1 skeleton inittab overwritten by busybox's version | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Tom Elliott <tommygunsster> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED WONTFIX | ||
| Severity: | minor | CC: | buildroot, tommygunsster |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Tom Elliott
2015-09-21 00:11:36 UTC
Using a custom skeleton is pretty much a deprecated method of customizing your root filesystem. You should instead be using a rootfs overlay or a post-build script (see the Buildroot manual for details). Specifically regarding inittab, this file is no longer part of the skeleton. It is now installed either by Busybox, or by sysvinit, depending on which init system you have chosen. The previous way of doing things, with a Busybox-style inittab in the skeleton, which was used when Busybox was the init system, caused some inconsistencies: - It was still on the filesystem when systemd was used as the init system, which is not needed - It was overwritten by the sysvinit package when it was chosen as the init system, which isn't nice So the inittab file was moved from the skeleton package to the Busybox and sysvinit packages (which require different inittab syntax). Generally speaking, we do not ensure that files in the skeleton will not be overwritten. Then can be overwritten by any package in Buildroot. However, we do guarantee that the rootfs overlay and post-build script are handled *after* all packages have been installed, so you are sure that what you have in the rootfs overlay or what you do in the post-build scripts "wins" over what packages are doing. So the behavior you are observing is intentional. |