aboutsummaryrefslogtreecommitdiffhomepage
path: root/CorOS-dev-environment
diff options
context:
space:
mode:
authorThomas Van Iseghem <[email protected]>2023-05-23 22:17:08 +0200
committerThomas Van Iseghem <[email protected]>2023-05-23 22:17:08 +0200
commit44861c382a962d4151e8965766fb2d47cb91859e (patch)
tree7e5ebb23f0059993bebbb49494a94311eea3c094 /CorOS-dev-environment
parent8f714fc993e84ac8e973df872d07f0b1c6e1077f (diff)
downloadOpenCortex-44861c382a962d4151e8965766fb2d47cb91859e.tar.gz
OpenCortex-44861c382a962d4151e8965766fb2d47cb91859e.zip
Added port forward for VNC and QT font symlink
Diffstat (limited to 'CorOS-dev-environment')
-rw-r--r--CorOS-dev-environment/CorOS-build-env/docker-compose.yaml4
-rw-r--r--CorOS-dev-environment/CorOS-emulation/docker-compose.yaml4
-rw-r--r--CorOS-dev-environment/install_qt_compiled.sh5
3 files changed, 12 insertions, 1 deletions
diff --git a/CorOS-dev-environment/CorOS-build-env/docker-compose.yaml b/CorOS-dev-environment/CorOS-build-env/docker-compose.yaml
index 6abd5da..3f4c9d6 100644
--- a/CorOS-dev-environment/CorOS-build-env/docker-compose.yaml
+++ b/CorOS-dev-environment/CorOS-build-env/docker-compose.yaml
@@ -17,5 +17,9 @@ services:
# Edit this to your needs. This should be just the file name, not the path.
- UPDATE_FILE=verify.bin.gz
+ # Port forward the VNC port
+ ports:
+ - "5900:5900"
+
privileged: true
entrypoint: /bin/bash -c "while true; do sleep 1; done" \ No newline at end of file
diff --git a/CorOS-dev-environment/CorOS-emulation/docker-compose.yaml b/CorOS-dev-environment/CorOS-emulation/docker-compose.yaml
index f83534c..c3321f3 100644
--- a/CorOS-dev-environment/CorOS-emulation/docker-compose.yaml
+++ b/CorOS-dev-environment/CorOS-emulation/docker-compose.yaml
@@ -16,6 +16,10 @@ services:
environment:
# Edit this to your needs. This should be just the file name, not the path.
- UPDATE_FILE=verify.bin.gz
+
+ # Port forward the VNC port
+ ports:
+ - "5900:5900"
privileged: true
entrypoint: /bin/bash -c "while true; do sleep 1; done" \ No newline at end of file
diff --git a/CorOS-dev-environment/install_qt_compiled.sh b/CorOS-dev-environment/install_qt_compiled.sh
index 2094de0..a759bd3 100644
--- a/CorOS-dev-environment/install_qt_compiled.sh
+++ b/CorOS-dev-environment/install_qt_compiled.sh
@@ -5,4 +5,7 @@ rm qt-compiled-4.8.7.tar.gz
cp -a QtEmbedded-4.8.7-arm/lib/. $QEMU_LD_PREFIX/usr/lib/
cp -a QtEmbedded-4.8.7-arm/bin/. $QEMU_LD_PREFIX/usr/bin/
-QT_QWS_FONTDIR=/etc/fonts \ No newline at end of file
+QT_QWS_FONTDIR=$QEMU_LD_PREFIX/etc/fonts
+
+mkdir -p $QEMU_LD_PREFIX/usr/local/Trolltech/QtEmbedded-4.8.7-arm/lib/fonts
+ln -s $QT_QWS_FONTDIR $QEMU_LD_PREFIX/usr/local/Trolltech/QtEmbedded-4.8.7-arm/lib/fonts \ No newline at end of file