Skip to content

Commit

Permalink
[+] Enable all perms by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas committed Oct 19, 2024
1 parent bba05da commit 709f4fb
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions alpine_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ set +x
#Info
"${FIM_TMPDIR}/alpine.flatimage" fim-env add 'FIM_DIST=alpine' 2>/dev/null
"${FIM_TMPDIR}/alpine.flatimage" fim-env list 2>/dev/null
"${FIM_TMPDIR}/alpine.flatimage" fim-perms add "audio,dbus_user,dbus_system,gpu,home,input,media,network,udev,usb,xorg,wayland"
"${FIM_TMPDIR}/alpine.flatimage" fim-perms list
"${FIM_TMPDIR}/alpine.flatimage" fim-commit
fi
unset ROOTFS_DIR
Expand Down
2 changes: 2 additions & 0 deletions archlinux_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ set +x
#Info
"${FIM_TMPDIR}/archlinux.flatimage" fim-env add 'FIM_DIST=archlinux' 2>/dev/null
"${FIM_TMPDIR}/archlinux.flatimage" fim-env list 2>/dev/null
"${FIM_TMPDIR}/archlinux.flatimage" fim-perms add "audio,dbus_user,dbus_system,gpu,home,input,media,network,udev,usb,xorg,wayland"
"${FIM_TMPDIR}/archlinux.flatimage" fim-perms list
"${FIM_TMPDIR}/archlinux.flatimage" fim-commit
fi
unset ROOTFS_DIR
Expand Down
2 changes: 2 additions & 0 deletions artixlinux_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ set +x
#Info
"${FIM_TMPDIR}/artix.flatimage" fim-env add 'FIM_DIST=artix' 2>/dev/null
"${FIM_TMPDIR}/artix.flatimage" fim-env list 2>/dev/null
"${FIM_TMPDIR}/artix.flatimage" fim-perms add "audio,dbus_user,dbus_system,gpu,home,input,media,network,udev,usb,xorg,wayland"
"${FIM_TMPDIR}/artix.flatimage" fim-perms list
"${FIM_TMPDIR}/artix.flatimage" fim-commit
fi
unset ROOTFS_DIR
Expand Down
2 changes: 2 additions & 0 deletions blueprint_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ set +x
#Info
"${FIM_TMPDIR}/blueprint.flatimage" fim-env add 'FIM_DIST=blueprint' 2>/dev/null
"${FIM_TMPDIR}/blueprint.flatimage" fim-env list 2>/dev/null
"${FIM_TMPDIR}/blueprint.flatimage" fim-perms add "audio,dbus_user,dbus_system,gpu,home,input,media,network,udev,usb,xorg,wayland"
"${FIM_TMPDIR}/blueprint.flatimage" fim-perms list
"${FIM_TMPDIR}/blueprint.flatimage" fim-commit
#Copy
if [[ -f "${FIM_TMPDIR}/blueprint.flatimage" ]] && [[ $(stat -c%s "${FIM_TMPDIR}/blueprint.flatimage") -gt 10000 ]]; then
Expand Down
2 changes: 2 additions & 0 deletions cachyos_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ set +x
#Info
"${FIM_TMPDIR}/cachyos.flatimage" fim-env add 'FIM_DIST=cachyos' 2>/dev/null
"${FIM_TMPDIR}/cachyos.flatimage" fim-env list 2>/dev/null
"${FIM_TMPDIR}/cachyos.flatimage" fim-perms add "audio,dbus_user,dbus_system,gpu,home,input,media,network,udev,usb,xorg,wayland"
"${FIM_TMPDIR}/cachyos.flatimage" fim-perms list
"${FIM_TMPDIR}/cachyos.flatimage" fim-commit
fi
unset ROOTFS_DIR
Expand Down
2 changes: 2 additions & 0 deletions debian_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ set +x
#Info
"${FIM_TMPDIR}/debian.flatimage" fim-env add 'FIM_DIST=debian' 2>/dev/null
"${FIM_TMPDIR}/debian.flatimage" fim-env list 2>/dev/null
"${FIM_TMPDIR}/debian.flatimage" fim-perms add "audio,dbus_user,dbus_system,gpu,home,input,media,network,udev,usb,xorg,wayland"
"${FIM_TMPDIR}/debian.flatimage" fim-perms list
"${FIM_TMPDIR}/debian.flatimage" fim-commit
fi
unset ROOTFS_DIR
Expand Down
2 changes: 2 additions & 0 deletions ubuntu_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ set +x
#Info
"${FIM_TMPDIR}/ubuntu.flatimage" fim-env add 'FIM_DIST=ubuntu' 2>/dev/null
"${FIM_TMPDIR}/ubuntu.flatimage" fim-env list 2>/dev/null
"${FIM_TMPDIR}/ubuntu.flatimage" fim-perms add "audio,dbus_user,dbus_system,gpu,home,input,media,network,udev,usb,xorg,wayland"
"${FIM_TMPDIR}/ubuntu.flatimage" fim-perms list
"${FIM_TMPDIR}/ubuntu.flatimage" fim-commit
fi
unset ROOTFS_DIR
Expand Down
2 changes: 2 additions & 0 deletions void-glibc_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ set +x
#Info
"${FIM_TMPDIR}/void-glibc.flatimage" fim-env add 'FIM_DIST=void-glibc' 2>/dev/null
"${FIM_TMPDIR}/void-glibc.flatimage" fim-env list 2>/dev/null
"${FIM_TMPDIR}/void-glibc.flatimage" fim-perms add "audio,dbus_user,dbus_system,gpu,home,input,media,network,udev,usb,xorg,wayland"
"${FIM_TMPDIR}/void-glibc.flatimage" fim-perms list
"${FIM_TMPDIR}/void-glibc.flatimage" fim-commit
fi
unset ROOTFS_DIR
Expand Down
2 changes: 2 additions & 0 deletions void-musl_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ set +x
#Info
"${FIM_TMPDIR}/void-musl.flatimage" fim-env add 'FIM_DIST=void-musl' 2>/dev/null
"${FIM_TMPDIR}/void-musl.flatimage" fim-env list 2>/dev/null
"${FIM_TMPDIR}/void-musl.flatimage" fim-perms add "audio,dbus_user,dbus_system,gpu,home,input,media,network,udev,usb,xorg,wayland"
"${FIM_TMPDIR}/void-musl.flatimage" fim-perms list
"${FIM_TMPDIR}/void-musl.flatimage" fim-commit
fi
unset ROOTFS_DIR
Expand Down

0 comments on commit 709f4fb

Please sign in to comment.