Skip to content

Directory structure flattened during packaging for full paths #114

Description

@mschwan-phytec

Description

When running partup package with a full path to a file, the directories to that file are stripped. However, it is expected for the relative path to be preserved.

The following example shows the directory foo/ being (falsely) stripped:

$ partup package test.partup layout.yaml foo/bar.txt
$ sudo partup show test.partup
...
Package Contents
================
bar.txt
layout.yaml

When passing a directory as input, the output is as expected:

$ partup package test.partup layout.yaml foo/
$ sudo partup show test.partup
...
Package Contents
================
foo/
foo/bar.txt
layout.yaml

Expected behavior

When passing relative path including directories, these directories should be preserved/passed through to the package content.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions