cloudfoundry-community / bosh-gen

Rapid generation of BOSH releases
MIT License
68 stars 21 forks source link

Omit packages with busybox from PATH and LD_LIBRARY_PATH #82

Closed dennisjbell closed 8 years ago

dennisjbell commented 8 years ago

busybox contains binaries that duplicate the normal system binaries such as mkdir and ls, and are often built against different incompatible libraries for use in containers, which causes the jobs to fail. This PR detects if there is a busybox executable in the packages bin dir, and if so, omits the package from the PATH and LD_LIBRARY_PATH.