Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux General Discussion (http://www.linux-archive.org/archlinux-general-discussion/)
-   -   Add a slash to the path pointing to hdinstall dir (#592154) (http://www.linux-archive.org/archlinux-general-discussion/392631-add-slash-path-pointing-hdinstall-dir-592154-a.html)

Chris Lumens 06-29-2010 06:20 PM

Add a slash to the path pointing to hdinstall dir (#592154)
 
> 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);

Looks good to me. Thanks for tracking it down.

- Chris

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


All times are GMT. The time now is 12:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.