[arch-releng] group-ignore

Mr Green mrgreen at linuxmail.org
Tue Jul 10 11:19:17 EDT 2012


I quickly wrote these lines as a workaround to ignore issue I was having

#!/bin/bash
# Group name
group_pkgs='xorg-drivers'
# Package to ignore
ignore_pkg='xf86-video-intel-sna'

# Load up xorg_pkgs with group packages less ignored driver
xorg_pkgs=$(pacman -Sg xorg-drivers | \
sed -e "s/$group_pkgs //g" -e "/${ignore_pkg}/d")

# Simply a way to check variable is loaded
echo $xorg_pkgs

You can simply load up $xorg_pkgs into mkarchiso in build script or push 
output to a file your choice.

Have added a bug report to Arch Bugs but not holding my breath....

MrG


More information about the arch-releng mailing list