Skip to content

Commit b53dc88

Browse files
committed
feat: abroot image migration
1 parent 3cbde97 commit b53dc88

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
url=$(jq -r '.registry + "/" + .name + ":" + .tag' /etc/abroot/abroot.json)
4+
if [ $url = "ghcr.io/vanilla-os/nvidia-exp:main" ]; then
5+
abroot rebase ghcr.io/vanilla-os/gnome-nvidia-open:latest --rebase-only
6+
fi

includes.container/usr/share/abroot/abroot.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"registry": "ghcr.io",
66
"registryService": "registry.ghcr.io",
77
"registryAPIVersion": "v2",
8-
"name": "vanilla-os/nvidia-exp",
9-
"tag": "main",
8+
"name": "vanilla-os/gnome-nvidia-open",
9+
"tag": "latest",
1010

1111
"iPkgMngPre": "lpkg --unlock",
1212
"iPkgMngPost": "lpkg --lock",

0 commit comments

Comments
 (0)