From 24a16cdcd13fe6834d167d2038373a1409f6c8bb Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Tue, 29 Sep 2026 07:35:01 +0800 Subject: [PATCH] Update tailscale.patch --- .github/diy/patches/tailscale.patch | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/diy/patches/tailscale.patch b/.github/diy/patches/tailscale.patch index 4741f84f9..e84267fad 100644 --- a/.github/diy/patches/tailscale.patch +++ b/.github/diy/patches/tailscale.patch @@ -1,16 +1,9 @@ --- a/luci-app-tailscale/Makefile +++ b/luci-app-tailscale/Makefile -@@ -7,107 +7,40 @@ include $(TOPDIR)/rules.mk - LUCI_TITLE:=LuCI for Tailscale - LUCI_DEPENDS:=+tailscale +jshn +curl +jq +flock - LUCI_PKGARCH:=all -- - PKG_VERSION:=1.2.17 - --# Keep UCI configs as ordinary package data. The pre-install hook snapshots an --# existing configuration before extraction; the UCI-defaults script restores it --# afterwards. Declaring the same files as opkg conffiles conflicts with this --# lifecycle and creates inactive *-opkg files during upgrades. +@@ -14,100 +14,39 @@ PKG_VERSION:=1.2.17 + # existing configuration before extraction; the UCI-defaults script restores it + # afterwards. Declaring the same files as opkg conffiles conflicts with this + # lifecycle and creates inactive *-opkg files during upgrades. -define Package/luci-app-tailscale/preinst -#!/bin/sh -state_dir=/etc/.luci-app-tailscale-upgrade @@ -30,7 +23,7 @@ - else - rm -f "$${backup_file}" 2>/dev/null || true - fi -- + - # Disabling the duplicate starter is mandatory even when its backup fails. - # chmod is a last-resort guard for a transient remove failure; package - # extraction will subsequently remove the obsolete package-owned path.