From f51a444012e465847de01d15bc290a8f9f90c9a7 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 19 May 2015 10:19:33 +0200 Subject: [PATCH] generate sorted / filtered list Signed-off-by: Nico Schottelius --- hacking/filelist_from_package.sh | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/hacking/filelist_from_package.sh b/hacking/filelist_from_package.sh index 1bf24a7c..b5dd8eb7 100755 --- a/hacking/filelist_from_package.sh +++ b/hacking/filelist_from_package.sh @@ -1,7 +1,19 @@ #!/bin/sh # Generate filelist excluding stuff that takes only space -for pkg in bash systemd util-linux openssh; do - pacman -Qlq $pkg | grep -v \ - -e /usr/share/man/ -done +( + for pkg in systemd openssh \ + bash bzip2 coreutils cryptsetup device-mapper dhcpcd \ + diffutils e2fsprogs file filesystem findutils gawk \ + gettext glibc grep gzip inetutils iproute2 \ + iputils jfsutils less licenses linux logrotate lvm2 \ + man-db man-pages mdadm nano pacman pciutils \ + pcmciautils perl procps-ng psmisc reiserfsprogs \ + s-nail sed shadow sysfsutils systemd-sysvcompat tar \ + texinfo usbutils util-linux vi which xfsprogs \ + ; do + pacman -Qlq $pkg | grep -v \ + -e /usr/share/man/ \ + -e /usr/share/doc/ + done +) | sort | uniq