Skip to content

Copy external directory to the rootfs #1645

Open
@Marcel-Lambacher

Description

@Marcel-Lambacher

Expected vs actual behavior

I'm not able to include an entire folder into the OSTree from within the treefile.
I always have to add each file separately.

"add-files": [
 ["subfolder/test1.txt", "/usr/share/subfolder/test1.txt"],
 ["subfolder/test2.txt", "/usr/share/subfolder/test2.txt"],
 ["subfolder/test3.txt", "/usr/share/subfolder/test3.txt"]
]

This behaviour is okay if you only have to work with a few files.
But if you want to include several directories, it is really annoying.

Expected:

I would be very happy if there is a feature, where you can include an entire directory (recursively) into the treefile:

"add-files": [
 ["subfolder/", "/usr/share/subfolder/"],
]

Would you like to work on the issue?

From my first understanding, this seems like an easy task. If this is a feature that should be implemented I would like to give a try.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions