Skip to content

Commit

Permalink
fix: update shell modules to new vib syntax
Browse files Browse the repository at this point in the history
Signed-off-by: K.B.Dharun Krishna <[email protected]>
  • Loading branch information
kbdharun committed Feb 25, 2025
1 parent 0550a5a commit 11a6a2d
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 43 deletions.
18 changes: 9 additions & 9 deletions modules/00-vanilla-abroot.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: abroot
type: shell
source:
type: tar
url: https://github.com/Vanilla-OS/ABRoot/releases/download/v2.1.1/abrootv2.tar.gz
checksum: 257b31fab1d735c4a833f93a576cdeced2d9cef67cf4da6dc81694be655d9d05
sources:
- type: tar
url: https://github.com/Vanilla-OS/ABRoot/releases/download/v2.1.1/abrootv2.tar.gz
checksum: 257b31fab1d735c4a833f93a576cdeced2d9cef67cf4da6dc81694be655d9d05
commands:
- apt install -y podman golang-github-containers-common patch wget
- mkdir -p /usr/bin
Expand All @@ -12,12 +12,12 @@ commands:
modules:
- name: abroot-manpage
type: shell
source:
type: tar
url: https://github.com/Vanilla-OS/ABRoot/releases/download/v2.1.1/abroot-man.tar.gz
checksum: 2437300bdae0316a17bc2e5fc25d3dd356297ccfc14e70c77fa1a410e20eed65
sources:
- type: tar
url: https://github.com/Vanilla-OS/ABRoot/releases/download/v2.1.1/abroot-man.tar.gz
checksum: 2437300bdae0316a17bc2e5fc25d3dd356297ccfc14e70c77fa1a410e20eed65
commands:
- mv /sources/abroot-manpage/man/man1/abroot.1 /usr/share/man/man1/
- mv /sources/abroot-manpage/man/man1/abroot.1 /usr/share/man/man1/
- name: abroot-deps
type: apt
sources:
Expand Down
8 changes: 4 additions & 4 deletions modules/00-vanilla-apx-stacks.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: apx-stacks
type: shell
source:
type: git
url: https://github.com/Vanilla-OS/vanilla-apx-configs.git
tag: v1.0.0
sources:
- type: git
url: https://github.com/Vanilla-OS/vanilla-apx-configs.git
tag: v1.0.0
commands:
- mkdir -p /usr/share/apx
- mv /sources/apx-stacks/stacks /usr/share/apx/
Expand Down
24 changes: 12 additions & 12 deletions modules/00-vanilla-apx.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
name: apx
type: shell
source:
type: tar
url: https://github.com/Vanilla-OS/apx/releases/download/v2.4.4/apx.tar.gz
checksum: 4b56b253fdb70815ce2407faa0aa22a0ae5ab02a389cb5934b0947c3a767ef45
sources:
- type: tar
url: https://github.com/Vanilla-OS/apx/releases/download/v2.4.4/apx.tar.gz
checksum: 4b56b253fdb70815ce2407faa0aa22a0ae5ab02a389cb5934b0947c3a767ef45
commands:
- mkdir -p /usr/bin
- cp /sources/apx/apx /usr/bin/apx
- chmod +x /usr/bin/apx
modules:
- name: distrobox
type: shell
source:
type: tar
url: https://github.com/89luca89/distrobox/archive/refs/tags/1.8.1.2.tar.gz
checksum: 3ecbce9b8c5b5df941f986798ffa6ea7fdf742223d42204207974c4323d5b9fc
sources:
- type: tar
url: https://github.com/89luca89/distrobox/archive/refs/tags/1.8.1.2.tar.gz
checksum: 3ecbce9b8c5b5df941f986798ffa6ea7fdf742223d42204207974c4323d5b9fc
commands:
- mkdir -p /usr/share/apx
- cp -r /sources/distrobox/distrobox-1.8.1.2 /usr/share/apx/distrobox
- chmod +x /usr/share/apx/distrobox/distrobox*
- sed -E -i 's/.*printf "distrobox.*/echo apx \$(echo ${container_name} | sed "s|apx-||") enter/g' /usr/share/apx/distrobox/distrobox-create
- name: apx-manpage
type: shell
source:
type: tar
url: https://github.com/Vanilla-OS/apx/releases/download/v2.4.4/apx-man.tar.gz
checksum: caa70a0d592e8387cf8e189f9dc1ea2946ac9a44fd5a06747220b75666e81e27
sources:
- type: tar
url: https://github.com/Vanilla-OS/apx/releases/download/v2.4.4/apx-man.tar.gz
checksum: caa70a0d592e8387cf8e189f9dc1ea2946ac9a44fd5a06747220b75666e81e27
commands:
- mv /sources/apx-manpage/man/man1/apx.1 /usr/share/man/man1/
8 changes: 4 additions & 4 deletions modules/00-vanilla-base-files.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: base-files
type: shell
source:
type: file
url: https://github.com/Vanilla-OS/base-files/releases/download/v1.0.0/base-files.deb
checksum: f7235c903242c5c8aa5a584c748700da869481e2ea3de6a3a67dfa92c1f25f5d
sources:
- type: file
url: https://github.com/Vanilla-OS/base-files/releases/download/v1.0.0/base-files.deb
checksum: f7235c903242c5c8aa5a584c748700da869481e2ea3de6a3a67dfa92c1f25f5d
commands:
- dpkg -i /sources/base-files/base-files.deb
- apt -y install -f
Expand Down
8 changes: 4 additions & 4 deletions modules/03-fswarn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type: shell
commands:
- mkdir -p /boot/
- cp /sources/fswarn/fswarn-x86_64.squash /boot/fswarn.squash
source:
type: tar
url: https://github.com/Vanilla-OS/fswarn/releases/download/v1.0-1/fswarn.tar.xz
checksum: 52f66710132138c21b81b56cb2d6edc7e59ad6eef4a4065b81af0f852d827dab
sources:
- type: tar
url: https://github.com/Vanilla-OS/fswarn/releases/download/v1.0-1/fswarn.tar.xz
checksum: 52f66710132138c21b81b56cb2d6edc7e59ad6eef4a4065b81af0f852d827dab
1 change: 0 additions & 1 deletion modules/150-init-executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ commands:
- mv /usr/sbin/init.new /usr/sbin/init
- chmod +x /usr/sbin/init
- chmod +x /usr/share/init.d/*

2 changes: 1 addition & 1 deletion modules/998-podman-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
name: podman-rgistry
type: shell
commands:
- echo "unqualified-search-registries=[\"docker.io\"]" >> /etc/containers/registries.conf
- echo "unqualified-search-registries=[\"docker.io\"]" >> /etc/containers/registries.conf
6 changes: 3 additions & 3 deletions modules/999-remove-grub-files.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: remove-grub-files
type: shell
commands:
- rm /etc/grub.d/05_debian_theme
- rm /etc/grub.d/10_linux
- rm /etc/grub.d/20_linux_xen
- rm /etc/grub.d/05_debian_theme
- rm /etc/grub.d/10_linux
- rm /etc/grub.d/20_linux_xen
2 changes: 1 addition & 1 deletion modules/999-replace-locale-gen.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: replace-locale-gen
type: shell
commands:
- mv /usr/sbin/locale-gen-replacement /usr/sbin/locale-gen
- mv /usr/sbin/locale-gen-replacement /usr/sbin/locale-gen
8 changes: 4 additions & 4 deletions recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ stages:
- name: cleanup1
type: shell
commands:
- apt remove -y dpkg-dev build-essential
- apt autoremove -y
- apt clean
- apt remove -y dpkg-dev build-essential
- apt autoremove -y
- apt clean

- name: polkit-remember-auth
type: shell
commands:
- sed -ie 's/auth_admin/auth_admin_keep/' /usr/share/polkit-1/actions/org.freedesktop.policykit.policy
- sed -ie 's/auth_admin/auth_admin_keep/' /usr/share/polkit-1/actions/org.freedesktop.policykit.policy

- name: fsguard
type: fsguard
Expand Down

0 comments on commit 11a6a2d

Please sign in to comment.