Skip to content

Commit

Permalink
builder: Set -y before -c when installing components
Browse files Browse the repository at this point in the history
Make a cosmetic tweak to eopkg install commands (which will
effectively be using eopkg.bin when the PR above lands) so the -y flag
is set before the -c flag when installing components.

Signed-off-by: Rune Morling <[email protected]>
  • Loading branch information
ermo authored and silkeh committed Sep 18, 2024
1 parent 160678e commit 7660a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/eopkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func (e *EopkgManager) Upgrade() error {
// InstallComponent will install the named component inside the chroot.
func (e *EopkgManager) InstallComponent(comp string) error {
err := ChrootExec(e.notif, e.root,
eopkgCommand(fmt.Sprintf("%s install -c %v -y", eopkgInstallCommand, comp)))
eopkgCommand(fmt.Sprintf("%s install -y -c %v", eopkgInstallCommand, comp)))
e.notif.SetActivePID(0)

return err
Expand Down

0 comments on commit 7660a89

Please sign in to comment.