Skip to content

No executable bash found  #57

@wintron04

Description

@wintron04

Edge Case:

I have an appliance.kiwi with this section:

<packages type="delete">
<package name="bash"/>
</packages>

The package "bash" is getting deleted! This will happen directly after the config.sh is called by kiwi.
After this kiwi will execute images.sh. This will fail with the error that no bash executable could be found on the image!

This can be fixed:
Set the executable bit for images.sh (see at 1. https://documentation.suse.com/appliance/kiwi-9/single-html/kiwi/index.html#description-components)

Possible Solutions:

  • Berrymill sets the executable bit for images.sh every time to make sure this won't happen.
  • Issue a Warning that will display this potential behavior (Will this actually be read by someone?)
  • Check appliance.kiwi if bash will get deleted and only then set executable bit for images.sh
  • Ignore because its a kiwi problem?

Thoughts on this? @isbm @JiyangLiuG

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem rightquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions