init repo

This commit is contained in:
Neil Hanlon 2023-11-15 11:55:14 -07:00
commit c0c3c490b1
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
13 changed files with 60 additions and 0 deletions

9
.envrc Normal file
View File

@ -0,0 +1,9 @@
source_up_if_exists
export ELEMENTS_PATH="$PWD/elements"
export TMP_DIR="$PWD/tmp"
export TMPDIR="${TMP_DIR}"
#layout python3

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
__pycache__
*.pyc
tmp/*

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "diskimage-builder"]
path = diskimage-builder
url = https://git.resf.org/sig_cloud/diskimage-builder

7
9-minimal.yml Normal file
View File

@ -0,0 +1,7 @@
- imagename: output.qcow
elements: [vm, block-device-gpt, rocky-minimal]
arch: ppc64le
debug-trace: 1
environment:
DIB_ARCHITECTURE: ppc64le
DIB_YUM_DNF_CONTENTDIR: stg/rocky

1
diskimage-builder Submodule

@ -0,0 +1 @@
Subproject commit d06a66d0f019a4ec7ad03390c39ee1e09e87a753

View File

@ -0,0 +1,9 @@
==============
rocky-minimal
==============
Create a minimal image based on Rocky.
This element sets the ``DISTRO_NAME`` var to 'rocky'. The release of
rocky to be installed can be controlled through the ``DIB_RELEASE``
variable, which defaults the latest supported release.

View File

@ -0,0 +1 @@
yum-minimal

View File

@ -0,0 +1 @@
operating-system

View File

@ -0,0 +1,3 @@
export DISTRO_NAME=rocky
export DIB_RELEASE=${DIB_RELEASE:-9}
export EFI_BOOT_DIR="EFI/rocky"

View File

@ -0,0 +1,2 @@
export YUM=dnf
export DNF_VAR_contentdir=stg/rocky

View File

@ -0,0 +1 @@
Verify we can build a rocky-minimal image.

View File

@ -0,0 +1,2 @@
block-device-gpt
vm

View File

@ -0,0 +1,17 @@
[baseos]
name=Rocky Linux $releasever - BaseOS - STG
baseurl=http://dl.rockylinux.org/stg/rocky/$releasever/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
countme=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
[appstream]
name=Rocky Linux $releasever - AppStream
baseurl=http://dl.rockylinux.org/stg/rocky/$releasever/AppStream/$basearch/os/
gpgcheck=1
enabled=1
countme=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9