Skip to content

Commit 01bced9

Browse files
Firmware v2 (#42)
* Firmware V2 for the hardware probes includes: Fix for the SSH host keys changing at every boot Automatic container update feature New user "devlogs" to enable checking for firmware logs * In case of SystemWatchdog fails.. remove all the updates * Switch to skopeo (changes/workarounds) * Add a container log file size limit of 10M
1 parent 40d466d commit 01bced9

File tree

17 files changed

+240
-1105
lines changed

17 files changed

+240
-1105
lines changed

meta-jsdelivr/build_conf/local.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ CONF_VERSION = "2"
4545
DISTRO_FEATURES:append = " systemd virtualization "
4646
VIRTUAL-RUNTIME_init_manager = "systemd"
4747
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
48-
IMAGE_INSTALL:append = " jsdelivr-service bash docker mc nano jsdelivr-scripts jsdelivr-basecontainer jsdelivr-configure curl jq parted"
48+
IMAGE_INSTALL:append = " jsdelivr-service bash docker mc nano jsdelivr-scripts jsdelivr-basecontainer jsdelivr-configure curl parted skopeo"
4949
BAD_RECOMMENDATIONS = "rng-tools rng-tools-dev"
5050

5151
hostname:pn-base-files = ""

meta-jsdelivr/recipes-connectivity/openssh/openssh_%.bbappend

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,12 @@ do_install:append () {
88
echo "\tPermitEmptyPasswords yes " >> ${D}${sysconfdir}/ssh/sshd_config_readonly
99
echo "\tAllowTCPForwarding no " >> ${D}${sysconfdir}/ssh/sshd_config_readonly
1010
echo "\tForceCommand /bin/bash -c \"/usr/bin/docker logs globalping-probe -f \" teste190 " >> ${D}${sysconfdir}/ssh/sshd_config_readonly
11+
12+
13+
echo "Match User devlogs " >> ${D}${sysconfdir}/ssh/sshd_config_readonly
14+
echo "\tPasswordAuthentication yes " >> ${D}${sysconfdir}/ssh/sshd_config_readonly
15+
echo "\tPermitEmptyPasswords yes " >> ${D}${sysconfdir}/ssh/sshd_config_readonly
16+
echo "\tAllowTCPForwarding no " >> ${D}${sysconfdir}/ssh/sshd_config_readonly
17+
echo "\tForceCommand /bin/bash -c \"watch cat /tmp/log_collector \" " >> ${D}${sysconfdir}/ssh/sshd_config_readonly
18+
1119
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
do_install:append () {
2-
echo "Global Ping Hardware Probe V1" > ${D}${sysconfdir}/issue
3-
echo "Global Ping Hardware Probe V1" > ${D}${sysconfdir}/issue.net
2+
echo "Global Ping Hardware Probe V2" > ${D}${sysconfdir}/issue
3+
echo "Global Ping Hardware Probe V2" > ${D}${sysconfdir}/issue.net
44
}

0 commit comments

Comments
 (0)