Unverified Commit 191adb58 by Thomas Lamprecht Committed by Stéphane Graber

templates/opensuse: fix tumbleweed software selection

tumbleweed needs a newer version for a few packages, namely: * liblua5_3 * bncurses6 * breadline7 As Leap it also has no dhcpd, but udhcp which gets pulled in already. Further iproute2 and net-tools need manual instalation. Signed-off-by: 's avatarThomas Lamprecht <t.lamprecht@proxmox.com>
parent adfe9cb4
...@@ -162,10 +162,10 @@ download_opensuse() ...@@ -162,10 +162,10 @@ download_opensuse()
cat > $cache/partial-$arch-packages/opensuse.conf << EOF cat > $cache/partial-$arch-packages/opensuse.conf << EOF
Preinstall: aaa_base bash coreutils diffutils Preinstall: aaa_base bash coreutils diffutils
Preinstall: filesystem fillup glibc grep insserv-compat perl-base Preinstall: filesystem fillup glibc grep insserv-compat perl-base
Preinstall: libbz2-1 libncurses5 pam Preinstall: libbz2-1 pam
Preinstall: permissions libreadline6 rpm sed tar libz1 libselinux1 Preinstall: permissions rpm sed tar libz1 libselinux1
Preinstall: liblzma5 libcap2 libacl1 libattr1 Preinstall: liblzma5 libcap2 libacl1 libattr1
Preinstall: libpopt0 libelf1 liblua5_1 Preinstall: libpopt0 libelf1
Preinstall: libpcre1 Preinstall: libpcre1
RunScripts: aaa_base RunScripts: aaa_base
...@@ -178,7 +178,7 @@ Support: iputils ...@@ -178,7 +178,7 @@ Support: iputils
Support: udev Support: udev
Support: netcfg Support: netcfg
Support: hwinfo insserv-compat module-init-tools openSUSE-release openssh Support: hwinfo insserv-compat module-init-tools openSUSE-release openssh
Support: pwdutils rpcbind sysconfig Support: pwdutils sysconfig
Ignore: rpm:suse-build-key,build-key Ignore: rpm:suse-build-key,build-key
Ignore: systemd:systemd-presets-branding Ignore: systemd:systemd-presets-branding
...@@ -189,16 +189,21 @@ EOF ...@@ -189,16 +189,21 @@ EOF
echo "Support: python3-base" >> $cache/partial-$arch-packages/opensuse.conf echo "Support: python3-base" >> $cache/partial-$arch-packages/opensuse.conf
fi fi
# dhcpcd is not in the default repos since Leap 42.1 if [[ $DISTRO == "tumbleweed" ]]; then
if [[ $DISTRO != "leap/4"* ]] echo "Preinstall: liblua5_3 libncurses6 libreadline7" >> $cache/partial-$arch-packages/opensuse.conf
then else
echo "Support: dhcpcd" >> $cache/partial-$arch-packages/opensuse.conf echo "Preinstall: liblua5_1 libncurses5 libreadline6" >> $cache/partial-$arch-packages/opensuse.conf
echo "Support: rpcbind" >> $cache/partial-$arch-packages/opensuse.conf
fi fi
# Leap doesn't seem to have iproute2 utils installed # dhcpcd is not in the default repos since Leap 42.1, neither in tumbleweed
if [[ $DISTRO == "leap/4"* ]] if [[ $DISTRO != "leap/4"* ]] && [[ $DISTRO != "tumbleweed" ]]; then
then echo "Support: dhcpcd" >> $cache/partial-$arch-packages/opensuse.conf
echo "Support: net-tools iproute2" >> $cache/partial-$arch-packages/opensuse.conf fi
# Leap and tumbleweed doesn't seem to have iproute2 utils installed
if [[ $DISTRO == "leap/4"* ]] || [[ $DISTRO == "tumbleweed" ]]; then
echo "Support: net-tools iproute2" >> $cache/partial-$arch-packages/opensuse.conf
fi fi
if [ "$arch" = "i686" ]; then if [ "$arch" = "i686" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment