ramips: delete patch that do not keep config

This commit is contained in:
gl-dengxinfa 2022-11-07 10:33:53 +08:00
parent a7fae18983
commit efd36a0333
3 changed files with 2 additions and 49 deletions

View File

@ -1,24 +0,0 @@
From 0cc3433812dc4132876ae4edd930bec97bd6308c Mon Sep 17 00:00:00 2001
From: gl-dengxinfa <xinfa.deng@gl-inet.com>
Date: Wed, 28 Sep 2022 17:13:22 +0800
Subject: [PATCH] fix: do not keep config
---
package/base-files/files/lib/preinit/80_mount_root | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/base-files/files/lib/preinit/80_mount_root b/package/base-files/files/lib/preinit/80_mount_root
index c3816c2cbf..62a1a4bf32 100644
--- a/package/base-files/files/lib/preinit/80_mount_root
+++ b/package/base-files/files/lib/preinit/80_mount_root
@@ -17,6 +17,7 @@ missing_lines() {
do_mount_root() {
mount_root
boot_run_hook preinit_mount_root
+ return
[ -f /sysupgrade.tgz -o -f /tmp/sysupgrade.tar ] && {
echo "- config restore -"
cp /etc/passwd /etc/group /etc/shadow /tmp
--
2.34.1

View File

@ -1,24 +0,0 @@
From 0cc3433812dc4132876ae4edd930bec97bd6308c Mon Sep 17 00:00:00 2001
From: gl-dengxinfa <xinfa.deng@gl-inet.com>
Date: Wed, 28 Sep 2022 17:13:22 +0800
Subject: [PATCH] fix: do not keep config
---
package/base-files/files/lib/preinit/80_mount_root | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/base-files/files/lib/preinit/80_mount_root b/package/base-files/files/lib/preinit/80_mount_root
index c3816c2cbf..62a1a4bf32 100644
--- a/package/base-files/files/lib/preinit/80_mount_root
+++ b/package/base-files/files/lib/preinit/80_mount_root
@@ -17,6 +17,7 @@ missing_lines() {
do_mount_root() {
mount_root
boot_run_hook preinit_mount_root
+ return
[ -f /sysupgrade.tgz -o -f /tmp/sysupgrade.tar ] && {
echo "- config restore -"
cp /etc/passwd /etc/group /etc/shadow /tmp
--
2.34.1

View File

@ -6,7 +6,7 @@ feeds:
branch: v4.1.0_mt1300
- name: gl_feed_common
uri: https://github.com/gl-inet/gl-feeds.git
revision: 886a4930f6738fca88a23d2042234cebe5ce028d
revision: 3736d7437fb9a57014bb779d495aa11700462959
packages:
- kmod-ipt-offload
@ -77,6 +77,7 @@ packages:
- gl-sdk4-timer
- gl-sdk4-tor
- gl-sdk4-igmp
- gl-sdk4-keepcfg
- gl-sdk4-ui-adminpw
- gl-sdk4-ui-advanced
- gl-sdk4-ui-bridge