Skip to content

Allow passing symlinks as device paths - #117

Merged
landerweit-phytec merged 2 commits into
mainfrom
wip-symlink-real-device-path
Sep 11, 2026
Merged

landerweit-phytec merged 2 commits into
mainfrom
wip-symlink-real-device-path

Conversation

@mschwan-phytec

@mschwan-phytec mschwan-phytec commented Sep 11, 2026 •

Copy link
Copy Markdown
Collaborator

Allow passing symlinks as device paths to install packages to. This makes it now possible to use paths like /dev/disk/by-..., which are actually just symlinks to real devices in /dev.

@mschwan-phytec
mschwan-phytec force-pushed the wip-symlink-real-device-path branch 2 times, most recently from e7ee1a6 to 514387d Compare September 11, 2026 09:58
@mschwan-phytec
mschwan-phytec marked this pull request as ready for review September 11, 2026 10:14
@landerweit-phytec

Copy link
Copy Markdown
Collaborator

Code looks good. Just one mistake in the commit message: not should probably be now.

Allow passing symlinks as device paths to install packages to. This
makes it now possible to use paths like /dev/disk/by-..., which are
actually just symlinks to real devices in /dev.

Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Test partup installation on a symlink that points to a real or loop
device.

Signed-off-by: Martin Schwan <m.schwan@phytec.de>
@mschwan-phytec
mschwan-phytec force-pushed the wip-symlink-real-device-path branch from 514387d to 7960416 Compare September 11, 2026 11:04
@landerweit-phytec
landerweit-phytec merged commit 9518fe3 into main Sep 11, 2026
4 checks passed
@landerweit-phytec
landerweit-phytec deleted the wip-symlink-real-device-path branch September 11, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants