Skip to content

fix: repair broken cp/mkdir lines in yumrepo Dockerfile - #17

Merged
go-kazuhiko-yamashita merged 1 commit into
masterfrom
fix/error
Aug 25, 2026
Merged

go-kazuhiko-yamashita merged 1 commit into
masterfrom
fix/error

Conversation

@go-kazuhiko-yamashita

Copy link
Copy Markdown
Contributor

Leftovers from el7 removal broke the yumrepo build:

  • cp -pr releases/centos/{x86_64,aarch64}/2/ had no destination operand. These lines used to copy the el7 libnss rpm into the Amazon Linux 2 repo, but libnss no longer ships an el7 build.
  • mkdir -p releases/centos/{x86_64,aarch64}/{2} created a literal {2} directory since bash does not expand a single-element brace, so the later cp into .../2 failed with "target is not a directory".

Leftovers from el7 removal broke the yumrepo build:

- `cp -pr releases/centos/{x86_64,aarch64}/2/` had no destination
  operand. These lines used to copy the el7 libnss rpm into the
  Amazon Linux 2 repo, but libnss no longer ships an el7 build.
- `mkdir -p releases/centos/{x86_64,aarch64}/{2}` created a literal
  `{2}` directory since bash does not expand a single-element brace,
  so the later `cp` into `.../2` failed with "target is not a directory".
@go-kazuhiko-yamashita
go-kazuhiko-yamashita merged commit 3cc2596 into master Aug 25, 2026
1 check passed
@go-kazuhiko-yamashita
go-kazuhiko-yamashita deleted the fix/error branch August 25, 2026 11:09
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