Skip to content

Commit

Permalink
fix: poweroff,shutdown and reboot not executable
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin authored Jan 18, 2024
1 parent 4a78dbe commit 43f5d2a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,23 @@ modules:
- ln -s /usr/bin/host-shell /usr/bin/apx
- ln -s /usr/bin/host-shell /usr/bin/ikaros
- ln -s /usr/bin/host-shell /usr/bin/vanilla-sideload
- chmod +x /usr/bin/abroot
- chmod +x /usr/bin/ikaros
- chmod +x /usr/bin/vanilla-sideload

- rm /usr/sbin/shutdown
- rm /usr/sbin/reboot
- rm /usr/sbin/poweroff
- ln -s /usr/bin/host-shell /usr/sbin/shutdown
- ln -s /usr/bin/host-shell /usr/sbin/reboot
- ln -s /usr/bin/host-shell /usr/sbin/poweroff
- sh /usr/share/apx/distrobox/gen-distrobox-links
- chmod +x /usr/sbin/shutdown
- chmod +x /usr/sbin/reboot
- chmod +x /usr/sbin/poweroff

- chmod +x /usr/bin/os-shell
- chmod +x /usr/bin/host-shell
- chmod +x /usr/bin/abroot
- sh /usr/share/apx/distrobox/gen-distrobox-links

- name: cleanup
type: shell
Expand Down

0 comments on commit 43f5d2a

Please sign in to comment.