Skip to content

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

Description

@cosmo0920

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions