Install ramalama and make framework desktop recipe
This commit is contained in:
@@ -77,7 +77,6 @@ legacy-build-images:
|
|||||||
matrix:
|
matrix:
|
||||||
- RECIPE:
|
- RECIPE:
|
||||||
- wke-server.yml
|
- wke-server.yml
|
||||||
- wke-worker.yml
|
|
||||||
|
|
||||||
build-images:
|
build-images:
|
||||||
extends:
|
extends:
|
||||||
@@ -85,13 +84,14 @@ build-images:
|
|||||||
stage: build
|
stage: build
|
||||||
variables:
|
variables:
|
||||||
BB_BUILD_PUSH: 'true'
|
BB_BUILD_PUSH: 'true'
|
||||||
# TAG: 340-feat-multiarch
|
|
||||||
needs:
|
needs:
|
||||||
- job: base-images
|
- job: base-images
|
||||||
optional: true
|
optional: true
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- RECIPE:
|
- RECIPE:
|
||||||
|
- wke-worker.yml
|
||||||
|
- wke-fw-desktop.yml
|
||||||
- cp-laptop.yml
|
- cp-laptop.yml
|
||||||
- jp-desktop-nvidia.yml
|
- jp-desktop-nvidia.yml
|
||||||
- jp-laptop.yml
|
- jp-laptop.yml
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
kargs = [
|
|
||||||
"rd.driver.blacklist=nouveau",
|
|
||||||
"modprobe.blacklist=nouveau",
|
|
||||||
"nvidia-drm.modeset=1",
|
|
||||||
"nvidia-drm.fbdev=1"
|
|
||||||
]
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -eou pipefail
|
|
||||||
|
|
||||||
# Version number
|
|
||||||
VERSION="2023.1.2"
|
|
||||||
|
|
||||||
# Download https://download.jetbrains.com/idea/ideaIC-${VERSION}.tar.gz
|
|
||||||
curl -L -o /tmp/ideaIC-${VERSION}.tar.gz https://download.jetbrains.com/idea/ideaIC-${VERSION}.tar.gz
|
|
||||||
|
|
||||||
# Extract to /usr/opt
|
|
||||||
mkdir -p /usr/opt
|
|
||||||
tar -xzf /tmp/ideaIC-${VERSION}.tar.gz -C /usr/opt
|
|
||||||
|
|
||||||
# Find the full path to the IntelliJ directory
|
|
||||||
IDEA_PATH=$(ls -d /usr/opt/idea-IC-*)
|
|
||||||
|
|
||||||
# Create .desktop file
|
|
||||||
cat > /tmp/intellij.desktop <<EOL
|
|
||||||
[Desktop Entry]
|
|
||||||
Version=1.0
|
|
||||||
Type=Application
|
|
||||||
Name=IntelliJ IDEA Community Edition
|
|
||||||
Icon=$IDEA_PATH/bin/idea.png
|
|
||||||
Exec="$IDEA_PATH/bin/idea.sh" %f
|
|
||||||
Terminal=false
|
|
||||||
Categories=Development;IDE;
|
|
||||||
EOL
|
|
||||||
|
|
||||||
# Make the application available to all users
|
|
||||||
sudo mv /tmp/intellij.desktop /usr/share/applications/
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -eou pipefail
|
|
||||||
|
|
||||||
# Version number
|
|
||||||
VERSION="2023.1.2"
|
|
||||||
|
|
||||||
# Download https://download.jetbrains.com/ruby/RubyMine-2023.1.2.tar.gz
|
|
||||||
curl -L -o /tmp/RubyMine-${VERSION}.tar.gz https://download.jetbrains.com/ruby/RubyMine-${VERSION}.tar.gz
|
|
||||||
|
|
||||||
# Extract to /usr/opt
|
|
||||||
mkdir -p /usr/opt
|
|
||||||
tar -xzf /tmp/RubyMine-${VERSION}.tar.gz -C /usr/opt
|
|
||||||
|
|
||||||
# Find the full path to the RubyMine directory
|
|
||||||
RUBYMINE_PATH=$(ls -d /usr/opt/RubyMine-*)
|
|
||||||
|
|
||||||
# Create .desktop file
|
|
||||||
cat > /tmp/rubymine.desktop <<EOL
|
|
||||||
[Desktop Entry]
|
|
||||||
Version=1.0
|
|
||||||
Type=Application
|
|
||||||
Name=RubyMine
|
|
||||||
Icon=$RUBYMINE_PATH/bin/rubymine.png
|
|
||||||
Exec="$RUBYMINE_PATH/bin/rubymine.sh" %f
|
|
||||||
Terminal=false
|
|
||||||
Categories=Development;IDE;
|
|
||||||
EOL
|
|
||||||
|
|
||||||
# Make the application available to all users
|
|
||||||
sudo mv /tmp/rubymine.desktop /usr/share/applications/
|
|
||||||
4
justfile
4
justfile
@@ -1,5 +1,8 @@
|
|||||||
export BB_REGISTRY := "registry.gitlab.com"
|
export BB_REGISTRY := "registry.gitlab.com"
|
||||||
export BB_REGISTRY_NAMESPACE := "wunker-bunker/wunker-os"
|
export BB_REGISTRY_NAMESPACE := "wunker-bunker/wunker-os"
|
||||||
|
export BB_GENISO_SECURE_BOOT_URL := "https://gitlab.com/wunker-bunker/wunker-os/-/raw/main/files/base/etc/pki/akmods/certs/akmods-wunker-bunker.der"
|
||||||
|
export BB_GENISO_ENROLLMENT_PASSWORD := "wunker"
|
||||||
|
export BB_GENISO_VARIANT := "kinoite"
|
||||||
|
|
||||||
generate-iso recipe tag="latest":
|
generate-iso recipe tag="latest":
|
||||||
#!/usr/bin/env nu
|
#!/usr/bin/env nu
|
||||||
@@ -15,7 +18,6 @@ generate-iso recipe tag="latest":
|
|||||||
generate-iso
|
generate-iso
|
||||||
--iso-name $'($name).iso'
|
--iso-name $'($name).iso'
|
||||||
--output-dir .iso/
|
--output-dir .iso/
|
||||||
--variant kinoite
|
|
||||||
image $image)
|
image $image)
|
||||||
|
|
||||||
generate-secureboot-key:
|
generate-secureboot-key:
|
||||||
|
|||||||
@@ -19,6 +19,12 @@ modules:
|
|||||||
files:
|
files:
|
||||||
- source: nvidia
|
- source: nvidia
|
||||||
destination: /
|
destination: /
|
||||||
|
- type: kargs
|
||||||
|
kargs:
|
||||||
|
- rd.driver.blacklist=nouveau
|
||||||
|
- modprobe.blacklist=nouveau
|
||||||
|
- nvidia-drm.modeset=1
|
||||||
|
- nvidia-drm.fbdev=1
|
||||||
- type: script
|
- type: script
|
||||||
snippets:
|
snippets:
|
||||||
- cp /usr/lib/modprobe.d/nvidia-modeset.conf /etc/modprobe.d/nvidia-modeset.conf
|
- cp /usr/lib/modprobe.d/nvidia-modeset.conf /etc/modprobe.d/nvidia-modeset.conf
|
||||||
|
|||||||
@@ -26,6 +26,10 @@ stages:
|
|||||||
modules:
|
modules:
|
||||||
- from-file: common/jp-desktop.yml
|
- from-file: common/jp-desktop.yml
|
||||||
- from-file: common/helix.yml
|
- from-file: common/helix.yml
|
||||||
|
- type: dnf
|
||||||
|
install:
|
||||||
|
packages:
|
||||||
|
- ramalama
|
||||||
# - type: copy
|
# - type: copy
|
||||||
# from: cosmic-comp
|
# from: cosmic-comp
|
||||||
# src: /out/cosmic-comp
|
# src: /out/cosmic-comp
|
||||||
|
|||||||
19
recipes/wke-fw-desktop.yml
Normal file
19
recipes/wke-fw-desktop.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
||||||
|
name: wke
|
||||||
|
base-image: registry.gitlab.com/wunker-bunker/wunker-os/base
|
||||||
|
image-version: 42
|
||||||
|
description: The image of Wunker OS for RKE2 Worker
|
||||||
|
alt-tags:
|
||||||
|
- fw-desktop
|
||||||
|
modules:
|
||||||
|
- type: kargs
|
||||||
|
kargs:
|
||||||
|
- amd_iommu=off
|
||||||
|
- amdttm.pages_limit=27648000
|
||||||
|
- amdttm.page_pool_size=13824000
|
||||||
|
- from-file: common/wke.yml
|
||||||
|
- type: script
|
||||||
|
snippets:
|
||||||
|
- curl -sfL https://get.rke2.io | INSTALL_RKE2_TYPE=agent INSTALL_RKE2_SKIP_RELOAD=true sh
|
||||||
|
- from-file: common/post-build.yml
|
||||||
Reference in New Issue
Block a user