feat: use custom ubuntu image
This commit is contained in:
parent
70c90c3cd9
commit
946e4e4743
3 changed files with 10 additions and 24 deletions
|
|
@ -38,7 +38,7 @@ stages:
|
|||
- module: exec
|
||||
inputs:
|
||||
- |
|
||||
git clone --revision 6e2670db89101219fc2f6bfc8be74c556147cdd1 --depth 1 https://git.ruds.io/rs2009/akshara /akshara
|
||||
git clone --revision 8579f58f68893c2baaafc21764e9f61d1fb35c45 --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
|
||||
|
|
|
|||
2
oci.yaml
2
oci.yaml
|
|
@ -9,7 +9,7 @@ modules:
|
|||
|
||||
needs-update:
|
||||
- |
|
||||
[[ "$(cat /usr/revision)" == "$(skopeo inspect "$IMAGE_NAME" | jq '.Labels."org.opencontainers.image.revision" // "none"' -Mcrj)" ]]
|
||||
[[ "$(cat /usr/revision)" != "$(skopeo inspect "$IMAGE_NAME" | jq '.Labels."org.opencontainers.image.revision" // "none"' -Mcrj)" ]]
|
||||
|
||||
override:
|
||||
- path: /var/cache/blendOS/
|
||||
|
|
|
|||
30
ubuntu.yaml
30
ubuntu.yaml
|
|
@ -19,36 +19,22 @@ stages:
|
|||
Dir::Cache::Archives /var/cache/blendOS/ubuntu/apt;
|
||||
EOF
|
||||
|
||||
- module: apt-install
|
||||
inputs:
|
||||
- python3
|
||||
- python3-click
|
||||
- python3-requests
|
||||
- python3-fasteners
|
||||
- umoci
|
||||
- skopeo
|
||||
- jq
|
||||
- git
|
||||
- sudo
|
||||
- pacman
|
||||
- linux-generic
|
||||
- systemd
|
||||
- systemd-container
|
||||
- locales
|
||||
- grub2-common
|
||||
- ubuntu-standard
|
||||
- dracut
|
||||
|
||||
- module: exec
|
||||
inputs:
|
||||
- |
|
||||
git clone --revision 6e2670db89101219fc2f6bfc8be74c556147cdd1 --depth 1 https://git.ruds.io/rs2009/akshara /akshara
|
||||
git clone --revision 8579f58f68893c2baaafc21764e9f61d1fb35c45 --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
|
||||
|
||||
post-stages:
|
||||
- module: exec
|
||||
inputs:
|
||||
- locale-gen
|
||||
- dracut --force --regenerate-all
|
||||
|
||||
override:
|
||||
- path: /var/lib/dpkg/
|
||||
keep: new
|
||||
|
|
@ -66,4 +52,4 @@ override:
|
|||
keep: old
|
||||
|
||||
env:
|
||||
IMAGE_NAME: docker://docker.io/library/ubuntu:rolling
|
||||
IMAGE_NAME: docker://ghcr.io/rudraswat/ubuntu-rolling-gnome
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue