Remove Umbriel/Noctalia and bump to Fedora 45
This commit is contained in:
1 parent
0920b351b7
commit
90bb609881
4 files changed
+14
-32
No files matched your search
+3
-15
@@ -1,4 +1,4 @@
|
|||||||
FROM registry.fedoraproject.org/fedora-bootc:44
|
FROM registry.fedoraproject.org/fedora-bootc:45
|
||||||
|
|
||||||
#Install copr command
|
#Install copr command
|
||||||
RUN dnf5 install 'dnf5-command(copr)' -y \
|
RUN dnf5 install 'dnf5-command(copr)' -y \
|
||||||
@@ -7,11 +7,7 @@ RUN dnf5 install 'dnf5-command(copr)' -y \
|
|||||||
#Ajout du dépot mullvad
|
#Ajout du dépot mullvad
|
||||||
RUN curl -fsSL https://repository.mullvad.net/rpm/stable/mullvad.repo -o /etc/yum.repos.d/mullvad.repo
|
RUN curl -fsSL https://repository.mullvad.net/rpm/stable/mullvad.repo -o /etc/yum.repos.d/mullvad.repo
|
||||||
|
|
||||||
#Ajout du dépot Terra (Umbriel n'est pas dans les depots Fedora)
|
#Install de GNOME avec support hardware + Podman + Cups + Vulkan driver + Plymouth + dev tools + divers utilitaires
|
||||||
RUN dnf install -y --nogpgcheck --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' terra-release \
|
|
||||||
&& dnf clean all
|
|
||||||
|
|
||||||
#Install de GNOME + stack Noctalia/Umbriel avec support hardware + Podman + Cups + Vulkan driver + Plymouth + dev tools + divers utilitaires
|
|
||||||
RUN dnf install -y --refresh --setopt=tsflags=nodocs \
|
RUN dnf install -y --refresh --setopt=tsflags=nodocs \
|
||||||
@gnome-desktop \
|
@gnome-desktop \
|
||||||
@hardware-support \
|
@hardware-support \
|
||||||
@@ -39,9 +35,6 @@ RUN dnf install -y --refresh --setopt=tsflags=nodocs \
|
|||||||
cups-pdf \
|
cups-pdf \
|
||||||
jq \
|
jq \
|
||||||
mullvad-vpn \
|
mullvad-vpn \
|
||||||
noctalia \
|
|
||||||
umbriel-nightly \
|
|
||||||
xdg-desktop-portal-umbriel-nightly \
|
|
||||||
plymouth \
|
plymouth \
|
||||||
plymouth-system-theme \
|
plymouth-system-theme \
|
||||||
plymouth-plugin-label \
|
plymouth-plugin-label \
|
||||||
@@ -102,9 +95,6 @@ RUN echo 'eval "$(starship init bash)"' >> /etc/bashrc
|
|||||||
RUN mkdir -p /etc/skel/.config && \
|
RUN mkdir -p /etc/skel/.config && \
|
||||||
starship preset nerd-font-symbols -o /etc/skel/.config/starship.toml
|
starship preset nerd-font-symbols -o /etc/skel/.config/starship.toml
|
||||||
|
|
||||||
#Configuration Umbriel par défaut : config de départ du paquet + autostart Noctalia
|
|
||||||
COPY config/umbriel.toml /etc/xdg/umbriel/config.toml
|
|
||||||
|
|
||||||
#Langue FR par défaut + Fuse userns + Timezone Paris
|
#Langue FR par défaut + Fuse userns + Timezone Paris
|
||||||
RUN echo "LANG=fr_FR.UTF-8" > /etc/locale.conf \
|
RUN echo "LANG=fr_FR.UTF-8" > /etc/locale.conf \
|
||||||
&& echo "KEYMAP=fr" > /etc/vconsole.conf \
|
&& echo "KEYMAP=fr" > /etc/vconsole.conf \
|
||||||
@@ -126,11 +116,9 @@ RUN mkdir -p /etc/dconf/db/local.d /etc/dconf/profile && \
|
|||||||
#Activation du module xpad pour support manette xbox
|
#Activation du module xpad pour support manette xbox
|
||||||
RUN echo "xpad" > /etc/modules-load.d/xpad.conf
|
RUN echo "xpad" > /etc/modules-load.d/xpad.conf
|
||||||
|
|
||||||
#Le depot flathub est ajoute au premier demarrage (voir flatpak-first-boot.service) :
|
|
||||||
#ecrire dans /var pendant le build est un anti-patron bootc (mauvais labels SELinux).
|
|
||||||
|
|
||||||
#Activation du service flatpak-first-boot (active apres preset-all, plus bas)
|
#Activation du service flatpak-first-boot (active apres preset-all, plus bas)
|
||||||
COPY services/flatpak-first-boot.service /etc/systemd/system/flatpak-first-boot.service
|
COPY services/flatpak-first-boot.service /etc/systemd/system/flatpak-first-boot.service
|
||||||
|
RUN chmod 0644 /etc/systemd/system/flatpak-first-boot.service
|
||||||
|
|
||||||
#Définir le target graphique par défaut
|
#Définir le target graphique par défaut
|
||||||
RUN systemctl set-default graphical.target
|
RUN systemctl set-default graphical.target
|
||||||
|
|||||||
@@ -1,14 +1,12 @@
|
|||||||
# My Fedora - Distribution Fedora Personnalisée
|
# My Fedora - Distribution Fedora Personnalisée
|
||||||
|
|
||||||
Distribution Fedora 44 personnalisée basée sur Fedora Bootc avec GNOME, le compositeur Umbriel et le shell Noctalia, plus un ensemble d'outils de développement préinstallés.
|
Distribution Fedora 44 personnalisée basée sur Fedora Bootc avec GNOME, plus un ensemble d'outils de développement préinstallés.
|
||||||
|
|
||||||
## Caractéristiques
|
## Caractéristiques
|
||||||
|
|
||||||
### Environnement de Bureau
|
### Environnement de Bureau
|
||||||
- **GNOME** (`@gnome-desktop`) avec support matériel complet
|
- **GNOME** (`@gnome-desktop`) avec support matériel complet
|
||||||
- **GDM** comme gestionnaire de connexion (GNOME Initial Setup crée le premier compte au boot)
|
- **GDM** comme gestionnaire de connexion (GNOME Initial Setup crée le premier compte au boot)
|
||||||
- **Umbriel** (compositeur Wayland, build nightly) et **Noctalia** (shell) via le dépôt Terra
|
|
||||||
- **xdg-desktop-portal-umbriel-nightly** pour les portails XDG
|
|
||||||
- **Nautilus** avec l'extension `nautilus-my-computer` (dépôt Copr)
|
- **Nautilus** avec l'extension `nautilus-my-computer` (dépôt Copr)
|
||||||
- **Plymouth** pour l'animation de démarrage
|
- **Plymouth** pour l'animation de démarrage
|
||||||
- **Vulkan** et pilotes Mesa (x86_64 et i686)
|
- **Vulkan** et pilotes Mesa (x86_64 et i686)
|
||||||
@@ -34,7 +32,6 @@ Distribution Fedora 44 personnalisée basée sur Fedora Bootc avec GNOME, le com
|
|||||||
- **Fuseau horaire** : `Europe/Paris`
|
- **Fuseau horaire** : `Europe/Paris`
|
||||||
- **Système de fichiers root** : Btrfs
|
- **Système de fichiers root** : Btrfs
|
||||||
- **Flatpak** : Flathub et Bazaar ajoutés au premier démarrage (service `flatpak-first-boot`)
|
- **Flatpak** : Flathub et Bazaar ajoutés au premier démarrage (service `flatpak-first-boot`)
|
||||||
- **Umbriel** : configuration par défaut dans `/etc/xdg/umbriel/config.toml` (autostart Noctalia)
|
|
||||||
- **Module `xpad`** chargé au démarrage (manettes Xbox)
|
- **Module `xpad`** chargé au démarrage (manettes Xbox)
|
||||||
|
|
||||||
### Optimisations
|
### Optimisations
|
||||||
@@ -91,7 +88,7 @@ Pousse l'image vers `docker.io/tintounn/my-fedora:latest`.
|
|||||||
- **Base** : `registry.fedoraproject.org/fedora-bootc:44`
|
- **Base** : `registry.fedoraproject.org/fedora-bootc:44`
|
||||||
- **Type** : Image conteneur bootable (Bootc)
|
- **Type** : Image conteneur bootable (Bootc)
|
||||||
- **Target** : Système graphique (`graphical.target`)
|
- **Target** : Système graphique (`graphical.target`)
|
||||||
- **Dépôts supplémentaires** : Terra (`repos.fyralabs.com`), Mullvad, Copr `yannmasoch/nautilus-my-computer`
|
- **Dépôts supplémentaires** : Mullvad, Copr `yannmasoch/nautilus-my-computer`
|
||||||
|
|
||||||
## Services Activés
|
## Services Activés
|
||||||
|
|
||||||
@@ -121,7 +118,6 @@ Le pipeline CI construit et publie automatiquement l'image sur Docker Hub.
|
|||||||
├── push-image.sh # Script de publication
|
├── push-image.sh # Script de publication
|
||||||
├── iso.toml # Configuration de l'installeur Anaconda
|
├── iso.toml # Configuration de l'installeur Anaconda
|
||||||
├── config/
|
├── config/
|
||||||
│ ├── umbriel.toml # Configuration Umbriel par défaut
|
|
||||||
│ └── xorg-keyboard.conf # Clavier FR pour GDM
|
│ └── xorg-keyboard.conf # Clavier FR pour GDM
|
||||||
├── services/
|
├── services/
|
||||||
│ └── flatpak-first-boot.service
|
│ └── flatpak-first-boot.service
|
||||||
@@ -136,7 +132,6 @@ Le pipeline CI construit et publie automatiquement l'image sur Docker Hub.
|
|||||||
- L'image utilise l'isolation `chroot` lors de la construction
|
- L'image utilise l'isolation `chroot` lors de la construction
|
||||||
- Le builder d'ISO nécessite des privilèges élevés et l'accès au storage Podman
|
- Le builder d'ISO nécessite des privilèges élevés et l'accès au storage Podman
|
||||||
- `ffmpeg` provient des dépôts Fedora (`ffmpeg-free`) : pour les codecs complets, activer RPM Fusion
|
- `ffmpeg` provient des dépôts Fedora (`ffmpeg-free`) : pour les codecs complets, activer RPM Fusion
|
||||||
- Umbriel/Noctalia proviennent du dépôt tiers Terra (`--nogpgcheck` à l'ajout du dépôt)
|
|
||||||
- Le dépôt Flathub est ajouté au premier démarrage, pas pendant le build (écrire dans `/var` est un anti-patron bootc)
|
- Le dépôt Flathub est ajouté au premier démarrage, pas pendant le build (écrire dans `/var` est un anti-patron bootc)
|
||||||
- Flatpak est installé dans une transaction isolée pour que le scriptlet `flatpak-selinux` enregistre correctement le module SELinux ; le build échoue si le label `flatpak_helper_exec_t` est absent de la politique compilée
|
- Flatpak est installé dans une transaction isolée pour que le scriptlet `flatpak-selinux` enregistre correctement le module SELinux ; le build échoue si le label `flatpak_helper_exec_t` est absent de la politique compilée
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
# Configuration Umbriel par défaut, commune à tous les utilisateurs
|
|
||||||
# (XDG_CONFIG_DIRS). Un fichier ~/.config/umbriel/config.toml la remplace.
|
|
||||||
#
|
|
||||||
# On charge la configuration de départ fournie par le paquet (keybinds,
|
|
||||||
# layout, effets, window/layer rules) puis on démarre Noctalia avec la session.
|
|
||||||
[include]
|
|
||||||
files = ["/usr/share/umbriel/config.toml"]
|
|
||||||
|
|
||||||
[general]
|
|
||||||
autostart = ["noctalia"]
|
|
||||||
@@ -3,6 +3,11 @@ Description=Installation des Flatpaks au premier démarrage
|
|||||||
After=network-online.target flatpak-system-helper.service
|
After=network-online.target flatpak-system-helper.service
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
ConditionPathExists=!/var/lib/flatpak/.firstboot-done
|
ConditionPathExists=!/var/lib/flatpak/.firstboot-done
|
||||||
|
# network-online.target ne garantit pas que la resolution DNS soit deja
|
||||||
|
# operationnelle (NetworkManager atteint CONNECTED_GLOBAL avant que le
|
||||||
|
# resolver ne reponde). On autorise donc plusieurs tentatives avant d'abandonner.
|
||||||
|
StartLimitIntervalSec=600
|
||||||
|
StartLimitBurst=30
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
@@ -12,7 +17,11 @@ ExecStart=/bin/bash -c '\
|
|||||||
flatpak install -y --system flathub runtime/org.gnome.Platform/x86_64/49 && \
|
flatpak install -y --system flathub runtime/org.gnome.Platform/x86_64/49 && \
|
||||||
flatpak install -y --system flathub io.github.kolunmi.Bazaar && \
|
flatpak install -y --system flathub io.github.kolunmi.Bazaar && \
|
||||||
touch /var/lib/flatpak/.firstboot-done'
|
touch /var/lib/flatpak/.firstboot-done'
|
||||||
|
# Relance la sequence si le reseau/DNS n'est pas encore pret au premier essai.
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=15s
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
|
StandardError=journal
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
Reference in new issue
Block a user