From 81c2e2baa9346c2eb66ec311806e93880d3003a4 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Fri, 17 Dec 2021 23:07:24 +0800 Subject: [PATCH] update buildroot.sh --- tools/buildroot/buildroot.sh | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/buildroot/buildroot.sh b/tools/buildroot/buildroot.sh index 1dad0ef..93ed41a 100755 --- a/tools/buildroot/buildroot.sh +++ b/tools/buildroot/buildroot.sh @@ -56,7 +56,7 @@ printf "\n\n -- decompress ${BR_VER} -- \n\n" tar -xjf ${BR_PAK}/buildroot/${BR_VER}.tar.bz2 - mv ${BR_PAK} ${BR_VER}/dl + mv ${BR_PAK} ${BR_VER}/tarballs } function do_patch() @@ -65,7 +65,8 @@ cd $BR_VER - cp dl/buildroot/$BR_CONF .config + cp tarballs/buildroot/$BR_CONF .config + cp tarballs/busybox/busybox.config package/busybox/ sed -i "s|^BR2_HOST_DIR=.*|BR2_HOST_DIR=\"${INST_PATH}\"|g" .config cd - -- Gitblit v1.9.1