add an APT repo to a new machine and bootstrap from a package
- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .forgejo/workflows | ||
| .gitignore | ||
| README.md | ||
| toaster.sh | ||
TLDR;
On a machine to be toasted, create a file /tmp/toaster.env
APT_URI="your forgejo instance here"
APT_TOKEN="forgejo token with package read permissions"
APT_OWNER="forgejo owner of packages (username or organization)"
APT_PACKAGE="the package name of your hmi with dependencies as required for your plc program"
run curl https://sovereignza.github.io/toaster/toaster.sh | sudo bash
Connect a forgejo debian repository to a new machine and pull a package. Probably with dependencies. Let's aptitude do all of the dependency management stuff, probably including other repositories for dependencies. You may need to change stable and main in the toaster.sh to match your distribution and components. This was inspired by all of the toasters I have written.