Skip to content

Commit

Permalink
Enhancemement/add support for system upgrade (#388)
Browse files Browse the repository at this point in the history
* mount rootfs rw before program installation

* Update system update branch
  • Loading branch information
eliasbakken authored Oct 27, 2023
1 parent 775b3fa commit 79e60ef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion roles/install_moonraker/files/moonraker.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trusted_clients:

# this enables moonraker's update manager
[update_manager]
enable_system_updates: False
enable_system_updates: True

#[update_manager mainsail]
#type: web
Expand Down
2 changes: 2 additions & 0 deletions roles/linux_preparation/files/100update
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DPkg::Pre-Invoke {"mount -o remount,rw /boot";};
DPkg::Post-Invoke {"mount -o remount,ro /boot";};
6 changes: 6 additions & 0 deletions roles/linux_preparation/tasks/recore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,9 @@
daemon-reload: true
enabled: true
name: cpufreq

- name: Recore - add support for system upgrade
copy:
src: 100update
dest: /etc/apt/apt.conf.d/100update
mode: '0644'

0 comments on commit 79e60ef

Please sign in to comment.