Fixes for rawhide ostree sync
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
This commit is contained in:
parent
227bc5f27f
commit
2da175571c
1 changed files with 5 additions and 1 deletions
|
@ -367,6 +367,10 @@ def determine_last_link(release, repo):
|
||||||
if repo == 'rawhide':
|
if repo == 'rawhide':
|
||||||
source_path = os.path.join(RAWHIDESOURCE,
|
source_path = os.path.join(RAWHIDESOURCE,
|
||||||
RELEASES[release]['repos'][repo]['from'])
|
RELEASES[release]['repos'][repo]['from'])
|
||||||
|
#Since latest-Fedora-Rawhide is a symlink pointing to just the
|
||||||
|
#compose dir rather than its full path, we need the absolute path
|
||||||
|
#of the compose rather than relative path
|
||||||
|
target = os.path.realpath(source_path)
|
||||||
else:
|
else:
|
||||||
source_path = os.path.join(SOURCE,
|
source_path = os.path.join(SOURCE,
|
||||||
RELEASES[release]['repos'][repo]['from'])
|
RELEASES[release]['repos'][repo]['from'])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue