Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 335b59ceca |
@@ -22,11 +22,6 @@ Added
|
|||||||
- **firewalld** activé par défaut sur le système installé.
|
- **firewalld** activé par défaut sur le système installé.
|
||||||
- Bureaux Hyprland et i3 à parité visuelle (waybar/polybar, wofi/rofi, Catppuccin Mocha), thème SDDM « fws »,
|
- Bureaux Hyprland et i3 à parité visuelle (waybar/polybar, wofi/rofi, Catppuccin Mocha), thème SDDM « fws »,
|
||||||
bannière GDM.
|
bannière GDM.
|
||||||
- **Choix du nom de machine à l'installation** : champ « Nom de machine » dans la page Utilisateur d'anaconda,
|
|
||||||
appliqué au système installé (``/etc/hostname``, repli ``fws``).
|
|
||||||
- **Script de build interactif** (``build-offi.sh``) : version (``major.minor.build``) et variante (``cli``, ``gnome``,
|
|
||||||
``kde``…) demandées sur l'hôte avant d'entrer dans le conteneur, ISO nommée
|
|
||||||
``fws-<version>-<variante>-<AAAA.MM.JJ>.iso``, logo FWS dans fastfetch.
|
|
||||||
|
|
||||||
Changed
|
Changed
|
||||||
-------
|
-------
|
||||||
@@ -36,7 +31,6 @@ Changed
|
|||||||
Fedora/Arch sur le splash et le journal de récupération.
|
Fedora/Arch sur le splash et le journal de récupération.
|
||||||
- Toutes les entrées de boot plafonnent les workers udev bloqués (``udev.event_timeout=45``) ; le menu BIOS démarre
|
- Toutes les entrées de boot plafonnent les workers udev bloqués (``udev.event_timeout=45``) ; le menu BIOS démarre
|
||||||
explicitement l'entrée FWS (``DEFAULT fws``).
|
explicitement l'entrée FWS (``DEFAULT fws``).
|
||||||
- ``systemd-timesyncd`` explicitement activé sur le système installé pour éviter la dérive d'horloge (TLS, pacman).
|
|
||||||
- Use xz compression for the baseline profile's bootstrap tarball so that it has more differences when compared to the
|
- Use xz compression for the baseline profile's bootstrap tarball so that it has more differences when compared to the
|
||||||
releng profile.
|
releng profile.
|
||||||
- Match network interfaces by their type, instead of name, in systemd-networkd configuration.
|
- Match network interfaces by their type, instead of name, in systemd-networkd configuration.
|
||||||
@@ -54,11 +48,6 @@ Fixed
|
|||||||
le cap udev et les entrées de boot FWS d'ISO précédentes).
|
le cap udev et les entrées de boot FWS d'ISO précédentes).
|
||||||
- DNS du système installé (NetworkManager + systemd-resolved), hook ``lvm2`` dans l'initramfs, GRUB de secours
|
- DNS du système installé (NetworkManager + systemd-resolved), hook ``lvm2`` dans l'initramfs, GRUB de secours
|
||||||
``--removable`` en UEFI.
|
``--removable`` en UEFI.
|
||||||
- Disposition clavier dérivée de la locale complète et non de la seule langue : ``fr_CH`` donne désormais ``ch(fr)``
|
|
||||||
au lieu de ``fr``, appliqué à la console (``vconsole.conf``) et à X11 (via langtable) ; anaconda écrivait par
|
|
||||||
ailleurs un ``/etc/hostname`` vide sur le système installé.
|
|
||||||
- DNS dans le conteneur de build : ``podman run --network=host`` pour passer par la pile réseau de l'hôte
|
|
||||||
(corrige les timeouts avec firewalld/NAT).
|
|
||||||
- Use ``systemd-run`` to invoke ``curl`` with a transient service that depends on ``network-online.target`` since no
|
- Use ``systemd-run`` to invoke ``curl`` with a transient service that depends on ``network-online.target`` since no
|
||||||
services are currently pulling in ``network_online.target``.
|
services are currently pulling in ``network_online.target``.
|
||||||
|
|
||||||
|
|||||||
@@ -353,31 +353,6 @@ echo "==> Correction des retours à la ligne Windows (dos2unix)..."
|
|||||||
pacman -S --needed --noconfirm dos2unix
|
pacman -S --needed --noconfirm dos2unix
|
||||||
find /tmp/fws-build/releng -type f -exec dos2unix {} + 2>/dev/null
|
find /tmp/fws-build/releng -type f -exec dos2unix {} + 2>/dev/null
|
||||||
|
|
||||||
# ── Pré-vol : résolution de TOUS les paquets du profil ──
|
|
||||||
# « error: target not found » ne doit plus surgir en plein mkarchiso : on
|
|
||||||
# résout la liste complète (packages.x86_64 fusionné) contre le pacman.conf
|
|
||||||
# du profil (fws-local injecté inclus) dans une base temporaire. S'il manque
|
|
||||||
# un paquet, on échoue ICI avec la liste + le geste correctif.
|
|
||||||
echo "==> Pré-vol : résolution des paquets du profil..."
|
|
||||||
PREFLIGHT_DB="$(mktemp -d)"
|
|
||||||
pacman -Sy --config /tmp/fws-build/releng/pacman.conf --dbpath "$PREFLIGHT_DB" >/dev/null
|
|
||||||
mapfile -t PROFILE_PKGS < <(sed -e 's/#.*//' -e 's/[[:space:]]//g' -e '/^$/d' \
|
|
||||||
/tmp/fws-build/releng/packages.x86_64)
|
|
||||||
# -Sp n'installe rien (affiche les URLs) ; LC_ALL=C fige le motif d'erreur.
|
|
||||||
# stderr → capture, stdout → poubelle ; le pipeline sed sort toujours 0.
|
|
||||||
MISSING="$(LC_ALL=C pacman -Sp --config /tmp/fws-build/releng/pacman.conf \
|
|
||||||
--dbpath "$PREFLIGHT_DB" "${PROFILE_PKGS[@]}" 2>&1 >/dev/null \
|
|
||||||
| sed -n 's/^error: target not found:[[:space:]]*//p')"
|
|
||||||
rm -rf "$PREFLIGHT_DB"
|
|
||||||
if [ -n "$MISSING" ]; then
|
|
||||||
echo -e "\e[31mPaquets introuvables dans les dépôts du profil :\e[0m" >&2
|
|
||||||
printf ' \e[31m%s\e[0m\n' $MISSING >&2
|
|
||||||
echo -e "\e[33mDépôt fws-local absent/incomplet ? Lance ./setup-aur.sh (construit" >&2
|
|
||||||
echo -e "anaconda, winboat-bin, fws-dnd, …) puis relance ce script.\e[0m" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
echo "==> Pré-vol OK : ${#PROFILE_PKGS[@]} paquets résolus."
|
|
||||||
|
|
||||||
echo "==> Lancement de mkarchiso..."
|
echo "==> Lancement de mkarchiso..."
|
||||||
mkdir -p "$OUT_DIR"
|
mkdir -p "$OUT_DIR"
|
||||||
# mkarchiso fait un « rm » interne de l'ISO cible avant de la (ré)écrire ; si
|
# mkarchiso fait un « rm » interne de l'ISO cible avant de la (ré)écrire ; si
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
# Maintainer: FWS
|
|
||||||
pkgname=fws-dnd
|
|
||||||
pkgver=2.0.0
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="Gestionnaire D&D 5e pour FWS (GTK4) : dés, créateur de personnage (règles officielles), grimoire, sessions, tracker de combat"
|
|
||||||
arch=('any')
|
|
||||||
url="https://fws.local/fws-dnd"
|
|
||||||
license=('MIT')
|
|
||||||
depends=('python' 'python-gobject' 'gtk4')
|
|
||||||
source=("${pkgname}-${pkgver}.tar.gz")
|
|
||||||
sha256sums=('SKIP')
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
||||||
|
|
||||||
# Module Python (application GTK4)
|
|
||||||
install -d "${pkgdir}/usr/share/${pkgname}"
|
|
||||||
cp -r gui/fwsdnd "${pkgdir}/usr/share/${pkgname}/"
|
|
||||||
# pas de bytecode pré-généré dans le paquet
|
|
||||||
find "${pkgdir}/usr/share/${pkgname}" -name '__pycache__' -type d -exec rm -rf {} +
|
|
||||||
|
|
||||||
# Exécutable
|
|
||||||
install -Dm755 bin/fws-dnd "${pkgdir}/usr/bin/fws-dnd"
|
|
||||||
|
|
||||||
# Intégration bureau
|
|
||||||
install -Dm644 fws-dnd.desktop "${pkgdir}/usr/share/applications/fws-dnd.desktop"
|
|
||||||
install -Dm644 fws-dnd.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/fws-dnd.svg"
|
|
||||||
|
|
||||||
# Documentation
|
|
||||||
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
|
||||||
}
|
|
||||||
Binary file not shown.
+2
-3
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# FWS — Build des paquets AUR (winboat-bin) + PKGBUILD locaux (deps Anaconda,
|
# FWS — Build des paquets AUR (winboat-bin) + PKGBUILD locaux (deps Anaconda)
|
||||||
# fws-dnd) et création du repo pacman local fws-local/.
|
# et création du repo pacman local fws-local/.
|
||||||
#
|
#
|
||||||
# Rejoue-le si tu changes la liste AUR_PACKAGES ou pour
|
# Rejoue-le si tu changes la liste AUR_PACKAGES ou pour
|
||||||
# rafraîchir le repo local.
|
# rafraîchir le repo local.
|
||||||
@@ -297,7 +297,6 @@ done
|
|||||||
# --- PKGBUILD locaux FWS (ordre explicite, feuilles d'abord, anaconda dernier) ---
|
# --- PKGBUILD locaux FWS (ordre explicite, feuilles d'abord, anaconda dernier) ---
|
||||||
LOCAL_PKGBUILDS_DIR="$SCRIPT_DIR/pkgbuilds"
|
LOCAL_PKGBUILDS_DIR="$SCRIPT_DIR/pkgbuilds"
|
||||||
LOCAL_BUILD_ORDER=(
|
LOCAL_BUILD_ORDER=(
|
||||||
fws-dnd
|
|
||||||
pykickstart python-productmd python-requests-file python-simpleline
|
pykickstart python-productmd python-requests-file python-simpleline
|
||||||
python-crypt_r python-iso639 python-langtable python-meh python-blivet
|
python-crypt_r python-iso639 python-langtable python-meh python-blivet
|
||||||
anaconda-widgets anaconda
|
anaconda-widgets anaconda
|
||||||
|
|||||||
Reference in New Issue
Block a user