From 5d3cced9e1981948936e8afd5dd017dfe0c78f15 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sun, 15 Jan 2012 16:26:42 +0100 Subject: [PATCH] update symlink maker for new qubes-core packages layout --- create_symlinks_in_rpms_to_install_dir.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/create_symlinks_in_rpms_to_install_dir.sh b/create_symlinks_in_rpms_to_install_dir.sh index ddd9f54..babb74c 100755 --- a/create_symlinks_in_rpms_to_install_dir.sh +++ b/create_symlinks_in_rpms_to_install_dir.sh @@ -7,11 +7,13 @@ SRC_ROOT=../.. rm -fr rpms_to_install/* VERSION_CORE=$(cat version_core | sed "s/%DIST%/$DIST/") -ln -s $SRC_ROOT/core/rpm/x86_64/qubes-core-appvm-$VERSION_CORE.rpm rpms_to_install/qubes-core-appvm -ln -s $SRC_ROOT/core/rpm/x86_64/qubes-core-appvm-libs-$VERSION_CORE.rpm rpms_to_install/qubes-core-appvm-libs -ln -s $SRC_ROOT/core/rpm/x86_64/qubes-core-commonvm-$VERSION_CORE.rpm rpms_to_install/qubes-core-commonvm -ln -s $SRC_ROOT/core/rpm/x86_64/qubes-core-netvm-$VERSION_CORE.rpm rpms_to_install/qubes-core-netvm -ln -s $SRC_ROOT/core/rpm/x86_64/qubes-core-proxyvm-$VERSION_CORE.rpm rpms_to_install/qubes-core-proxyvm +ln -s $SRC_ROOT/core/rpm/x86_64/qubes-core-vm-$VERSION_CORE.rpm rpms_to_install/qubes-core-vm +ln -s $SRC_ROOT/core/rpm/x86_64/qubes-core-vm-libs-$VERSION_CORE.rpm rpms_to_install/qubes-core-vm-libs +if [ "${DIST/fc/}" -ge 15 ]; then + ln -s $SRC_ROOT/core/rpm/x86_64/qubes-core-vm-systemd-$VERSION_CORE.rpm rpms_to_install/qubes-core-vm-init +else + ln -s $SRC_ROOT/core/rpm/x86_64/qubes-core-vm-sysvinit-$VERSION_CORE.rpm rpms_to_install/qubes-core-vm-init +fi VERSION_GUI=$(cat version_gui | sed "s/%DIST%/$DIST/") ln -s $SRC_ROOT/gui/rpm/x86_64/qubes-gui-vm-$VERSION_GUI.rpm rpms_to_install/qubes-gui-vm