Fix battery on 503.
This commit is contained in:
parent
27912a94a7
commit
cfb0bb7e59
3 changed files with 16 additions and 2 deletions
14
packages/network/syncthing/patches/001-no-root-warning.patch
Normal file
14
packages/network/syncthing/patches/001-no-root-warning.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
diff -rupN syncthing.orig/lib/syncthing/syncthing.go syncthing/lib/syncthing/syncthing.go
|
||||
--- syncthing.orig/lib/syncthing/syncthing.go 2023-02-17 05:51:10.194433291 -0500
|
||||
+++ syncthing/lib/syncthing/syncthing.go 2023-02-17 05:51:41.894163734 -0500
|
||||
@@ -319,10 +319,6 @@ func (a *App) startup() error {
|
||||
}
|
||||
}
|
||||
|
||||
- if isSuperUser() {
|
||||
- l.Warnln("Syncthing should not run as a privileged or system user. Please consider using a normal user account.")
|
||||
- }
|
||||
-
|
||||
a.evLogger.Log(events.StartupComplete, map[string]string{
|
||||
"myID": a.myID.String(),
|
||||
})
|
|
@ -2784,7 +2784,7 @@ CONFIG_CHARGER_BQ24735=y
|
|||
# CONFIG_BATTERY_GAUGE_LTC2941 is not set
|
||||
# CONFIG_CHARGER_RT9455 is not set
|
||||
# CONFIG_CHARGER_CROS_USBPD is not set
|
||||
CONFIG_BATTERY_CW2015=y
|
||||
# CONFIG_BATTERY_CW2015 is not set
|
||||
# CONFIG_BATTERY_RK816 is not set
|
||||
CONFIG_BATTERY_RK817=y
|
||||
CONFIG_CHARGER_RK817=y
|
||||
|
|
|
@ -26,7 +26,7 @@ case ${DEVICE} in
|
|||
;;
|
||||
RK3566)
|
||||
PKG_URL="${PKG_SITE}/rk356x-kernel.git"
|
||||
PKG_VERSION="3cb426d3e"
|
||||
PKG_VERSION="c93baa48c"
|
||||
GET_HANDLER_SUPPORT="git"
|
||||
PKG_GIT_CLONE_BRANCH="main"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue