From 9980dc00e1418c8defdde5773a0f0396d47c1a5a Mon Sep 17 00:00:00 2001 From: Ivan Mikushin Date: Mon, 7 Sep 2015 23:05:35 +0500 Subject: [PATCH] rm busybox_install() --- scripts/build-common | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/scripts/build-common b/scripts/build-common index 009f6e0..929549c 100644 --- a/scripts/build-common +++ b/scripts/build-common @@ -12,45 +12,6 @@ DOCKER_FILE=${CONFIG}/.dockerfile mkdir -p ${BUILD} ${DIST} -busybox_install() -{ - local conf=$1 - local bbconf=$2 - local target=$3 - - if [ "$#" = "2" ]; then - target=$2 - bbconf= - fi - - apt-get update - apt-get install -y build-essential wget libncurses5-dev unzip bc - - cd ${BUILD} - - local buildroot=$(ls -1 ${ARTIFACTS}/buildroot-*.tar.bz2) - - if [ ! -e "${buildroot}" ]; then - echo "Failed to find busybox archive, found : ${buildroot}" 1>&2 - return 1 - else - buildroot=$(basename $buildroot) - fi - - rm -rf ${buildroot/.tar.bz2//} - tar xvjf ${ARTIFACTS}/${buildroot} - cd ${buildroot/.tar.bz2//} - - cp $conf .config - if [ -n "$bbconf" ]; then - cp $bbconf package/busybox/ - fi - make oldconfig - make - - cp output/images/rootfs.tar $target -} - write_base() { if [ "${BASE_WRITTEN}" = "true" ]; then