Last active
January 11, 2024 21:00
-
-
Save guitarpicva/5de25ffab45e85ea4b54a297a7a8c85b to your computer and use it in GitHub Desktop.
Multipass cloud-init file for making a Qt6.4.2 dev system on Ubuntu 23.10 (mantic) First comment is how to make the multipath call.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#multipass -vv launch --name default --cloud-init ubuntu23ci.txt -c 2 -m 4G mantic --bridged --timeout 500 | |
# When cloud-init is used to make a custom image, it is accomplished as the root user, so if | |
# permissions or ownership of files is important later, it should be adjusted as required here. | |
users: | |
- default | |
package_update: true | |
package_upgrade: true | |
packages: | |
- cmake | |
- nano | |
- net-tools | |
- build-essential | |
- qt6-base-dev | |
- qt6-base-private-dev | |
- libqt6websockets6-dev | |
- libqt6serialport6-dev | |
# run commands | |
# default: none | |
runcmd: | |
- mkdir /home/ubuntu/src | |
- cd /home/ubuntu/src | |
- git clone https://github.com/qt/qtmqtt -b 6.4.2 | |
- cd qtmqtt | |
- mkdir build | |
- cd build | |
- cmake .. | |
- make -j3 | |
- make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment