From e1f635f4fadad8841c7ff36dc4d0eb134a65de0b Mon Sep 17 00:00:00 2001 From: sbwml Date: Sun, 14 Apr 2024 19:31:08 +0800 Subject: [PATCH] archive 2024-04-14 Signed-off-by: sbwml --- openwrt/23-config-common | 1 + openwrt/scripts/02-prepare_package.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/openwrt/23-config-common b/openwrt/23-config-common index 6e45746d2..e8c52705b 100644 --- a/openwrt/23-config-common +++ b/openwrt/23-config-common @@ -304,6 +304,7 @@ CONFIG_PACKAGE_coreutils-nproc=y CONFIG_PACKAGE_coreutils-rm=y CONFIG_PACKAGE_coreutils-sha1sum=y CONFIG_PACKAGE_coreutils-sha512sum=y +CONFIG_PACKAGE_coreutils-sleep=y CONFIG_PACKAGE_coreutils-timeout=y CONFIG_PACKAGE_coreutils-truncate=y diff --git a/openwrt/scripts/02-prepare_package.sh b/openwrt/scripts/02-prepare_package.sh index 19388447e..362db2fd2 100644 --- a/openwrt/scripts/02-prepare_package.sh +++ b/openwrt/scripts/02-prepare_package.sh @@ -60,6 +60,8 @@ sed -i 's/#directory mask/directory mask/g' feeds/packages/net/samba4/files/smb. sed -i 's/0666/0644/g;s/0744/0755/g;s/0777/0755/g' feeds/luci/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js sed -i 's/0666/0644/g;s/0777/0755/g' feeds/packages/net/samba4/files/samba.config sed -i 's/0666/0644/g;s/0777/0755/g' feeds/packages/net/samba4/files/smb.conf.template +# rk3568 bind cpus +[ "$platform" = "rk3568" ] && sed -i 's#/usr/sbin/smbd#/usr/bin/taskset -c 0-1 /usr/sbin/smbd#' feeds/packages/net/samba4/files/samba.init # autoCore git clone https://$github/sbwml/autocore-arm -b openwrt-23.05 package/new/autocore