mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-18 11:21:25 +00:00
SOURCES dir should always be available in SRPM mode
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
This commit is contained in:
parent
588ddf0716
commit
f2526a2a7e
@ -421,6 +421,10 @@ func (c *Controller) BuildSRPMActivity(ctx context.Context, upstreamPrefix strin
|
||||
if err != nil {
|
||||
return fmt.Errorf("could not write mock config: %v", err)
|
||||
}
|
||||
// The SOURCES dir should always be available. Some packages don't have that
|
||||
// and Mock complains. Loudly. About that
|
||||
_ = os.MkdirAll(filepath.Join(cloneDir, "SOURCES"), 0644)
|
||||
|
||||
args := []string{
|
||||
"mock",
|
||||
"--isolation=simple",
|
||||
|
Loading…
Reference in New Issue
Block a user