-
-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hi think we chatted on another platform regarding fuse-t and anylinuxfs some time ago. I really like this project there are a couple of show stoppers for me personally which I should be able to overcome with custom actions. I think people could submit them to become apart of the project and/or may be there should be a repository and command arguments to treatment like a packages.
example commands:
- list database of packages
- list installed
- upgrade
- install
- uninstall
example custom actions
> cat /opt/homebrew/etc/anylinuxfs.toml
[custom_actions.ubuntu_zfs_unlock]
description = "Mount ZFS keystore encrypted with LUKS to unlock Ubuntu system disk"
before_mount = "cryptsetup open /dev/zd0 ks0 && mkdir -p $KS && mount /dev/mapper/ks0 $KS"
after_mount = ""
before_unmount = "umount /dev/mapper/ks0 && cryptsetup close ks0"
environment = ["KS=/run/keystore/rpool"]
capture_environment = []
override_nfs_export = ""I think there should be a url setting added to custom actions for a source of help/tutorial/instructions/documentation regarding the action
documentation_url
I also think there is a need for install and uninstall options as well.
install = “apt add package or run setup script”
uninstall = “apt remove package or run uninstall script"
At the moment I think apt can deal with dependences, however, there is always the option to check etc via scripts.