From 7ae1fa6640b2f8463e21b0182c44506f377af96d Mon Sep 17 00:00:00 2001 From: suyuan <175338101@qq.com> Date: Thu, 24 Nov 2022 14:14:06 +0800 Subject: [PATCH] Update build.sh --- build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index e9f0e4d5..10a8925d 100644 --- a/build.sh +++ b/build.sh @@ -144,12 +144,15 @@ rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/files" "$OMR_TARGET/${OMR_KERNEL}/sourc rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/tools/firmware-utils" rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/package/boot/uboot-rockchip" cp -rf root/* "$OMR_TARGET/${OMR_KERNEL}/source" + cat >> "$OMR_TARGET/${OMR_KERNEL}/source/package/base-files/files/etc/banner" <> "$OMR_TARGET/${OMR_KERNEL}/source/.config" fi -if [ "$OMR_PACKAGES" = "zuixiao" ]; then - echo "CONFIG_PACKAGE_${OMR_DIST}-zuixiao=y" >> "$OMR_TARGET/${OMR_KERNEL}/source/.config" -fi if [ "$SHORTCUT_FE" = "yes" ] && [ "${OMR_KERNEL}" = "5.4" ]; then echo "# CONFIG_PACKAGE_kmod-fast-classifier is not set" >> "$OMR_TARGET/${OMR_KERNEL}/source/.config" @@ -349,7 +349,7 @@ if [ "$OMR_TARGET" = "bpi-r1" ]; then done echo "done" fi -chmod -R 777 "$OMR_TARGET/${OMR_KERNEL}/source" + cd "$OMR_TARGET/${OMR_KERNEL}/source" #if [ "$OMR_UEFI" = "yes" ] && [ "$OMR_TARGET" = "x86_64" ]; then @@ -674,4 +674,4 @@ fi echo "Building $OMR_DIST for the target $OMR_TARGET with kernel ${OMR_KERNEL}" make defconfig make IGNORE_ERRORS=m "$@" -echo "Done" \ No newline at end of file +echo "Done"