From 391656812d80bd112b6ec29df51f0b7b1b1f7161 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Thu, 12 Oct 2017 01:25:38 +0800 Subject: [PATCH] make folder writable for ext4 and ntfs autoumount --- package/lean/automount/Makefile | 2 +- package/lean/automount/files/15-automount | 1 + target/linux/x86/Makefile | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package/lean/automount/Makefile b/package/lean/automount/Makefile index 3d5620419..8881a060d 100644 --- a/package/lean/automount/Makefile +++ b/package/lean/automount/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=automount PKG_VERSION:=1 -PKG_RELEASE:=18 +PKG_RELEASE:=19 PKG_ARCH:=all include $(INCLUDE_DIR)/package.mk diff --git a/package/lean/automount/files/15-automount b/package/lean/automount/files/15-automount index 1948d75a0..dd518c4ec 100755 --- a/package/lean/automount/files/15-automount +++ b/package/lean/automount/files/15-automount @@ -14,6 +14,7 @@ if [ $basename != "block" ] && [ -z "${device##sd*}" ] && [ $skip -eq 1 ]; then case "$ACTION" in add) mkdir -p /mnt/$mntpnt + chmod 777 /mnt/$mntpnt # Try to be gentle on solid state devices mount -o rw,noatime,discard /dev/$device /mnt/$mntpnt ;; diff --git a/target/linux/x86/Makefile b/target/linux/x86/Makefile index 12b5a39d6..1af29cfdb 100644 --- a/target/linux/x86/Makefile +++ b/target/linux/x86/Makefile @@ -19,9 +19,10 @@ KERNELNAME:=bzImage include $(INCLUDE_DIR)/target.mk -DEFAULT_PACKAGES += partx-utils mkf2fs e2fsprogs wpad kmod-usb-hid kmod-usb-net-asix kmod-usb-net-asix-ax88179 \ +DEFAULT_PACKAGES += partx-utils mkf2fs fdisk e2fsprogs wpad kmod-usb-hid kmod-usb-net-asix kmod-usb-net-asix-ax88179 \ kmod-ath5k kmod-ath9k kmod-ath10k kmod-rt2800-usb kmod-e1000e kmod-igb kmod-igbvf kmod-ixgbe kmod-vmxnet3 htop lm-sensors \ -autocore automount autosamba ath10k-firmware-qca988x brcmfmac-firmware-43602a1-pcie +autocore automount autosamba ath10k-firmware-qca988x brcmfmac-firmware-43602a1-pcie \ +alsa-utils kmod-ac97 kmod-sound-hda-core kmod-sound-hda-codec-realtek kmod-sound-hda-intel kmod-sound-hda-codec-via kmod-sound-via82xx kmod-usb-audio $(eval $(call BuildTarget)) -- GitLab