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 > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 05-24-2010, 09:24 PM
David Cantrell
 
Default On NFS installs, look for product.img and updates.img under images/ (#594811).

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 24 May 2010, Chris Lumens wrote:


We were previously trying to look for these two up a directory level by
trimming off more of the path than needed.
---
loader/nfsinstall.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/loader/nfsinstall.c b/loader/nfsinstall.c
index f609a7d..660106a 100644
--- a/loader/nfsinstall.c
+++ b/loader/nfsinstall.c
@@ -324,16 +324,12 @@ char * mountNfsImage(struct installMethod * method,

free(buf);

- checked_asprintf(&buf, "%.*s/updates.img",
- (int) (strrchr(fullPath, '/')-fullPath),
- fullPath);
+ checked_asprintf(&buf, "%s/updates.img", fullPath);
logMessage(INFO, "Looking for updates in %s", buf);
copyUpdatesImg(buf);
free(buf);

- checked_asprintf(&buf, "%.*s/product.img",
- (int) (strrchr(fullPath, '/')-fullPath),
- fullPath);
+ checked_asprintf(&buf, "%s/product.img", fullPath);
logMessage(INFO, "Looking for product in %s", buf);
copyProductImg(buf);
free(buf);



Ship it.

- --
David Cantrell <dcantrell@redhat.com>

Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkv67pAACgkQ5hsjjIy1VkmhKQCfRQWwQC1RQ8 avkUHTEjD/joZZ
bSUAoKYkb7PTijbGYEsr+UraDJWBMlpi
=+iP/
-----END PGP SIGNATURE-----

_______________________________________________
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 02:25 AM.

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