forked from sbwml/r4s_build_script
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
openwrt/patch/generic/0005-rootfs-add-r-w-permissions-for-UCI-configuration-fil.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From af683d8e4a586ad454224d2c67757e71361c4a3a Mon Sep 17 00:00:00 2001 | ||
From: sbwml <admin@cooluc.com> | ||
Date: Sun, 30 Jun 2024 21:58:24 +0800 | ||
Subject: [PATCH] rootfs: add r/w permissions for UCI configuration files | ||
|
||
Signed-off-by: sbwml <admin@cooluc.com> | ||
--- | ||
include/rootfs.mk | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/include/rootfs.mk b/include/rootfs.mk | ||
index eb69a99..f8bc2ed 100644 | ||
--- a/include/rootfs.mk | ||
+++ b/include/rootfs.mk | ||
@@ -100,6 +100,7 @@ define prepare_rootfs | ||
$(STAGING_DIR_HOST)/bin/upx --lzma --best "$(1)$$file" || true; \ | ||
done < "$(TOPDIR)/upx_list.txt"; \ | ||
fi | ||
+ chmod 600 $(1)/etc/config/* | ||
$(call clean_ipkg,$(1)) | ||
$(call mklibs,$(1)) | ||
$(if $(SOURCE_DATE_EPOCH),find $(1)/ -mindepth 1 -execdir touch -hcd "@$(SOURCE_DATE_EPOCH)" "{}" +) | ||
-- | ||
2.42.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters