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

Postinstall scriptlets of ['fstools', 'eudev'] have failed #9

Open
outbackdingo opened this issue Feb 11, 2023 · 9 comments
Open

Postinstall scriptlets of ['fstools', 'eudev'] have failed #9

outbackdingo opened this issue Feb 11, 2023 · 9 comments

Comments

@outbackdingo
Copy link

seems encountering a bit of a failure

ERROR: tanowrt-image-full-1.0-tano0.6 do_rootfs: Postinstall scriptlets of ['fstools', 'eudev'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.

@namedun
Copy link
Contributor

namedun commented Feb 12, 2023

It looks like you are using Ubuntu and have not made the correct configuration of the default system shell as described in the documentation (see https://tano-systems.github.io/meta-tanowrt/build.html#install-required-packages).

sudo dpkg-reconfigure dash

Select No when it asks you to install dash as /bin/sh.

@outbackdingo
Copy link
Author

outbackdingo commented Feb 12, 2023 via email

@namedun
Copy link
Contributor

namedun commented Feb 12, 2023

Sorry, under Fedora we have no way to check at the moment. I can recommend try to build in a Docker environment (https://tano-systems.github.io/meta-tanowrt/extra/build-docker.html).

@outbackdingo
Copy link
Author

outbackdingo commented Feb 12, 2023 via email

@namedun
Copy link
Contributor

namedun commented Feb 12, 2023

Looks like you mount invalid directory of the meta-tanowrt repository into dockers /tanowrt directory. Check /tanowrt directory contents in docker:

build@108a8bcb14c2:~$ 
build@108a8bcb14c2:~$ cd /tanowrt/
build@108a8bcb14c2:/tanowrt$ ls
bitbake  docs  LICENSE     meta-arm    meta-openembedded  meta-swi         meta-swupdate  meta-tanowrt-hsl-atmel   meta-tanowrt-hsl-brcm   meta-tanowrt-hsl-nxp       meta-tanowrt-hsl-swi         meta-tanowrt-hsl-ti   meta-ti            README.md
build    kas   local.conf  meta-atmel  meta-qt5           meta-swi-extras  meta-tanowrt   meta-tanowrt-hsl-baikal  meta-tanowrt-hsl-intel  meta-tanowrt-hsl-rockchip  meta-tanowrt-hsl-swi-extras  meta-tanowrt-staging  openembedded-core  scripts

And recheck your path on the host system to meta-tanowrt repository in command:

docker run --rm -it -v ~/tanowrt:/tanowrt ubuntu:tanowrt-build /bin/bash

You have cloned meta-tanowrt repository into ~/tanowrt?

@outbackdingo
Copy link
Author

outbackdingo commented Feb 12, 2023 via email

@outbackdingo
Copy link
Author

this must be something fedora / docker specific even... i just tried on a freinds ubuntu, and seems its working... we will see if it builds

@namedun
Copy link
Contributor

namedun commented Feb 12, 2023

Okay, I'll reopen this issue. I will try to see what is going on Fedora when I have time. Can you please tell me more exactly what version of distribution you have, architecture, etc?

@outbackdingo
Copy link
Author

outbackdingo commented Feb 12, 2023 via email

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

2 participants