Skip to content

Commit

Permalink
Merge pull request #12 from WeirdTreeThing/main
Browse files Browse the repository at this point in the history
Update chromebook stuff
  • Loading branch information
lleyton authored Feb 8, 2024
2 parents ef0922a + adae006 commit 9cbc164
Show file tree
Hide file tree
Showing 26 changed files with 244 additions and 599 deletions.
43 changes: 43 additions & 0 deletions katsu/modules/chromebook/base-cbe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
scripts:
post:
- id: cleanup
name: Clean up system
file: ../base/cleanup.sh
- id: selinux-setup
name: Set up SELinux
file: ../base/selinux.sh
- id: buildstamp
name: Generate buildstamp
file: ../base/buildstamp.sh
- id: submarine
name: Set up ChromeOS bootloader
file: submarine.sh

dnf:
releasever: 39
repodir: ../base/repodir
options:
- --setopt=cachedir=/var/cache/dnf
- --nogpgcheck
- --setopt=keepcache=True
- --best
- --allowerasing
exclude:
- fedora-release*
- generic-release*
- kernel-debug*
- setroubleshoot
- setroubleshoot-plugins
- setroubleshoot-server
arch_packages:
aarch64:
- bcm283x-firmware
- bcm283x-overlays
- "@arm-tools"
x86_64:
- grub2-pc
- grub2-pc-modules
packages:
- depthcharge-tools
- alsa-ucm-cros
# - submarine
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
builder: dnf
distro: Ultramarine Linux 39 Chromebook Edition
distro: Ultramarine Linux 39

users:
- username: neko
- username: ultramarine
# plaintext password: ultramarine
password: "$y$j9T$6/DebcxXazPrtBYnNXtEM.$yaUJHww5Mo1L8xNJ9IDJ.bvKOrIJxAG9PGQKWioBMx3"
groups:
- wheel


import:
- base.yaml
- base-disk.yaml
Expand All @@ -19,17 +20,24 @@ scripts:
file: grub-setup.sh

disk:
size: 5GiB
size: 8GiB
partitions:
- label: Kernel
- label: EFI
size: 512MiB
filesystem: efi
mountpoint:
mountpoint: /boot/efi

- label: boot
size: 4GiB
size: 1GiB
filesystem: ext4
mountpoint: /boot

- label: root
# size: 2.5MiB
filesystem: ext4
mountpoint: /


dnf:
releasever: 39
arch: aarch64
42 changes: 42 additions & 0 deletions katsu/modules/chromebook/base-disk-cbe-x86_64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
builder: dnf
distro: Ultramarine Linux CBE 39

users:
- username: ultramarine
# plaintext password: ultramarine
password: "$y$j9T$6/DebcxXazPrtBYnNXtEM.$yaUJHww5Mo1L8xNJ9IDJ.bvKOrIJxAG9PGQKWioBMx3"
groups:
- wheel


import:
- base-cbe.yaml
- ../base/base-disk.yaml

scripts:
post:
- id: grub
name: Set up GRUB
file: ../base/grub-setup.sh

disk:
size: 14GiB
partitions:
- label: submarine
size: 16MiB
filesystem: efi
mountpoint: /mnt

- label: boot
size: 1GiB
filesystem: ext4
mountpoint: /boot

- label: root
# size: 2.5MiB
filesystem: ext4
mountpoint: /


dnf:
releasever: 39
58 changes: 0 additions & 58 deletions katsu/modules/chromebook/base-disk.yaml

This file was deleted.

87 changes: 0 additions & 87 deletions katsu/modules/chromebook/base.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions katsu/modules/chromebook/buildstamp.sh

This file was deleted.

22 changes: 0 additions & 22 deletions katsu/modules/chromebook/cleanup.sh

This file was deleted.

39 changes: 0 additions & 39 deletions katsu/modules/chromebook/grub-setup.sh

This file was deleted.

Loading

0 comments on commit 9cbc164

Please sign in to comment.