Portalfehler behoben
This commit is contained in:
1 parent
ad6bf6544d
commit
28fc45de63
14 files changed
+105
-151
No files matched your search
@@ -1,13 +0,0 @@
|
||||
lang de_DE.UTF-8
|
||||
keyboard de
|
||||
timezone Europe/Berlin --utc
|
||||
|
||||
network --bootproto=dhcp
|
||||
|
||||
bootloader --location=mbr
|
||||
clearpart --all --initlabel
|
||||
autopart
|
||||
|
||||
reboot
|
||||
|
||||
bootc install humocs-man.duckdns.org/humocs-man/fluffy-pancake:stable
|
||||
@@ -1,6 +0,0 @@
|
||||
[customizations.installer.kickstart]
|
||||
contents = """
|
||||
# Sprache und Tastatur festlegen
|
||||
lang de_DE.UTF-8
|
||||
keyboard --vckeymap=de --xlayouts='de'
|
||||
"""
|
||||
@@ -1,60 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eoux pipefail
|
||||
|
||||
IMAGE_INFO="$(cat /usr/share/ublue-os/image-info.json)"
|
||||
IMAGE_REF="$(jq -r '."image-ref"' <<<"$IMAGE_INFO")"
|
||||
IMAGE_TAG="$(jq -r '."image-tag"' <<<"$IMAGE_INFO")"
|
||||
IMAGE_REF="${IMAGE_REF##*://}"
|
||||
|
||||
# --- Live UX -------------------------------------------------------------
|
||||
|
||||
tee /usr/share/glib-2.0/schemas/zz-installer.gschema.override <<'EOF'
|
||||
[org.gnome.shell]
|
||||
welcome-dialog-last-shown-version='4294967295'
|
||||
favorite-apps = ['liveinst.desktop', 'org.mozilla.firefox.desktop', 'org.gnome.Nautilus.desktop']
|
||||
EOF
|
||||
|
||||
tee /usr/share/glib-2.0/schemas/zz-installer-power.gschema.override <<'EOF'
|
||||
[org.gnome.settings-daemon.plugins.power]
|
||||
sleep-inactive-ac-type='nothing'
|
||||
sleep-inactive-battery-type='nothing'
|
||||
sleep-inactive-ac-timeout=0
|
||||
sleep-inactive-battery-timeout=0
|
||||
|
||||
[org.gnome.desktop.session]
|
||||
idle-delay=uint32 0
|
||||
EOF
|
||||
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
rm -f /etc/xdg/autostart/org.gnome.Software.desktop || true
|
||||
|
||||
# --- Installer -----------------------------------------------------------
|
||||
|
||||
dnf install -y \
|
||||
anaconda \
|
||||
anaconda-gui \
|
||||
anaconda-live \
|
||||
libblockdev-btrfs \
|
||||
libblockdev-lvm \
|
||||
libblockdev-dm \
|
||||
firefox
|
||||
|
||||
tee /usr/share/applications/liveinst.desktop <<'EOF'
|
||||
[Desktop Entry]
|
||||
Name=Install System
|
||||
Comment=Install this system to disk
|
||||
Exec=anaconda
|
||||
Icon=system-installer
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=System;Installer;
|
||||
EOF
|
||||
|
||||
update-desktop-database /usr/share/applications || true
|
||||
|
||||
# --- Kickstart -----------------------------------------------------------
|
||||
|
||||
tee /usr/share/anaconda/interactive-defaults.ks <<EOF
|
||||
ostreecontainer --url=${IMAGE_REF}:${IMAGE_TAG} --transport=containers-storage --no-signature-verification
|
||||
EOF
|
||||
+4
-3
@@ -17,11 +17,12 @@ bootloader --location=mbr
|
||||
# --- Automatische Partitionierung (bootc-Rezept, passt zu --rootfs=btrfs) ---
|
||||
# zerombr + clearpart: leere/gebrauchte Platten deterministisch zuruecksetzen,
|
||||
# sonst bricht Anaconda auf wiederverwendeten Disks ab.
|
||||
# reqpart --add-boot: legt /boot + EFI an (bootc braucht separate /boot).
|
||||
# autopart --type=btrfs: LVM duerfen bootc-Deployments NICHT verwenden.
|
||||
# autopart --type=btrfs: legt /boot + EFI + Btrfs-Root selbst an und
|
||||
# schliesst LVM aus (LVM duerfen bootc-Deployments NICHT verwenden).
|
||||
# HINWEIS: reqpart darf NICHT daneben stehen, Anaconda beendet sich sonst
|
||||
# mit "autopart and reqpart can't be used at the same time".
|
||||
zerombr
|
||||
clearpart --all --initlabel --disklabel=gpt
|
||||
reqpart --add-boot
|
||||
autopart --type=btrfs
|
||||
%post --log=/root/anaconda-post.log
|
||||
# Switch to the custom bootc image after installation.
|
||||
|
||||
Reference in new issue
Block a user