[PATCH] Follow symlinks when looking for the anaconda-runtime package.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This bit rawhide creation as we use a symlink to the packages
on an NFS share to run buildinstall against.  Fugly but it works.
---
 scripts/buildinstall |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/buildinstall b/scripts/buildinstall
index 5632d68..f6c1489 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -91,7 +91,7 @@ DIR=`cd $DIR > /dev/null; /bin/pwd`
 BUILDINSTDIR=`mktemp -d ${TMPDIR:-/tmp}/buildinstall.tree.XXXXXX`
 TREEDIR=`mktemp -d ${TMPDIR:-/tmp}/treedir.XXXXXX`
 
-ANACONDARUNTIME=`find $DIR -name "anaconda-runtime-[0-9]*" |head -n 1`
+ANACONDARUNTIME=`find -L $DIR -name "anaconda-runtime-[0-9]*" |head -n 1`
 BUILDARCH=`rpm -qp --qf "%{ARCH}\n" $ANACONDARUNTIME`
 
 echo "Running buildinstall..."
-- 
1.5.4.1


-- 
Jesse Keating
Fedora -- All my bits are free, are yours?
From be71a01d553e7181b758e83a0611c482b47c976e Mon Sep 17 00:00:00 2001

This bit rawhide creation as we use a symlink to the packages
on an NFS share to run buildinstall against.  Fugly but it works.
---
 scripts/buildinstall |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/buildinstall b/scripts/buildinstall
index 5632d68..f6c1489 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -91,7 +91,7 @@ DIR=`cd $DIR > /dev/null; /bin/pwd`
 BUILDINSTDIR=`mktemp -d ${TMPDIR:-/tmp}/buildinstall.tree.XXXXXX`
 TREEDIR=`mktemp -d ${TMPDIR:-/tmp}/treedir.XXXXXX`
 
-ANACONDARUNTIME=`find $DIR -name "anaconda-runtime-[0-9]*" |head -n 1`
+ANACONDARUNTIME=`find -L $DIR -name "anaconda-runtime-[0-9]*" |head -n 1`
 BUILDARCH=`rpm -qp --qf "%{ARCH}\n" $ANACONDARUNTIME`
 
 echo "Running buildinstall..."
-- 
1.5.4.1

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux