tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Initial support for OpenWRT



Hello

I faced an issue: https://github.com/NetBSD/pkgsrc/issues/137

So I made a patch to proceed further (attached).

S.
From ec2c6d00d888cf190e2233b5af5cdbc4a514dd4f Mon Sep 17 00:00:00 2001
From: Saulius Krasuckas <saulius2%ar-fi.lt@localhost>
Date: Fri, 19 Apr 2024 08:22:14 +0000
Subject: [PATCH] bootstrap: Initial support for OpenWRT

---
 bootstrap/bootstrap | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 4d70d73334eb..b19796ed95f2 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -748,6 +748,9 @@ Linux)
 	elif grep -sq '^CHROMEOS_RELEASE_NAME' /etc/lsb-release; then
 		need_awk=yes
 		need_sed=yes
+	elif grep -sq openwrt /etc/os-release; then
+		groupsprog="id -Gn"
+		whoamiprog="id -un"
 	fi
 	machine_arch=`uname -m`
 	# Override machine_arch where required.
-- 
2.34.3



Home | Main Index | Thread Index | Old Index