Skip to content

Commit 014c395

Browse files
openhabianopenhabian
openhabian
authored and
openhabian
committed
debug 7 build
Signed-off-by: openhabian <openhabian@openHABian>
1 parent 86709a7 commit 014c395

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

build-image/offline-install-modifications.bash

+8-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ set -x
55
export BASEDIR="/opt/openhabian"
66
export DEBIAN_FRONTEND="noninteractive"
77
export PREOFFLINE="1"
8+
debfileurl="https://davesteele.github.io/comitup/deb"
9+
debfile="davesteele-comitup-apt-source"
10+
debfilelatest="latest.deb"
11+
debfilestatic="1.2_all.deb"
812
comitupurl=https://davesteele.github.io/comitup/deb/
913
comitupfile=davesteele-comitup-apt-source_1.2_all.deb
1014
comituprepofile=/etc/apt/sources.d/comitup.list
@@ -14,8 +18,10 @@ add_keys "https://openhab.jfrog.io/artifactory/api/gpg/key/public" "openhab"
1418
echo "deb [signed-by=/usr/share/keyrings/openhab.gpg] https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main" > /etc/apt/sources.list.d/openhab.list
1519

1620
# comitup hotspot
17-
wget -nv "${comitupurl}/$comitupfile"
18-
dpkg -i --force-all "$comitupfile"
21+
#wget -nv "${comitupurl}/$comitupfile"
22+
#dpkg -i --force-all "$comitupfile"
23+
wget -nv "${debfileurl}/${debfile}_${debfilelatest}" || wget -nv "${debfileurl}/${debfile}_${debfilestatic}"
24+
dpkg -i --force-all "${debfile}*.deb"
1925
rm -f "$comitupfile"
2026
if [[ ! -f ${comituprepofile} ]]; then
2127
#echo "deb http://davesteele.github.io/comitup/repo comitup main" > $comituprepofile

functions/wifi.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ configure_wifi() {
122122

123123

124124
setup_hotspot() {
125-
local debfileurl="https://davesteele.github.io/comitup/latest"
125+
local debfileurl="https://davesteele.github.io/comitup/deb"
126126
local debfile="davesteele-comitup-apt-source"
127127
#local debfile="davesteele-comitup-apt-source_1.2_all.deb"
128128
local debfilelatest="latest.deb"

0 commit comments

Comments
 (0)