Package: replace ntfs-3g with ntfs3-mount, add fstrim

This commit is contained in:
John Doe
2021-08-16 23:08:49 +08:00
parent 7331ab6469
commit 834b6b73a3
3 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
CONFIG_PACKAGE_fstrim=m
CONFIG_PACKAGE_igmpproxy=m CONFIG_PACKAGE_igmpproxy=m
CONFIG_PACKAGE_node-npm=m CONFIG_PACKAGE_node-npm=m
CONFIG_PACKAGE_smartmontools-drivedb=m CONFIG_PACKAGE_smartmontools-drivedb=m

View File

@@ -1,8 +1,8 @@
function merge_package(){ function merge_package(){
pn=`echo $1 | rev | cut -d'/' -f 1 | rev` pn=`echo $1 | rev | cut -d'/' -f 1 | rev`
find package/ \( -type l -o -type d \) -name $pn | xargs -r rm -r find package/ feeds/ \( -type l -o -type d \) -name $pn | xargs -r rm -r
if [ ! -z "$2" ]; then if [ ! -z "$2" ]; then
find package/ \( -type l -o -type d \) -name $2 | xargs -r rm -r find package/ feeds/ \( -type l -o -type d \) -name $2 | xargs -r rm -r
fi fi
if [[ $1 == *'/trunk/'* ]]; then if [[ $1 == *'/trunk/'* ]]; then
@@ -29,3 +29,5 @@ merge_package https://github.com/coolsnowwolf/packages/trunk/kernel/ksmbd
merge_package https://github.com/coolsnowwolf/packages/trunk/net/ksmbd-tools merge_package https://github.com/coolsnowwolf/packages/trunk/net/ksmbd-tools
merge_package https://github.com/Beginner-Go/luci-app-tencentddns merge_package https://github.com/Beginner-Go/luci-app-tencentddns
merge_package https://github.com/sundaqiang/openwrt-packages/trunk/luci-app-services-wolplus merge_package https://github.com/sundaqiang/openwrt-packages/trunk/luci-app-services-wolplus
merge_package https://github.com/coolsnowwolf/lede/trunk/package/lean/ntfs3-mount
merge_package https://github.com/coolsnowwolf/lede/trunk/package/lean/ntfs3

View File

@@ -10,6 +10,7 @@ sed -i 's/=1/=0/g' package/kernel/linux/files/sysctl-br-netfilter.conf
sed -i '/DEPENDS/ s/$/ +libcap-bin/' `find . -type f -path '*/luci-app-openclash/Makefile'` sed -i '/DEPENDS/ s/$/ +libcap-bin/' `find . -type f -path '*/luci-app-openclash/Makefile'`
sed -i '/DEPENDS+/ s/$/ +wsdd2/' `find . -type f -path '*/ksmbd-tools/Makefile'` sed -i '/DEPENDS+/ s/$/ +wsdd2/' `find . -type f -path '*/ksmbd-tools/Makefile'`
sed -i 's/ +ntfs-3g/ +ntfs3-mount/' `find . -type f -path '*/automount/Makefile'`
if [ $DEVICE = 'r2s' ]; then if [ $DEVICE = 'r2s' ]; then
sed -i "s/enable '0'/enable '1'/" `find feeds/ -type f -name oled | grep config` sed -i "s/enable '0'/enable '1'/" `find feeds/ -type f -name oled | grep config`