init repo
This commit is contained in:
commit
c0c3c490b1
9
.envrc
Normal file
9
.envrc
Normal 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
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
__pycache__
|
||||||
|
*.pyc
|
||||||
|
|
||||||
|
tmp/*
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal 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
7
9-minimal.yml
Normal 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
1
diskimage-builder
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit d06a66d0f019a4ec7ad03390c39ee1e09e87a753
|
9
elements/rocky-minimal/README.rst
Normal file
9
elements/rocky-minimal/README.rst
Normal 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.
|
1
elements/rocky-minimal/element-deps
Normal file
1
elements/rocky-minimal/element-deps
Normal file
@ -0,0 +1 @@
|
|||||||
|
yum-minimal
|
1
elements/rocky-minimal/element-provides
Normal file
1
elements/rocky-minimal/element-provides
Normal file
@ -0,0 +1 @@
|
|||||||
|
operating-system
|
@ -0,0 +1,3 @@
|
|||||||
|
export DISTRO_NAME=rocky
|
||||||
|
export DIB_RELEASE=${DIB_RELEASE:-9}
|
||||||
|
export EFI_BOOT_DIR="EFI/rocky"
|
2
elements/rocky-minimal/environment.d/11-yum-dnf.bash
Normal file
2
elements/rocky-minimal/environment.d/11-yum-dnf.bash
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
export YUM=dnf
|
||||||
|
export DNF_VAR_contentdir=stg/rocky
|
@ -0,0 +1 @@
|
|||||||
|
Verify we can build a rocky-minimal image.
|
@ -0,0 +1,2 @@
|
|||||||
|
block-device-gpt
|
||||||
|
vm
|
17
elements/rocky-minimal/yum.repos.d/yum.repo
Normal file
17
elements/rocky-minimal/yum.repos.d/yum.repo
Normal 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
|
Loading…
Reference in New Issue
Block a user