Skip to content

Conversation

matuszpd
Copy link

@matuszpd matuszpd commented May 9, 2025

The source files are not unpacked to WORKDIR anymore. As recommended by the Yocto Migration notes for 5.1 (styhead) the base recipe sets:

S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"

So, use S instead of WORKDIR to fix:

install: cannot stat '.../build/tmp/work/sailfish-poky-linux/weston-init/1.0/weston-socket.sh': No such file or directory

Use S instead of WORKDIR to fix:
install: cannot stat '.../build/tmp/work/sailfish-poky-linux/weston-init/1.0/weston-socket.sh': No such file or directory

Signed-off-by: Matus Gajdos <[email protected]>
@fvalla-MTA
Copy link

UNPACKDIR should probably be used, not S:

WORKDIR references in other recipes need auditing. If they reference files from SRC_URI,
they likely need changing to UNPACKDIR.

Nevertheless, a fix is required, or a non-systemd build will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants