This commit is contained in:
metamuffin 2024-11-07 01:28:26 +01:00
commit 15fdf1163d
No known key found for this signature in database
GPG key ID: 718F9749DCDBD654
35 changed files with 145 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/out

1
airootfs/etc/hostname Normal file
View file

@ -0,0 +1 @@
asd

1
airootfs/etc/locale.conf Normal file
View file

@ -0,0 +1 @@
LANG=C.UTF-8

1
airootfs/etc/localtime Symbolic link
View file

@ -0,0 +1 @@
/usr/share/zoneinfo/UTC

View file

@ -0,0 +1 @@
HOOKS=(base udev modconf archiso block filesystems)

View file

@ -0,0 +1,8 @@
# mkinitcpio preset file for the 'linux' package on archiso
PRESETS=('archiso')
ALL_kver='/boot/vmlinuz-linux'
archiso_config='/etc/mkinitcpio.conf.d/archiso.conf'
archiso_image="/boot/initramfs-linux.img"

6
airootfs/etc/os-release Normal file
View file

@ -0,0 +1,6 @@
NAME="Abrechenbarkeit System Distribution"
PRETTY_NAME="Abrechenbarkeit System Distribution"
ID=abrechenbarkeit
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://codeberg.org/metamuffin/abrechenbarkeit"

4
airootfs/etc/pam.d/cage Normal file
View file

@ -0,0 +1,4 @@
auth required pam_unix.so nullok
account required pam_unix.so
session required pam_unix.so
session required pam_systemd.so

1
airootfs/etc/shadow Normal file
View file

@ -0,0 +1 @@
root::14871::::::

View file

@ -0,0 +1,2 @@
PasswordAuthentication no
PermitRootLogin yes

View file

@ -0,0 +1,2 @@
[Network]
IPv6PrivacyExtensions=yes

View file

@ -0,0 +1,9 @@
[Match]
Type=ether
[Link]
RequiredForOnline=routable
[Network]
DHCP=yes
MulticastDNS=yes

View file

@ -0,0 +1,2 @@
[Resolve]
MulticastDNS=yes

View file

@ -0,0 +1 @@
/dev/null

View file

@ -0,0 +1,27 @@
[Unit]
Description=User interface for abrechenbarkeit
After=systemd-user-sessions.service plymouth-quit-wait.service
Before=graphical.target
ConditionPathExists=/dev/tty0
Wants=dbus.socket systemd-logind.service
After=dbus.socket systemd-logind.service
Conflicts=getty@%i.service
After=getty@%i.service
[Service]
Type=simple
ExecStart=/usr/bin/cage -d -- chromium --ozone-platform=wayland --app='https://staging.metamuffin.org/'
Restart=always
User=abrechenbarkeit
UtmpIdentifier=%I
UtmpMode=user
TTYPath=/dev/%I
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
StandardInput=tty-fail
PAMName=cage
[Install]
WantedBy=graphical.target
DefaultInstance=tty7

View file

@ -0,0 +1 @@
/etc/systemd/system/abrechenbarkeit@.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/system/hv_fcopy_daemon.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/system/hv_kvp_daemon.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/system/hv_vss_daemon.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/system/sshd.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-networkd.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-resolved.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-networkd-wait-online.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-networkd.socket

View file

@ -0,0 +1,6 @@
# Allow systemd-networkd-wait-online to succeed with one interface, otherwise, if multiple network interfaces exist,
# network-online.target gets needlessly delayed.
# See https://wiki.archlinux.org/title/systemd-networkd#systemd-networkd-wait-online
[Service]
ExecStart=
ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --any

View file

@ -0,0 +1 @@
u abrechenbarkeit - "Abrechenbarkeit User Interface User" -

View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP3vF7K0qO14OE5anUCRgBbmixVTIc6Cv9JxtuH9Q0KL muffin@ubuntu

View file

@ -0,0 +1 @@
D617AA66740C402C03E54F51F6005FC09FAB6142:4:

View file

@ -0,0 +1,2 @@
arch-install-scripts
base

View file

@ -0,0 +1,4 @@
title Abrechenbarkeit System Distribution
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
options archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID%

View file

@ -0,0 +1,2 @@
timeout 3
default asd

16
packages.x86_64 Normal file
View file

@ -0,0 +1,16 @@
base
linux
mkinitcpio
mkinitcpio-archiso
open-vm-tools
openssh
pv
qemu-guest-agent
cage
edk2-shell
fish
chromium
pipewire
pipewire-alsa
pipewire-jack
pipewire-pulse

17
pacman.conf Normal file
View file

@ -0,0 +1,17 @@
[options]
HoldPkg = pacman glibc
Architecture = auto
ParallelDownloads = 5
DownloadUser = alpm
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[metamuffin-infra]
Server = https://pkg.metamuffin.org/$arch
SigLevel = Required

19
profiledef.sh Normal file
View file

@ -0,0 +1,19 @@
#!/usr/bin/env bash
# shellcheck disable=SC2034
iso_name="abrecheniso"
iso_label="ASD_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
iso_publisher="metamuffin"
iso_application="Abrechenbarkeit System Distribution"
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
install_dir="asd"
buildmodes=('iso')
bootmodes=('uefi-ia32.systemd-boot.esp' 'uefi-x64.systemd-boot.esp')
arch="x86_64"
pacman_conf="pacman.conf"
airootfs_image_type="squashfs"
airootfs_image_tool_options=('-comp' 'zstd' '-Xcompression-level' '5')
bootstrap_tarball_compression=(zstd -c -T0 --long -19)
file_permissions=(
["/etc/shadow"]="0:0:400"
)