Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
chore!: remove autorun.sh
Browse files Browse the repository at this point in the history
i think the existence of multiple built-in ways to add scripts
makes it more complicated,
and paradoxically, autorun was made to uncomplicate things

with the removal of clear "pre" and "post" hooks,
only a linear list of modules, the filesystem-based method
is ever more complicated

if such a feature is ever wanted again,
it should be implemented inside the script module
  • Loading branch information
xynydev committed Aug 26, 2023
1 parent bca8b81 commit 9e301ce
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 53 deletions.
5 changes: 0 additions & 5 deletions config/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,12 @@ base-image: ghcr.io/ublue-os/silverblue-main
image-version: 38

modules:
- type: script
scripts:
- autorun.sh pre

- from-file: common-packages.yml # paths relative to "config" directory

- type: script
scripts:
# this sets up the proper policy & signing files for signed images to work
- signing.sh
- autorun.sh post

- type: yafti # no need for an enable-disable key, inclusion implicitly enables
# config: yafti.yml # if not specified, would use a default config TODO
Expand Down
48 changes: 0 additions & 48 deletions config/scripts/autorun.sh

This file was deleted.

Empty file removed config/scripts/post/.gitkeep
Empty file.
Empty file removed config/scripts/pre/.gitkeep
Empty file.

0 comments on commit 9e301ce

Please sign in to comment.