Actualités & Annonces de l'équipe de développement et des administrateurs du forum.

Testing - Unstable.

#141Messageil y a 1 an

:bjr:
Oui, ce pacnew pose questions. Mise à jour à 18h47.
Par exemple je n'ai pas de .pacsave ni de .old et le fichier /etc/mkinitcpio.conf a bien été écrasé sans sauvegarde:

$ stat /etc/mkinitcpio.conf 
  Fichier : /etc/mkinitcpio.conf
   Taille : 2794      	Blocs : 8          Blocs d'E/S : 4096   fichier
Périphérique : 8/2	Inœud : 4851571     Liens : 1
Accès : (0644/-rw-r--r--)  UID : (    0/    root)   GID : (    0/    root)
 Accès : 2022-12-01 18:47:22.000000000 +0100
Modif. : 2022-11-25 21:32:01.000000000 +0100
Changt : 2022-12-01 18:47:22.227846781 +0100
  Créé : 2022-12-01 18:47:22.114514196 +0100
Apparemment, pas de soucis sur les crochets:

##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev modconf block filesystems fsck)

Testing - Unstable.

#142Messageil y a 1 an

:salut: il faut mieux partir du nouveau .conf :sourire:

La nouvelle config ajoute de nouveau modules : kms, consolefont, keyboard
Attention, l'ordre des modules est important, il est donc préférable de partir de la nouvelle configuration

Le nouveau par défaut:

HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems fsck)
Perso, j'avais en non standard resume pour faire de l'hybernation, donc ajouté au nouveau:

# mon ancien
HOOKS=(base udev autodetect modconf block keymap filesystems resume keyboard fsck)
#Nouveau
HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems resume fsck)

Testing - Unstable.

#143Messageil y a 1 an

Testing - Unstable.

#144Messageil y a 1 an

bonjour :bjr:

Je peux toujours passer par "pacnew chaser" pour voir le pacnew après la mise à jour ?

et il faut faire "sudo mkinitcpio -P" après la modif de "mkinitcpio.conf"ou un reboot suffit ?

Merci :-)

Testing - Unstable.

#145Messageil y a 1 an

il faut refaire la commande après modification :

sudo mkinitcpio -P 

Testing - Unstable.

#146Messageil y a 1 an

ok
merci :sourire:

Testing - Unstable.

#147Messageil y a 1 an

:bjr:
Curieux. Je suis bien synchro en testing sur les miroirs français et allemands:

$ inxi -r
Repos:
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirror.moson.org/manjaro/testing/$repo/$arch
    2: https://mirror.tarnkappe.info/manjaro/testing/$repo/$arch
    3: https://ftp.gwdg.de/pub/linux/manjaro/testing/$repo/$arch
    4: https://mirror.alpix.eu/manjaro/testing/$repo/$arch
Pourtant, mon /etc/mkinitcpio.conf a des différences avec le nouveau notamment au niveau de la compression:

$ diff /etc/mkinitcpio.conf /home/steph/Téléchargements/mkinitcpio.conf 
55c55
< # Use this to compress the initramfs image. By default, gzip compression
---
> # Use this to compress the initramfs image. By default, zstd compression
56a57
> #COMPRESSION="zstd"
63d63
< #COMPRESSION="zstd"
Donc apparemment, je continu de compresser les images kernel avec gzip ....
Je confirme ne pas avoir reçu de .pacsave ou .pacnew.

Testing - Unstable.

#148Messageil y a 1 an

J'ai plutôt l'impression que tu es encore avec l'ancien .conf
nouveau paquet mkinitcpio est 33.1

Pour lire dans le paquet :

zstdcat /var/cache/pacman/pkg/mkinitcpio-33-1-any.pkg.tar.zst | grep "to compress the initramfs" -a -B4

HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
Si tu as 33.1, alors tu utilises zstd même si tu vois gz (puisque c'est en commentaire)

Testing - Unstable.

#149Messageil y a 1 an

Non, c'est bien la version 33.1

$ pacman -Q mkinitcpio
mkinitcpio 33-1

$ zstdcat /var/cache/pacman/pkg/mkinitcpio-33-1-any.pkg.tar.zst | grep "to compress the initramfs" -a -B4
#    usr and fsck hooks.
HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
Bon, plus le temps, je verrai ça + tard.

Testing - Unstable.

#150Messageil y a 1 an

Répondre