container toolbox - make additional packages alphabetically ordered

- disable manpage checks

Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
This commit is contained in:
Tomas Hrcka 2023-07-12 11:51:28 +02:00
parent 8eda3b701e
commit b41eb6bd15
1 changed files with 47 additions and 47 deletions

View File

@ -7,48 +7,35 @@
# Install packages # Install packages
%packages --inst-langs=en --nocore --exclude-weakdeps %packages --inst-langs=en --nocore --exclude-weakdeps
rootfiles
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
vim-enhanced
dnf5
sudo
-glibc-minimal-langpack
glibc-all-langpacks
acl acl
bash bash
coreutils-common
curl
findutils
gawk
gnupg2
grep
gzip
libcap
openssl
p11-kit
pam
python3
rpm
sed
systemd
util-linux-core
bash-completion bash-completion
bc bc
bzip2 bzip2
coreutils-common
curl
diffutils diffutils
dnf5
dnf5-plugins dnf5-plugins
findutils
flatpak-spawn flatpak-spawn
fpaste fpaste
gawk
git git
-glibc-minimal-langpack
glibc-all-langpacks
gnupg2
gnupg2-smime gnupg2-smime
grep
gvfs-client gvfs-client
gzip
hostname hostname
iproute iproute
iputils iputils
whois
keyutils keyutils
krb5-libs krb5-libs
less less
libcap
lsof lsof
man-db man-db
man-pages man-pages
@ -58,21 +45,34 @@ mtr
nano-default-editor nano-default-editor
nss-mdns nss-mdns
openssh-clients openssh-clients
openssl
p11-kit
pam
passwd passwd
pigz pigz
procps-ng procps-ng
python3
rootfiles
rpm
rsync rsync
sed
shadow-utils shadow-utils
sudo
systemd
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
tcpdump tcpdump
time time
traceroute traceroute
tree tree
unzip unzip
util-linux util-linux
util-linux-core
vim-enhanced
vte-profile vte-profile
vulkan-loader vulkan-loader
wget wget
which which
whois
words words
xorg-x11-xauth xorg-x11-xauth
xz xz
@ -116,30 +116,30 @@ rm -rfv /var/cache/* /var/log/* /tmp/*
set -eux set -eux
# Check if specified files exist # Check if specified files exist
declare -a files=( #declare -a files=(
"/usr/share/man/man1/bash.1*" # "/usr/share/man/man1/bash.1*"
"/usr/share/man/man1/cd.1*" # "/usr/share/man/man1/cd.1*"
"/usr/share/man/man1/export.1*" # "/usr/share/man/man1/export.1*"
"/usr/share/man/man1/cat.1*" # "/usr/share/man/man1/cat.1*"
"/usr/share/man/man1/cp.1*" # "/usr/share/man/man1/cp.1*"
"/usr/share/man/man1/ls.1*" # "/usr/share/man/man1/ls.1*"
"/usr/share/man/man1/gpg2.1*" # "/usr/share/man/man1/gpg2.1*"
"/usr/share/man/man7/gnupg2.7*" # "/usr/share/man/man7/gnupg2.7*"
"/usr/share/man/fr/man8/rpm.8*" # "/usr/share/man/fr/man8/rpm.8*"
"/usr/share/man/ja/man8/rpm.8*" # "/usr/share/man/ja/man8/rpm.8*"
"/usr/share/man/man8/rpm.8*" # "/usr/share/man/man8/rpm.8*"
"/usr/share/man/man1/kill.1*" # "/usr/share/man/man1/kill.1*"
"/usr/share/man/man8/mount.8*" # "/usr/share/man/man8/mount.8*"
) #)
ret_val=0 #ret_val=0
for file in "${files[@]}"; do #for file in "${files[@]}"; do
if ! compgen -G "$file" >/dev/null; then # if ! compgen -G "$file" >/dev/null; then
echo "$file: No such file or directory" >&2 # echo "$file: No such file or directory" >&2
ret_val=1 # ret_val=1
break # break
fi # fi
done #done
if [ "$ret_val" -ne 0 ]; then if [ "$ret_val" -ne 0 ]; then
false false