Fixing ubuntu image boot up issue. (#133)

* Fixing ubuntu image boot up issue.

* Adding ubuntu to CI workflow

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Fixing the sudoers file

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Update overlay/files-ubuntu/etc/elemental/config.yaml

Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Update overlay/files-ubuntu/etc/elemental/config.yaml

Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Update overlay/files-ubuntu/etc/elemental/config.yaml

Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Update 11_persistency.yaml

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Create 06_rootfs.yaml

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Fixing the kernel for Ubuntu

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Making partition size bigger for amd arch

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* ARM config file for partition sizes

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* 🤖 Adapt tests for ubuntu output

* ⚙️ Increase default size on ubuntu images

* 🤖 Increase default test images disk size

* Update build_vm.sh

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Adding jq to ubuntu image, needed for stylus

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Update bootargs.cfg

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* ♻️ Drop workaround

* Ubuntu VM needs to be started with OS type flag

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

Signed-off-by: vipsharm <sharma.vipin@gmail.com>
Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
vipsharm 2022-09-20 18:16:24 -07:00 committed by Itxaka
parent 5e0a938a5f
commit b880a0c471

View File

@ -15,8 +15,11 @@ END
ARG COSIGN_SKIP=".*quay.io/kairos/.*"
# TODO: This should match for each flavor
ARG COSIGN_REPOSITORY=raccos/releases-teal
IF [ "$FLAVOR" = "ubuntu" ]
ARG COSIGN_REPOSITORY=raccos/releases-orange
ELSE
ARG COSIGN_REPOSITORY=raccos/releases-teal
END
ARG COSIGN_EXPERIMENTAL=0
ARG CGO_ENABLED=0
ARG ELEMENTAL_IMAGE=quay.io/costoolkit/elemental-cli:v0.0.15-8a78e6b
@ -148,7 +151,7 @@ framework:
ENV USER=root
IF [ "$WITH_KERNEL" = "true" ] || [ "$FLAVOR" = "alpine" ] || [ "$FLAVOR" = "fedora" ] || [ "$FLAVOR" = "rockylinux" ] || [ "$FLAVOR" = "ubuntu" ] || [ "$FLAVOR" = "alpine-arm-rpi" ]
IF [ "$WITH_KERNEL" = "true" ] || [ "$FLAVOR" = "alpine" ] || [ "$FLAVOR" = "fedora" ] || [ "$FLAVOR" = "rockylinux" ] || [ "$FLAVOR" = "alpine-arm-rpi" ]
RUN /usr/bin/luet install -y --system-target /framework \
meta/cos-verify \
meta/cos-core \