Compare commits

..

No commits in common. "d9db20a39e65f72e9c6989f653a346df70921218" and "766acb88e4159d601398381805efe9fd82ffa72c" have entirely different histories.

10 changed files with 39 additions and 35 deletions

3
.gitignore vendored
View File

@ -1,3 +0,0 @@
build/
.direnv/
.envrc

View File

@ -1,7 +1,6 @@
# Rocky Linux Ostree # Rocky Linux Ostree
This repository contains all the bits to get a working Ostree for Rocky Linux (8.6). Although Fedora and Red Hat CoreOS use (rpm)Ostree, this is NOT a CoreOS clone. This repository contains all the bits to get a working Ostree for Rocky Linux (8.6). If you want to build a Rocky Linux CoreOS, in other words
a Red Hat CoreOS clone, then checkout [coreos-assembler](https://coreos.github.io/rpm-ostree/compose-server). Other sites with information about CoreOS and building custom OStree(s):
If you want to build a Rocky Linux CoreOS, in other words a Red Hat CoreOS clone, then checkout [coreos-assembler](https://coreos.github.io/rpm-ostree/compose-server). Other sites with information about CoreOS and building custom OStree(s):
* https://coreos.github.io/rpm-ostree/compose-server/ * https://coreos.github.io/rpm-ostree/compose-server/
* https://www.osbuild.org/ * https://www.osbuild.org/

View File

@ -4,7 +4,7 @@ keyboard us
timezone --utc Etc/UTC timezone --utc Etc/UTC
rootpw --plaintext rocky rootpw --plaintext rocky
user --name=ansible --password=rocky --plaintext --gecos="Ansible User" user --name=ansible --password=rocky --plaintext --gecos="Ansible User"
ostreesetup --nogpg --url=http://{{ dhcpd_next_server }}/ostree/repo/ --osname=rocky-ostree --remote=rocky-ostree --ref=rocky/x86_64/ostree ostreesetup --nogpg --url=http://{{ dhcpd_next_server }}/ostree/repo/ --osname=rocky-coreos --remote=rocky-coreos --ref=rocky/x86_64/coreos
# Disk # Disk
zerombr zerombr

View File

@ -1,6 +1,20 @@
Commands/notes mkdir -p build/repo
cd build/
ostree --repo=repo init --mode=archive
sudo rpm-ostree compose tree --cachedir=/home/richard/rocky-coreos/build/cache --repo=/home/richard/rocky-coreos/build/repo config/manifest.yaml
sudo tar cvzf repo.tar.gz build/repo
scp repo.tar.gz root@192.168.122.89:
ostree --repo=./build/repo ls rocky/x86_64/ostree
ostree --repo=./build/repo ls rocky/x86_64/ostree /etc # 2de keer
ostree --repo=./build/repo cat rocky/x86_64/ostree /usr/etc/passwd mkdir -p build/{repo,cache}
ostree --repo=./build/repo ls rocky/x86_64/ostree /usr/lib/systemd/system/*get* ostree --repo=build/repo init --mode=archive
sudo rpm-ostree compose tree --cachedir=/home/richard/rocky-coreos/build/cache --repo=/home/richard/rocky-coreos/build/repo config/manifest.yaml
####
ostree --repo=./build/repo ls rocky/x86_64/coreos
ostree --repo=./build/repo ls rocky/x86_64/coreos /etc
ostree --repo=./build/repo cat rocky/x86_64/coreos /usr/etc/passwd
ostree --repo=./build/repo ls rocky/x86_64/coreos /usr/lib/systemd/system/*get*
sudo rsync -av --delete /home/richard/rocky-coreos/build/repo root@192.168.122.89:/var/www/html/ostree/

View File

@ -1,22 +1,16 @@
ref: rocky/${basearch}/ostree ref: rocky/${basearch}/coreos
rojig: rojig:
name: rocky-ostree name: rocky-coreos
summary: "Rocky Linux Ostree" summary: "Rocky Linux CoreOS"
license: MIT license: MIT
packages: packages:
- rocky-release - rocky-release
releasever: 8
variables:
stream: testing
prod: false
repos: repos:
- appstream - rocky-86-baseos
- baseos - rocky-86-appstream
include: include:
- manifests/rocky-ostree-base.yaml - manifests/rocky-coreos-base.yaml
- manifests/rocky-ostree-system_tools.yaml - manifests/rocky-coreos-system_tools.yaml
- manifests/rocky-ostree-post.yaml - manifests/rocky-coreos-post.yaml

View File

@ -1,4 +1,4 @@
# config/manifests/rocky-ostree-system_tools.yaml # config/manifests/rocky-coreos-system_tools.yaml
# #
# Contains system (tools) packages which are often used on a regular # Contains system (tools) packages which are often used on a regular
# system, but not needed for the base system to work # system, but not needed for the base system to work

View File

@ -1,7 +1,7 @@
[appstream] [rocky-86-appstream]
name=Rocky Linux $releasever - AppStream name=Rocky Linux 8.6 - AppStream
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-8 #baseurl=http://dl.rockylinux.org/pub/rocky/8.6/AppStream/x86_64/os/
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/AppStream/$basearch/os/ baseurl=http://192.168.122.89/repos/rocky86/AppStream/
gpgcheck=1 gpgcheck=1
enabled=1 enabled=1
countme=1 countme=1

View File

@ -1,7 +1,7 @@
[baseos] [rocky-86-baseos]
name=Rocky Linux $releasever - BaseOS name=Rocky Linux 8.6 - BaseOS
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-8 #baseurl=http://dl.rockylinux.org/pub/rocky/8.6/BaseOS/x86_64/os/
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/$basearch/os/ baseurl=http://192.168.122.89/repos/rocky86/BaseOS/
gpgcheck=1 gpgcheck=1
enabled=1 enabled=1
countme=1 countme=1