Commit f11e19cd authored by chrissi^'s avatar chrissi^

Move patches into own gluon-fork

This commit removes the patches from our site repo.
The patches are now maintained as patches on top of the gluon tree in
the respective branches.

Our current fork of gluon is located here:
https://gitli.stratum0.org/ffbs/gluon-nextSigned-off-by: chrissi^'s avatarChrissi^ <chris@tinyhost.de>
parent bed3c8ad
From 135ea670ba78328cdb68e89ddb01e168af971a9e Mon Sep 17 00:00:00 2001
From: Chrissi^ <chris@tinyhost.de>
Date: Wed, 12 Jul 2017 20:14:11 +0200
Subject: [PATCH 1/2] Removing Owner Contact-Info from Statuspage
This is one of multiple patches to stop the node from leaking the contact Info
into the network.
Signed-off-by: Chrissi^ <chris@tinyhost.de>
---
package/gluon-status-page/src/js/lib/gui/nodeinfo.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/package/gluon-status-page/src/js/lib/gui/nodeinfo.js b/package/gluon-status-page/src/js/lib/gui/nodeinfo.js
index 1441b34e..15354bc1 100644
--- a/package/gluon-status-page/src/js/lib/gui/nodeinfo.js
+++ b/package/gluon-status-page/src/js/lib/gui/nodeinfo.js
@@ -34,7 +34,6 @@ define(["lib/helper"], function (Helper) {
var list = document.createElement("dl")
dlEntry(list, nodeInfo, "hostname", Helper._("Node name"))
- dlEntry(list, nodeInfo, "owner.contact", Helper._("Contact"))
dlEntry(list, nodeInfo, "hardware.model", Helper._("Model"))
dlEntry(list, nodeInfo, "network.mac", Helper._("Primary MAC"))
dlEntry(list, nodeInfo, "network.addresses", Helper._("IP Address"))
--
2.17.1
From a1e91bcf3f6cde08f56e82857e412ea47737ec07 Mon Sep 17 00:00:00 2001
From: Chris Fiege <c.fiege@pengutronix.de>
Date: Wed, 21 Jun 2017 22:04:41 +0200
Subject: [PATCH 2/2] Setting example coordinates to the brunswick lion
Well, we don't actually need this. But let's try some patriotism.
---
.../luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/gluon-config-mode-geo-location/luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua b/package/gluon-config-mode-geo-location/luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua
index 4d7fec01..38cd8604 100644
--- a/package/gluon-config-mode-geo-location/luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua
+++ b/package/gluon-config-mode-geo-location/luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua
@@ -29,7 +29,7 @@ return function(form, uci)
uci:set("gluon-node-info", location, "share_location", data)
end
- o = s:option(Value, "latitude", translate("Latitude"), translatef("e.g. %s", "53.873621"))
+ o = s:option(Value, "latitude", translate("Latitude"), translatef("e.g. %s", "52.26469"))
o.default = uci:get("gluon-node-info", location, "latitude")
o:depends(share_location, true)
o.datatype = "float"
@@ -37,7 +37,7 @@ return function(form, uci)
uci:set("gluon-node-info", location, "latitude", data)
end
- o = s:option(Value, "longitude", translate("Longitude"), translatef("e.g. %s", "10.689901"))
+ o = s:option(Value, "longitude", translate("Longitude"), translatef("e.g. %s", "10.52378"))
o.default = uci:get("gluon-node-info", location, "longitude")
o:depends(share_location, true)
o.datatype = "float"
--
2.17.1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment