mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
parent
72aae59436
commit
d98f641892
1 changed files with 10 additions and 5 deletions
15
build.sh
15
build.sh
|
@ -143,9 +143,15 @@ rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/files" "$OMR_TARGET/${OMR_KERNEL}/sourc
|
|||
#rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/package/boot/arm-trusted-firmware-mediatek"
|
||||
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"
|
||||
|
||||
if [ "$OMR_TARGET" != "rutx" ]; then
|
||||
# There is many customization to support rutx and this seems to break other ipq40xx, so dirty workaround for now
|
||||
mv "$OMR_TARGET/${OMR_KERNEL}/source/target/linux/ipq40xx" "$OMR_TARGET/${OMR_KERNEL}/source/target/linux/ipq40xx.old"
|
||||
cp -rf root/* "$OMR_TARGET/${OMR_KERNEL}/source"
|
||||
rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/target/linux/ipq40xx"
|
||||
mv "$OMR_TARGET/${OMR_KERNEL}/source/target/linux/ipq40xx.old" "$OMR_TARGET/${OMR_KERNEL}/source/target/linux/ipq40xx"
|
||||
else
|
||||
cp -rf root/* "$OMR_TARGET/${OMR_KERNEL}/source"
|
||||
fi
|
||||
|
||||
cat >> "$OMR_TARGET/${OMR_KERNEL}/source/package/base-files/files/etc/banner" <<EOF
|
||||
-----------------------------------------------------
|
||||
|
@ -639,7 +645,7 @@ fi
|
|||
cd ../..
|
||||
[ -d $OMR_FEED/luci-base/po/oc ] && cp -rf $OMR_FEED/luci-base/po/oc feeds/${OMR_KERNEL}/luci/modules/luci-base/po/
|
||||
echo "Done"
|
||||
chmod -R 777 "$OMR_TARGET/${OMR_KERNEL}/source"
|
||||
|
||||
cd "$OMR_TARGET/${OMR_KERNEL}/source"
|
||||
echo "Update feeds index"
|
||||
cp .config .config.keep
|
||||
|
@ -665,7 +671,6 @@ if [ -n "$CUSTOM_FEED" ]; then
|
|||
else
|
||||
scripts/feeds install -a -d y -f -p openmptcprouter
|
||||
fi
|
||||
scripts/feeds install -a
|
||||
cp .config.keep .config
|
||||
scripts/feeds install kmod-macremapper
|
||||
echo "Done"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue