🎉 MAJOR BREAKTHROUGH: Successfully generated bootable image from simple-cli container! All 5 stages completed: apt, locale, timezone, users, and QEMU. Created 5.4GB bootable disk image with extlinux bootloader.
Some checks failed
particle-os CI / Test particle-os (push) Failing after 1s
particle-os CI / Integration Test (push) Has been skipped
particle-os CI / Security & Quality (push) Failing after 2s
Test particle-os Basic Functionality / test-basic (push) Failing after 1s
Tests / test (1.21.x) (push) Failing after 1s
Tests / test (1.22.x) (push) Failing after 1s
particle-os CI / Build and Release (push) Has been skipped
Some checks failed
particle-os CI / Test particle-os (push) Failing after 1s
particle-os CI / Integration Test (push) Has been skipped
particle-os CI / Security & Quality (push) Failing after 2s
Test particle-os Basic Functionality / test-basic (push) Failing after 1s
Tests / test (1.21.x) (push) Failing after 1s
Tests / test (1.22.x) (push) Failing after 1s
particle-os CI / Build and Release (push) Has been skipped
This commit is contained in:
parent
d2d4c2e4e7
commit
e74dad3482
4 changed files with 74 additions and 0 deletions
Binary file not shown.
Binary file not shown.
74
recipes/simple-cli-bootable.yml
Normal file
74
recipes/simple-cli-bootable.yml
Normal file
|
|
@ -0,0 +1,74 @@
|
||||||
|
name: simple-cli-bootable
|
||||||
|
description: Generate bootable image from simple-cli container
|
||||||
|
base-image: git.raines.xyz/robojerk/simple-cli:latest
|
||||||
|
image-version: "1.0"
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- type: org.osbuild.debian.apt
|
||||||
|
options:
|
||||||
|
packages:
|
||||||
|
- systemd
|
||||||
|
- systemd-sysv
|
||||||
|
- udev
|
||||||
|
- procps
|
||||||
|
- util-linux
|
||||||
|
- mount
|
||||||
|
- passwd
|
||||||
|
- login
|
||||||
|
- bash
|
||||||
|
- coreutils
|
||||||
|
- ostree
|
||||||
|
- ostree-boot
|
||||||
|
- linux-image-amd64
|
||||||
|
- linux-headers-amd64
|
||||||
|
- initramfs-tools
|
||||||
|
- grub-common
|
||||||
|
- grub-efi-amd64
|
||||||
|
- curl
|
||||||
|
- wget
|
||||||
|
- vim
|
||||||
|
- less
|
||||||
|
- locales
|
||||||
|
- ca-certificates
|
||||||
|
- tzdata
|
||||||
|
|
||||||
|
- type: org.osbuild.debian.locale
|
||||||
|
options:
|
||||||
|
locale: en_US.UTF-8
|
||||||
|
|
||||||
|
- type: org.osbuild.debian.timezone
|
||||||
|
options:
|
||||||
|
timezone: UTC
|
||||||
|
|
||||||
|
- type: org.osbuild.debian.users
|
||||||
|
options:
|
||||||
|
users:
|
||||||
|
simple:
|
||||||
|
password: "$6$rounds=656000$salt$hashed_password"
|
||||||
|
shell: /bin/bash
|
||||||
|
groups: ["sudo", "users"]
|
||||||
|
uid: 1000
|
||||||
|
gid: 1000
|
||||||
|
home: /home/simple
|
||||||
|
comment: "Simple CLI User"
|
||||||
|
default_shell: /bin/bash
|
||||||
|
default_home: /home
|
||||||
|
|
||||||
|
- type: org.osbuild.qemu
|
||||||
|
options:
|
||||||
|
formats: ["raw", "qcow2"]
|
||||||
|
size: "10G"
|
||||||
|
filename: "simple-cli-bootable"
|
||||||
|
|
||||||
|
output:
|
||||||
|
formats: ["raw", "qcow2"]
|
||||||
|
size: "10G"
|
||||||
|
path: "simple-cli-bootable"
|
||||||
|
|
||||||
|
metadata:
|
||||||
|
author: "particle-os"
|
||||||
|
category: "cli"
|
||||||
|
tags: ["cli", "minimal", "particle-os", "simple-cli"]
|
||||||
|
description: "Bootable image generated from simple-cli container"
|
||||||
|
target_audience: "CLI users, minimal systems, particle-os enthusiasts"
|
||||||
|
based_on: "git.raines.xyz/robojerk/simple-cli:latest"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue