Bluej v542, Arduino IDE 2 testing
This commit is contained in:
parent
58fd458616
commit
c04e753bb9
7 changed files with 52 additions and 5 deletions
|
@ -1,8 +1,11 @@
|
||||||
## This playbook deploys a KDE desktop machine for LinuxMuster.
|
## This playbook deploys a KDE desktop machine for LinuxMuster.
|
||||||
|
# hosts: localhost
|
||||||
|
# remote_user: ansible
|
||||||
|
# become: yes
|
||||||
---
|
---
|
||||||
- name: Update local software cache on netboot Host
|
- name: Update local software cache on netboot Host
|
||||||
hosts: all
|
hosts: localhost
|
||||||
remote_user: ansible
|
connection: local
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
- task-german-kde-desktop
|
- task-german-kde-desktop
|
||||||
- task-kde-desktop
|
- task-kde-desktop
|
||||||
- thonny
|
- thonny
|
||||||
|
- scdaemon
|
||||||
- thunderbird-l10n-de
|
- thunderbird-l10n-de
|
||||||
- vlc
|
- vlc
|
||||||
- vym
|
- vym
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
Name=Arduino IDE2 AppImage
|
Name=Arduino IDE2 AppImage
|
||||||
Comment=Open-source electronics prototyping platform
|
Comment=Open-source electronics prototyping platform
|
||||||
GenericName=Arduino IDE
|
GenericName=Arduino IDE
|
||||||
Exec=/opt/appimages/arduino2/ArduinoIDE2.AppImage %f
|
Exec=unset -v https_proxy http_proxy && . /opt/appimages/arduino2/start-arduino2-appimage %f > /tmp/arduinoAppimage.log 2>&1
|
||||||
Icon=arduino
|
Icon=arduino
|
||||||
Type=Application
|
Type=Application
|
||||||
Terminal=false
|
Terminal=false
|
||||||
|
|
16
roles/lmn_qgsoftware/files/start-arduino2-appimage
Executable file
16
roles/lmn_qgsoftware/files/start-arduino2-appimage
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
echo "---------------------"
|
||||||
|
cachedir=/var/cache/user/${KDE_SESSION_UID}/arduino15
|
||||||
|
echo "Cachedir: $cachedir"
|
||||||
|
echo "---------------------"
|
||||||
|
template=/var/lib/arduino2/template
|
||||||
|
arduinoAppimage=/opt/appimages/arduino2/ArduinoIDE2.AppImage
|
||||||
|
|
||||||
|
mkdir -p $cachedir
|
||||||
|
|
||||||
|
rsync -avr --delete $template/ $cachedir/ > /dev/null 2>&1
|
||||||
|
rm -rf ${HOME}/.arduino15
|
||||||
|
ln -s $cachedir ${HOME}/.arduino15
|
||||||
|
|
||||||
|
$arduinoAppimage $1 &
|
||||||
|
|
||||||
|
|
|
@ -66,6 +66,15 @@
|
||||||
group: root
|
group: root
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
|
- name: Make sure lib dir for template exists
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /var/lib/arduino2
|
||||||
|
state: directory
|
||||||
|
recurse: yes
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: '0755'
|
||||||
|
|
||||||
- name: Download Arduino2 AppImage from Cache
|
- name: Download Arduino2 AppImage from Cache
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "{{ mirror_appimage }}/ArduinoIDE2.AppImage"
|
url: "{{ mirror_appimage }}/ArduinoIDE2.AppImage"
|
||||||
|
@ -80,6 +89,24 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
||||||
|
- name: Copy arduino Appimage start Script to target
|
||||||
|
copy:
|
||||||
|
src: files/start-arduino2-appimage
|
||||||
|
dest: /opt/appimages/arduino2/start-arduino2-appimage
|
||||||
|
mode: '0755'
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
|
||||||
|
- name: Delete arduino15 template
|
||||||
|
ansible.builtin.file:
|
||||||
|
state: absent
|
||||||
|
path: /var/lib/arduino2/template
|
||||||
|
|
||||||
|
- name: Extract up to date arduino15 template to target
|
||||||
|
ansible.builtin.unarchive:
|
||||||
|
src: "{{ mirror_appimage }}/ArduinoIDE2-template.zip"
|
||||||
|
dest: /var/lib/arduino2/
|
||||||
|
remote_src: yes
|
||||||
|
|
||||||
########
|
########
|
||||||
# Prusa Slicer AppImage
|
# Prusa Slicer AppImage
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Create greenfoot/bluej version strings w/o points
|
- name: Create greenfoot/bluej version strings w/o points
|
||||||
set_fact:
|
set_fact:
|
||||||
bluejVersion: "{{ bluej_target_version | replace('.','') }}"
|
bluejVersion: "{{ bluej_target_version | replace('.','.') }}"
|
||||||
greenfootVersion: "{{ greenfoot_target_version | replace('.','') }}"
|
greenfootVersion: "{{ greenfoot_target_version | replace('.','') }}"
|
||||||
|
|
||||||
- name: Get download URIs
|
- name: Get download URIs
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#### Bluej/Greenfoot
|
#### Bluej/Greenfoot
|
||||||
## Bluej/Greenfoot Versionen
|
## Bluej/Greenfoot Versionen
|
||||||
## Für Updates anpassen
|
## Für Updates anpassen
|
||||||
bluej_target_version: "5.4.1"
|
bluej_target_version: "5.4.2"
|
||||||
greenfoot_target_version: "3.9.0"
|
greenfoot_target_version: "3.9.0"
|
||||||
## --
|
## --
|
||||||
greenfoot_src_uri: https://www.greenfoot.org/download/files/Greenfoot-linux-x64-VERSION.deb
|
greenfoot_src_uri: https://www.greenfoot.org/download/files/Greenfoot-linux-x64-VERSION.deb
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue