Skip to content

src/pkg/bb: Resolve conflicting u-root#72

Merged
walterchris merged 1 commit intomainfrom
fixup/conflictinguroot
Jun 11, 2022
Merged

src/pkg/bb: Resolve conflicting u-root#72
walterchris merged 1 commit intomainfrom
fixup/conflictinguroot

Conversation

@walterchris
Copy link
Contributor

if any third-party cmd we pull in to build uses u-root as a dependency,
it will always conflict. When building u-root, u-root is always pulled
in as a local dependency i.e. github.com/u-root/u-root@directory. This
conflicts with every go.mod that is outside of u-root/u-root and depends
on u-root.

Signed-off-by: Christian Walter christian.walter@9elements.com

@walterchris walterchris added the help wanted Extra attention is needed label May 7, 2022
@walterchris walterchris requested a review from hugelgupf May 7, 2022 00:58
@walterchris
Copy link
Contributor Author

This is just meant to start the discussion.

@walterchris walterchris requested a review from MDr164 May 7, 2022 01:09
@walterchris walterchris force-pushed the fixup/conflictinguroot branch 3 times, most recently from addd5c2 to 2e0f962 Compare June 11, 2022 15:24
@walterchris walterchris added enhancement New feature or request and removed help wanted Extra attention is needed enhancement New feature or request labels Jun 11, 2022
@walterchris walterchris force-pushed the fixup/conflictinguroot branch 2 times, most recently from 08a17af to d3fd441 Compare June 11, 2022 15:33
@MDr164
Copy link

MDr164 commented Jun 11, 2022

Code looks good so far, we should add some info about the change in behavior into the README before merging this.

if any third-party cmd we pull in to build uses u-root as a dependency,
it will always conflict. When building u-root, u-root is always pulled
in as a local dependency i.e. github.com/u-root/u-root@directory. This
conflicts with every go.mod that is outside of u-root/u-root and depends
on u-root.

Signed-off-by: Christian Walter <christian.walter@9elements.com>
@walterchris walterchris force-pushed the fixup/conflictinguroot branch from d3fd441 to 4e83bb4 Compare June 11, 2022 15:47
Copy link
Member

@rminnich rminnich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope this is ok to go in, it fixes a major usage problem for me in u-root: not being able to build an image which has both cpud and u-root programs.

@walterchris walterchris merged commit a4a23d8 into main Jun 11, 2022
@walterchris walterchris deleted the fixup/conflictinguroot branch June 11, 2022 17:04
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.

3 participants