Skip to content

fix(rpm-ostree): Support using optfix in multiple module calls #365

@gmpinder

Description

@gmpinder

I was doing some refactoring and decided to separate out some rpm-ostree module calls. I moved an optfix from one module call to another and I started to get this error:

l/jp-desktop-nvidia:latest => 0.557 ========================== Start 'rpm-ostree' Module ==========================
l/jp-desktop-nvidia:latest => 0.583 Creating symlinks to fix packages that install to /opt
l/jp-desktop-nvidia:latest => 0.584 ln: failed to create symbolic link '/opt/opt': File exists
l/jp-desktop-nvidia:latest => 0.586 ========================== Failed 'rpm-ostree' Module ==========================

It would appear that we aren't doing a check to make sure the symlink doesn't already exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions