mirror of
https://github.com/mudler/luet.git
synced 2025-07-16 00:15:59 +00:00
compiler: Avoid generation of delta if there are only prelude steps (#232)
This commit is contained in:
parent
654b5b48cd
commit
b6b91cfd7a
@ -242,7 +242,7 @@ func (cs *LuetCompilationSpec) SetSeedImage(s string) {
|
||||
}
|
||||
|
||||
func (cs *LuetCompilationSpec) EmptyPackage() bool {
|
||||
return len(cs.BuildSteps()) == 0 && len(cs.GetPreBuildSteps()) == 0 && !cs.UnpackedPackage()
|
||||
return len(cs.BuildSteps()) == 0 && !cs.UnpackedPackage()
|
||||
}
|
||||
|
||||
func (cs *LuetCompilationSpec) UnpackedPackage() bool {
|
||||
|
Loading…
Reference in New Issue
Block a user