Skip to content

Struggling to use RAUC_BUNDLE_EXTRA_FILES #364

Description

@mortenboye

I've been using rauc successfully for some time, but am now trying to update to the latest.

In the past i've had this line in my recipe
RAUC_BUNDLE_EXTRA_FILES += "bootfiles"
because i have a post install script that needs to move some files into place.

However after updating rauc i now get this error:
Failed to create bundle: directories are not supported as bundle contents (bootfiles)
which i can see is a more recent change, by design: https://rauc.readthedocs.io/en/v1.12/faq.html#why-does-bundle-creation-fail-with-a-not-supported-as-contents-error

My issue is that it is not clear to me how to proceed from here. I can see the bootfiles folder and its contents being added to the tmp//bundle/ folder, but building fails with the above error.

I have tried specifying the individual files also
RAUC_BUNDLE_EXTRA_FILES += "bootfiles/file1 bootfiles/file2"
but the result is the same.

I would like to end up with a similar bundle structure as before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions