feat: add ubuntu image
This commit is contained in:
parent
b4c70c48c7
commit
a4c8b144c5
3 changed files with 17 additions and 17 deletions
|
|
@ -7,16 +7,9 @@ modules:
|
|||
bash -s <<< "$cmd"
|
||||
done
|
||||
|
||||
stages:
|
||||
- module: exec
|
||||
inputs:
|
||||
- |
|
||||
git clone --revision 5ec321bcb0a1019d6e64ad66e3dc55b5f1248e50 --depth 1 https://git.ruds.io/rs2009/akshara /akshara
|
||||
cd /akshara
|
||||
cp -a usr/lib/akshara /usr/lib/akshara
|
||||
cp -a usr/lib/dracut/modules.d/10akshara /usr/lib/dracut/modules.d/10akshara
|
||||
cp usr/bin/akshara /usr/bin/akshara
|
||||
- rm -rf /akshara
|
||||
needs-update:
|
||||
- |
|
||||
[[ "$(cat /usr/revision)" == "$(skopeo inspect "$IMAGE_NAME" | jq '.Labels."org.opencontainers.image.revision" // "none"' -Mcrj)" ]]
|
||||
|
||||
override:
|
||||
- path: /var/cache/blendOS/
|
||||
|
|
@ -62,8 +55,5 @@ distro-config:
|
|||
systemd-nspawn -D . locale-gen &>/dev/null
|
||||
systemd-nspawn -D . dracut --force --regenerate-all
|
||||
|
||||
should-update: |
|
||||
[[ "$(cat /usr/revision)" == "$(skopeo inspect "$IMAGE_NAME" | jq '.Labels."org.opencontainers.image.revision" // "none"' -Mcrj)" ]]
|
||||
|
||||
env:
|
||||
IMAGE_NAME: ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue