Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

board-bootup-conf and iot2050setup need permission #554

Open
applea9 opened this issue Jun 28, 2024 · 2 comments
Open

board-bootup-conf and iot2050setup need permission #554

applea9 opened this issue Jun 28, 2024 · 2 comments

Comments

@applea9
Copy link
Contributor

applea9 commented Jun 28, 2024

Hi,

in the newest v1.4.1, board-bootup-conf and iot2050setup miss the executable permission.

you can check the .bb file : https://github.com/siemens/meta-iot2050/blob/V01.04.01/recipes-app/board-conf-tools/board-conf-tools_0.1.bb

do_install() {
install -v -d ${D}/usr/bin/
install -v -d ${D}/etc
install -v -d ${D}/lib/systemd/system/
# add board bootup configuration service
install -v -m 644 ${WORKDIR}/board-bootup-configuration.service ${D}/lib/systemd/system/

cp -rf ${WORKDIR}/board-conf-tools ${D}/etc
ln -sf /etc/board-conf-tools/iot2050setup.py ${D}/usr/bin/iot2050setup
ln -sf /etc/board-conf-tools/board-bootup-conf.py ${D}/usr/bin/board-bootup-configuration
}

@huaqianli
Copy link
Collaborator

In my test, both of them worked fine and have the executable permissions, as follows:
image

Could you please share more detailed information about this issue?

@jan-kiszka
Copy link
Collaborator

This scripts are clearly installed into the wrong place (/etc is wrong, should go directly into /usr/bin, without pointless links). But that has been like that a bit longer.

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

No branches or pull requests

3 participants