mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-18 17:08:29 +00:00
Merge pull request #23 from mstg/srpm-sources-dir-fix
This commit is contained in:
commit
c691153e11
@ -421,6 +421,10 @@ func (c *Controller) BuildSRPMActivity(ctx context.Context, upstreamPrefix strin
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("could not write mock config: %v", err)
|
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{
|
args := []string{
|
||||||
"mock",
|
"mock",
|
||||||
"--isolation=simple",
|
"--isolation=simple",
|
||||||
|
Loading…
Reference in New Issue
Block a user