[arch-releng] Removing packages from archiso

Christian Hesse list at eworm.de
Sun May 6 07:10:55 EDT 2012

Mr Green <mrgreen at linuxmail.org> on Sun, 2012/05/06 11:48:
> Hi,
> I am trying to build an iso that includes LTS kernel at the moment I can 
> add linux-lts to package list. Need a clean way to remove linux 
> [kernel]. Thinking along the lines of adding a 'pacman -R' to mkarchiso, 
> possibly adding something like _pacman () maybe _pacman_remove().
> Not sure it will be a possible patch as it may be of any other use to 
> anyone.
> Ideas are easy creating them is a different story

I had a similar problem... Just created an iso with systemd. I added this to
my build script:

mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" \
-r "pacman -R --noconfirm sysvinit initscripts" run

However I would like to have a clean solution...

Is there any way to make pacman install packages and remove conflicts in a
non interactive way in one run?
Best regards,
                         O< ascii ribbon campaign
                   stop html mail - www.asciiribbon.org

More information about the arch-releng mailing list