So i did not oversaw it. It is just not there, because i installed in June 2023.
I guess that means either someone on the @Manjaro-Team developer team messed it up since then, or Calamares messed it up. Which is not an excuse really, not having control of critical aspects of your own distribution is not exactly a compliment for the team’s abilities. We had this discussion once with the tmpfs mounts in /etc/fstab. The statement then was “it is not our fault, it is calamares”. I guess we should call it “manjaro-calamares” then, if calamares developers make half of the important decisions.
p.s. i just extracted the latest official ISO, in the root.sfs the file is indeed with brackets, and kms and withouth plymouth…so it is indeed Calamares. Sadly, manjaro without Calamares and Pamac is pretty much arch. But the discussion if we really need 100 Distros with 5 developers each or is the linux community better of with 10 distros but with 50 developers and less bugs is entirely another matter.
It was around that time, yes, and there was a .pacnew file for it, too.
By the way, I still propose…
replacing base and udev — as well as resume and/or usr, if present — by systemd;…
replacing keymap and consolefont by sd-vconsole; and…
replacing encrypt (if present) by sd-encrypt.
It shaves off a bit — not a whole lot, but it’s noticeable — from the boot time, and it makes the initramfs a bit smaller. The way the systemd hook works is that it will build the initcpio with what is currently needed by the running system.
Also, base doesn’t really make any sense anymore, because it only provides a busybox rescue shell, but the rescue shell is unusable because the root account in the initramfs is locked. So that rescue shell is just sitting there in the initramfs for no reason at all.
Your proposal above is written very clearly and concisely. I encourage you to open an issue with that proposal. If you don’t, then nothing will every happen.
It doesn’t need to be proposed to Arch, per se. It’ll suffice if it gets adopted into Manjaro. After all, you said yourself that Manjaro adds its own patches to mkinitcpio.
We only have patches to adapt it to Manjaro kernels and revert the change to default zstd compression as older kernels do not support it. We will not be deviating from upstream other than that.
Yes, well, you can submit the proposal or not. You’re the Manjaro Team member, so it’s up to you. I’ve already long ago made the changes here on my own system — along with several others, including some pam and sudoers changes — so I personally don’t have any dog in that particular fight.
Like I said, I don’t have any GitLab or GitHub accounts, and I am not going to create any either. I’ve got too much on my hands already (and too many worries as well) to take that on in addition to everything else.
# This setting is similar to BINARIES above, however, files a # This setting is similar to BINARIES above, however, files a
# as-is and are not parsed in any way. This is useful for co # as-is and are not parsed in any way. This is useful for co
FILES=() | FILES=""
# HOOKS # HOOKS
# This is the most important setting in this file. The HOOKS # This is the most important setting in this file. The HOOKS
# modules and scripts added to the image, and what happens at # modules and scripts added to the image, and what happens at
# Order is important, and it is recommended that you do not c # Order is important, and it is recommended that you do not c
# order in which HOOKS are added. Run 'mkinitcpio -H <hook n # order in which HOOKS are added. Run 'mkinitcpio -H <hook n
# help on a given hook. # help on a given hook.
# 'base' is _required_ unless you know precisely what you are # 'base' is _required_ unless you know precisely what you are
# 'udev' is _required_ in order to automatically load modules # 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modu # 'filesystems' is _required_ unless you specify your fs modu
# Examples: # Examples:
## This setup specifies all modules in the MODULES setting ## This setup specifies all modules in the MODULES setting
## No raid, lvm2, or encrypted root is needed. ## No raid, lvm2, or encrypted root is needed.
# HOOKS=(base) | # HOOKS="base"
# #
## This setup will autodetect all modules for your system a ## This setup will autodetect all modules for your system a
## work as a sane default ## work as a sane default
# HOOKS=(base udev autodetect block filesystems) | # HOOKS="base udev autodetect block filesystems"
# #
## This setup will generate a 'full' image which supports m ## This setup will generate a 'full' image which supports m
## No autodetection is done. ## No autodetection is done.
# HOOKS=(base udev block filesystems) | # HOOKS="base udev block filesystems"
# #
## This setup assembles a pata mdadm array with an encrypte ## This setup assembles a pata mdadm array with an encrypte
## Note: See 'mkinitcpio -H mdadm' for more information on ## Note: See 'mkinitcpio -H mdadm' for more information on
# HOOKS=(base udev block mdadm encrypt filesystems) | # HOOKS="base udev block mdadm encrypt filesystems"
# #
## This setup loads an lvm2 volume group on a usb device. ## This setup loads an lvm2 volume group on a usb device.
# HOOKS=(base udev block lvm2 filesystems) | # HOOKS="base udev block lvm2 filesystems"
# #
## NOTE: If you have /usr on a separate partition, you MUST ## NOTE: If you have /usr on a separate partition, you MUST
# usr, fsck and shutdown hooks. # usr, fsck and shutdown hooks.
HOOKS=(base udev autodetect modconf block filesystems keyboar | HOOKS="base udev autodetect modconf block keyboard keymap res