Permalink
Browse files

Explain why a subset of util-linux is extracted

This adds a copy of the explanation from TJMCS about why only a
subset of the `util-linux` package is installed, as per #45, so that
the next engineer along doesn't wonder at that.
  • Loading branch information...
1 parent c6e1407 commit cca920be3dc4e8e80ea75bafef739f95aa63fad1 @daniel-pittman daniel-pittman committed Jan 17, 2013
Showing with 11 additions and 0 deletions.
  1. +11 −0 build-bundle-file.sh
View
11 build-bundle-file.sh
@@ -431,6 +431,17 @@ fi
# get the latest util-linux.tcz, then extract the two executables that
# we need from that file (using the unsquashfs command)
+#
+# TJMCS as per https://github.com/puppetlabs/Razor-Microkernel/issues/45#issuecomment-12376846
+#
+# The reason we're only pulling a couple of binaries out of this package
+# (rather than installing the entire util-linux TCE) is that we ran into
+# issues with Facter (if I remember correctly) when some of the utilities
+# contained in that package were installed. Rather than trying to get the
+# issues with Facter resolved for the busybox versions of some of these
+# commands (which are different from more standard Linux distributions), it
+# was felt that we should just install the bits that we need out of that
+# particular TCE...
file='util-linux.tcz'
if [ $RE_USE_PREV_DL = 'no' ] || [ ! -f tmp-build-dir/$file ]
then

0 comments on commit cca920b

Please sign in to comment.