Opentrons / buildroot

The Opentrons fork of buildroot for building the OT2 system. Our default branch is opentrons-develop.
http://buildroot.org
Other
10 stars 7 forks source link

board/opentrons/ot2: Simplify rootfs-overlay to reflect merged /usr #140

Closed SyntaxColoring closed 2 years ago

SyntaxColoring commented 2 years ago

Our current system image has a "merged /usr" hierarchy: /bin, /sbin, and /lib are symlinked to their counterparts inside /usr.

# file /*
/bin:        symbolic link to usr/bin
# ...
/lib:        symbolic link to usr/lib
/lib32:      symbolic link to lib
# ...
/sbin:       symbolic link to usr/sbin
# ...

However, currrently, in this repo, we have both /bin et. al. and /usr/bin et. al. Buildroot collapses them into /usr at some point during its build process.

This PR moves everything to /usr to eliminate the redundancy and simplify our rootfs-overlay.

Manual test plan

Before merging, I will check that: