forked from images/live-iso-gnome
attempt to fix default session for live user & add cosmo ISOs
This commit is contained in:
parent
50fb043283
commit
e11cb01783
2
.github/release-nest-v3-cosmo-iso
vendored
2
.github/release-nest-v3-cosmo-iso
vendored
@ -1 +1 @@
|
||||
1
|
||||
2
|
||||
|
49
.github/workflows/build-canary-v3-cosmo-iso.yml
vendored
Normal file
49
.github/workflows/build-canary-v3-cosmo-iso.yml
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
name: Build Canary COSMO amd64-v3 ISO
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/build-canary-v3-cosmo-iso'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it --cap-add=sys_admin --cap-add mknod --device=/dev/fuse --security-opt seccomp=unconfined --security-opt label=disable
|
||||
|
||||
steps:
|
||||
- name: Install Some essentials
|
||||
run: apt-get update -y && apt-get install -y wget npm rsync nodejs
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Set ISO Info
|
||||
run: sed "s/#DISTNAME#/PikaOS-Canary-COSMO/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh
|
||||
|
||||
- name: Get ISO Build Dependencies
|
||||
run: ./get_iso_build_dep.sh
|
||||
|
||||
- name: Enable NVIDIA Enablement
|
||||
run: cp -rvf ./nvidia-enablement/* ./
|
||||
|
||||
- name: Enable COSMO Enablement
|
||||
run: cp -rvf ./cosmo-enablement/* ./
|
||||
|
||||
- name: Generate Image ROOTFS from PikaOS Docker image
|
||||
run: ./generate_roofs_from_canaryv3_docker.sh
|
||||
|
||||
- name: Build ISO
|
||||
run: ./build.sh
|
49
.github/workflows/build-nest-v3-cosmo-iso.yml
vendored
Normal file
49
.github/workflows/build-nest-v3-cosmo-iso.yml
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
name: Build Nest COSMO amd64-v3 ISO
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/build-nest-v3-cosmo-iso'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it --cap-add=sys_admin --cap-add mknod --device=/dev/fuse --security-opt seccomp=unconfined --security-opt label=disable
|
||||
|
||||
steps:
|
||||
- name: Install Some essentials
|
||||
run: apt-get update -y && apt-get install -y wget npm rsync nodejs
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Set ISO Info
|
||||
run: sed "s/#DISTNAME#/PikaOS-Nest-COSMO/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh
|
||||
|
||||
- name: Get ISO Build Dependencies
|
||||
run: ./get_iso_build_dep.sh
|
||||
|
||||
- name: Enable NVIDIA Enablement
|
||||
run: cp -rvf ./nvidia-enablement/* ./
|
||||
|
||||
- name: Enable COSMO Enablement
|
||||
run: cp -rvf ./cosmo-enablement/* ./
|
||||
|
||||
- name: Generate Image ROOTFS from PikaOS Docker image
|
||||
run: ./generate_roofs_from_nestv3_docker.sh
|
||||
|
||||
- name: Build ISO
|
||||
run: ./build.sh
|
52
.github/workflows/release-canary-v3-cosmo-iso.yml
vendored
Normal file
52
.github/workflows/release-canary-v3-cosmo-iso.yml
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
name: Release Canary COSMO amd64-v3 ISO
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/release-canary-v3-cosmo-iso'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it --cap-add=sys_admin --cap-add mknod --device=/dev/fuse --security-opt seccomp=unconfined --security-opt label=disable
|
||||
|
||||
steps:
|
||||
- name: Install Some essentials
|
||||
run: apt-get update -y && apt-get install -y wget npm rsync nodejs
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Set ISO Info
|
||||
run: sed "s/#DISTNAME#/PikaOS-Canary-COSMO/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh
|
||||
|
||||
- name: Get ISO Build Dependencies
|
||||
run: ./get_iso_build_dep.sh
|
||||
|
||||
- name: Enable NVIDIA Enablement
|
||||
run: cp -rvf ./nvidia-enablement/* ./
|
||||
|
||||
- name: Enable COSMO Enablement
|
||||
run: cp -rvf ./cosmo-enablement/* ./
|
||||
|
||||
- name: Generate Image ROOTFS from PikaOS Docker image
|
||||
run: ./generate_roofs_from_canaryv3_docker.sh
|
||||
|
||||
- name: Build ISO
|
||||
run: ./build.sh
|
||||
|
||||
- name: Release ISO
|
||||
run: ./release.sh
|
52
.github/workflows/release-nest-v3-cosmo-iso.yml
vendored
Normal file
52
.github/workflows/release-nest-v3-cosmo-iso.yml
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
name: Release Nest COSMO amd64-v3 ISO
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/release-nest-v3-cosmo-iso'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it --cap-add=sys_admin --cap-add mknod --device=/dev/fuse --security-opt seccomp=unconfined --security-opt label=disable
|
||||
|
||||
steps:
|
||||
- name: Install Some essentials
|
||||
run: apt-get update -y && apt-get install -y wget npm rsync nodejs
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Set ISO Info
|
||||
run: sed "s/#DISTNAME#/PikaOS-Nest-COSMO/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh
|
||||
|
||||
- name: Get ISO Build Dependencies
|
||||
run: ./get_iso_build_dep.sh
|
||||
|
||||
- name: Enable NVIDIA Enablement
|
||||
run: cp -rvf ./nvidia-enablement/* ./
|
||||
|
||||
- name: Enable COSMO Enablement
|
||||
run: cp -rvf ./cosmo-enablement/* ./
|
||||
|
||||
- name: Generate Image ROOTFS from PikaOS Docker image
|
||||
run: ./generate_roofs_from_nestv3_docker.sh
|
||||
|
||||
- name: Build ISO
|
||||
run: ./build.sh
|
||||
|
||||
- name: Release ISO
|
||||
run: ./release.sh
|
4
cosmo-enablement/hooks/3-install-nvidia-driver.chroot
Executable file
4
cosmo-enablement/hooks/3-install-nvidia-driver.chroot
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
apt-get install --yes --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite" \
|
||||
nvidia-open-driver-560
|
4
cosmo-enablement/hooks/4-install-cosmo-packages.chroot
Executable file
4
cosmo-enablement/hooks/4-install-cosmo-packages.chroot
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
apt-get install --yes --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite" \
|
||||
pika-gameutils-meta
|
@ -6,3 +6,4 @@ echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm
|
||||
sed '/WaylandEnable=false/ s/^\#*/\#/' -i /etc/gdm3/daemon.conf || true
|
||||
ln -sf /etc/gdm3/daemon.conf /etc/gdm3/custom.conf
|
||||
echo -e '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/zautologin.conf || true
|
||||
echo -e '[User]\nSession=gnome\nIcon=/home/pikaos/.face\nSystemAccount=false' > /var/lib/AccountsService/users/pikaos || true
|
||||
|
Loading…
Reference in New Issue
Block a user