|
@@ -19,10 +19,12 @@ sed -i 's/\/cgi-bin\/\(luci\|cgi-\)/\/\1/g' `find package/feeds/custom/luci-*/ -
|
|
|
sed -i 's/Os/O2/g' include/target.mk
|
|
|
sed -i 's/$(TARGET_DIR)) install/$(TARGET_DIR)) install --force-overwrite/' package/Makefile
|
|
|
sed -i 's/root:.*/root:$1$tTPCBw1t$ldzfp37h5lSpO9VXk4uUE\/:18336:0:99999:7:::/g' package/base-files/files/etc/shadow
|
|
|
-sed -i '$a /etc/sysupgrade.conf' package/base-files/files/lib/upgrade/keep.d/base-files-essential
|
|
|
-sed -i '$a /etc/acme' package/base-files/files/lib/upgrade/keep.d/base-files-essential
|
|
|
-sed -i '$a /etc/bench.log' package/base-files/files/lib/upgrade/keep.d/base-files-essential
|
|
|
-sed -i '/\/etc\/profile/d' package/base-files/files/lib/upgrade/keep.d/base-files-essential
|
|
|
+sed -i -e '$a /etc/sysupgrade.conf' \
|
|
|
+ -e '/etc/sysupgrade.conf' \
|
|
|
+ -e '$a /etc/bench.log' \
|
|
|
+ -e '/\/etc\/profile/d' \
|
|
|
+ -e '/\/etc\/shinit/d' \
|
|
|
+ package/base-files/files/lib/upgrade/keep.d/base-files-essential
|
|
|
sed -i '/^\/etc\/profile/d' package/base-files/Makefile
|
|
|
# find target/linux/x86 -name "config*" -exec bash -c 'cat kernel.conf >> "{}"' \;
|
|
|
sed -i '$a CONFIG_ACPI=y\nCONFIG_X86_ACPI_CPUFREQ=y\nCONFIG_NR_CPUS=128\nCONFIG_FAT_DEFAULT_IOCHARSET="utf8"\nCONFIG_CRYPTO_CHACHA20_NEON=y\n \
|
|
@@ -59,4 +61,4 @@ if [ -f sdk.tar.xz ]; then
|
|
|
fi
|
|
|
ln -sf /usr/bin/python3 staging_dir/host/bin/python3
|
|
|
fi
|
|
|
-) &
|
|
|
+) &
|