summaryrefslogtreecommitdiff
path: root/support/dependencies
diff options
context:
space:
mode:
authorThomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>2013-08-07 20:01:51 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-08-10 19:49:32 +0200
commit59e0692095078ec94d85f58e90aee981b5225306 (patch)
treeb30229820964ce779eaf824f3e27f2996481f899 /support/dependencies
parentd1808f90378360850831eb9291ef1d799bd41c6a (diff)
host-mkpasswd: new package
Since the addition of root password setting support in buildroot, there have been a few bug reports in this area ([1], [2]). In these cases, the system mkpasswd did either not work, or did not provide the options we expect, like -m <method>. This patch adds a mkpasswd host package, based on the sources from whois. When a non-empty root password is set, this package is used as a dependency. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> [1] http://lists.busybox.net/pipermail/buildroot/2013-July/075771.html [2] http://lists.busybox.net/pipermail/buildroot/2013-July/075869.html [Thomas P: use $(INSTALL) instead of install, put -lcrypt at the end of build command line to allow gcc to find the crypt() function in lcrypt.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/dependencies')
-rwxr-xr-xsupport/dependencies/dependencies.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
index 61a4140ab..bce5cc666 100755
--- a/support/dependencies/dependencies.sh
+++ b/support/dependencies/dependencies.sh
@@ -173,14 +173,6 @@ if grep -q ^BR2_PACKAGE_CLASSPATH=y $BUILDROOT_CONFIG ; then
done
fi
-if grep -E '^BR2_TARGET_GENERIC_ROOT_PASSWD=".+"$' $BUILDROOT_CONFIG > /dev/null 2>&1; then
- if ! which mkpasswd > /dev/null 2>&1; then
- /bin/echo -e "\nYou need the 'mkpasswd' utility to set the root password\n"
- /bin/echo -e "(in Debian/ubuntu, 'mkpasswd' provided by the whois package)\n"
- exit 1
- fi
-fi
-
if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y $BUILDROOT_CONFIG ; then
if test ! -f /lib/ld-linux.so.2 ; then
/bin/echo -e "\nYour Buildroot configuration uses pre-built tools for the x86 architecture,"