From 44861c382a962d4151e8965766fb2d47cb91859e Mon Sep 17 00:00:00 2001 From: Thomas Van Iseghem Date: Tue, 23 May 2023 22:17:08 +0200 Subject: Added port forward for VNC and QT font symlink --- CorOS-dev-environment/CorOS-build-env/docker-compose.yaml | 4 ++++ CorOS-dev-environment/CorOS-emulation/docker-compose.yaml | 4 ++++ CorOS-dev-environment/install_qt_compiled.sh | 5 ++++- 3 files changed, 12 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3