You are not logged in.
hi, i wanted to ask if its possible to not include the "linux" package when creating a custom arch iso
so for example, i replaced linux with linux-lts in the packages.x86_64 file but for some reason when i run mkarchiso the linux package keeps getting included, so now i have two kernels in the live iso when i only need one.
is it possible to exclude the kernel package? i know i can remove the package by adding "pacman -Rdd linux" into the customize_airootfs.sh file but since its getting removed in the future i'd like to know if there's another way.
thanks!
Offline
Mod note: Not an installation issue, moving to Apps/DEs.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Did you remove broadcom-wl from packages.x86_64 along with linux?
Offline
ah, i havent thought of that
Offline
yup, it worked, thanks!
but my question wasn't fully answered; can i manually exclude packages from being included in the iso without relying on the customize_airootfs.sh script?
for example i want to install gnome desktop but dont want to include gnome-terminal, something like "pacman -S gnome --ignore=gnome-terminal"
how can i achieve this on archiso?
Offline
I'm not sure I follow your last question - you do not run pacman directly to create the iso, you include the packages you want (and exclude the ones you dont) in the package.x86_64 file. If you don't want gnome-terminal, just don't put it (or anything that depends on it) in the list.
Last edited by Trilby (2020-11-19 20:04:57)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
sorry, i should have been clearer
what i meant was, can i install all packages in the gnome group except gnome-terminal?
usually what i would do is:
1) add gnome group to the packages.x86_64
2) add "pacman -R gnome-terminal" to customize_airootfs.sh
but since customize_airootfs.sh is deprecated i'd have to list every single package in the gnome group except gnome-terminal in the packages.x86_64 file, making the process unnecessarily long.
Offline
Why would in be long?
pacman -Sgq gnome | grep -v terminal >> package.x86_64
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
i honestly didnt know you could do that with pacman
anyway, thanks!
Offline