Commit a1e3eb6
committed
rootfs(policy): remove Debian-specific DTB injection from generic rootfs builder
Context
- The script carried a platform-specific Debian path that:
- searched for `glymur-crd.dtb`,
- created `/boot/dtb` symlink,
- patched `grub.cfg` to inject `devicetree` directives.
- This behavior is board-specific policy, not generic rootfs assembly responsibility.
Implementation
- Remove the Debian-only DTB injection block entirely, including conditional guard,
filesystem probing, symlink synthesis, and GRUB mutation.
Architectural rationale
- Keep `build-rootfs.sh` focused on distribution-agnostic image construction.
- Avoid embedding platform policy and hardcoded DTB assumptions in a shared reusable tool.
- Defer DTB/boot policy to dedicated metadata/build layers that own board-specific behavior.
Operational impact
- Reduces implicit side effects in generated GRUB config.
- Improves portability and maintainability of rootfs construction across product lines.
Signed-off-by: Bjordis Collaku <bcollaku@qti.qualcomm.com>1 parent 127416c commit a1e3eb6
1 file changed
Lines changed: 0 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | 678 | | |
705 | 679 | | |
706 | 680 | | |
| |||
0 commit comments