]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
image/populate_sdk: Support usrmerge in toolchain SDK builds
authorPhilip Lorenz <philip.lorenz@bmw.de>
Mon, 30 Dec 2024 15:58:36 +0000 (16:58 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 Jan 2025 11:05:00 +0000 (11:05 +0000)
commit8e1e86cc9d5d4e866ff0ab62c8954db0e65c19e6
tree77dc14c1704e70c43ef43917e177b74d4027d179
parentf82d9c997ba8cc23b472d44a43489c597bf452af
image/populate_sdk: Support usrmerge in toolchain SDK builds

SDKs which aren't built from an image recipe should also come with
drop-in symlinks for `/bin`, `/lib` and `/sbin`. Support this by moving
the common functionality into `populate_sdk_base` and enabling the
symlink creation when the `usrmerge` DISTRO_FEATURE is on.

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/image.bbclass
meta/classes-recipe/populate_sdk_base.bbclass