FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 06-29-2010, 03:29 PM
Martin Sivak
 
Default Add a slash to the path pointing to hdinstall dir (#592154)

---
loader/hdinstall.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/loader/hdinstall.c b/loader/hdinstall.c
index 061a4eb..979ccf0 100644
--- a/loader/hdinstall.c
+++ b/loader/hdinstall.c
@@ -64,9 +64,9 @@ static char * setupIsoImages(char * device, char * dirName, char * location) {
if (doPwMount(device, "/mnt/isodir", "auto", "ro", NULL))
return NULL;

- checked_asprintf(&dirspec, "/mnt/isodir%.*s",
+ checked_asprintf(&dirspec, "/mnt/isodir/%.*s",
(int) (strrchr(dirName, '/') - dirName), dirName);
- checked_asprintf(&path, "/mnt/isodir%s", dirName);
+ checked_asprintf(&path, "/mnt/isodir/%s", dirName);

if (path) {
logMessage(INFO, "Path to stage2 image is %s", path);
--
1.6.6.1

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

Thread Tools




All times are GMT. The time now is 03:23 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org