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

Should node-red recipe depend on both of bash and zsh? #6

Open
cosmo0920 opened this issue Jan 26, 2018 · 0 comments
Open

Should node-red recipe depend on both of bash and zsh? #6

cosmo0920 opened this issue Jan 26, 2018 · 0 comments

Comments

@cosmo0920
Copy link

Hi, I've hit an unexpected running update-alternative hook for zsh when installing node-red which is built with meta-nodejs-contrib.

Environment Description

I'm working on bash shell based BSP which is for Renesas RZ/G1 board Yocto 2.0.
This board does not provide zsh compatible PS1:

/etc/profile

# <snip>
if [ "$PS1" ]; then
# works for bash and ash (no other shells known to be in use here)
   PS1='\u@\h:\w\$ '
fi

Expected Behavior

When installing node-red yocto built package, update-alternative hook for zsh does not work and still be able to use bash as /bin/sh.

Actual Behavior

update-alternative hook for zsh works and replace /bin/sh/ with /bin/zsh.

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

1 participant