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 Directory

 
 
LinkBack Thread Tools
 
Old 03-27-2012, 05:21 PM
"Brian C. Lane"
 
Default liveinst: adjust updates path (#807397)

From: "Brian C. Lane" <bcl@redhat.com>

For F17 updates images are now relative to /
---
data/liveinst/liveinst | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/data/liveinst/liveinst b/data/liveinst/liveinst
index bb11e27..0a01474 100755
--- a/data/liveinst/liveinst
+++ b/data/liveinst/liveinst
@@ -119,14 +119,17 @@ if [ ! -z "$UPDATES" ]; then
fi

curl -o /tmp/updates.img $UPDATES
- mkdir /tmp/updates

# We officially support two updates.img formats: a filesystem image, and
# a compressed cpio blob.
if [ ! -z "$(file /tmp/updates.img | grep 'gzip compressed data')" ]; then
- ( cd /tmp/updates ; gzip -dc /tmp/updates.img | cpio -id )
+ ( cd / ; gzip -dc /tmp/updates.img | cpio -id )
else
- mount -t auto /tmp/updates.img /tmp/updates
+ mkdir /tmp/updates.disk
+ mount -t auto /tmp/updates.img /tmp/updates.disk
+ cp -t / /tmp/updates.disk/*
+ umount /tmp/updates.disk
+ rmdir /tmp/updates.disk
fi

export PYTHONPATH=/tmp/updates:$PYTHONPATH
--
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-28-2012, 09:05 PM
Peter Jones
 
Default liveinst: adjust updates path (#807397)

On 03/27/2012 01:21 PM, Brian C. Lane wrote:

From: "Brian C. Lane"<bcl@redhat.com>

For F17 updates images are now relative to /


Looks okay to me, for what that's worth.


---
data/liveinst/liveinst | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/data/liveinst/liveinst b/data/liveinst/liveinst
index bb11e27..0a01474 100755
--- a/data/liveinst/liveinst
+++ b/data/liveinst/liveinst
@@ -119,14 +119,17 @@ if [ ! -z "$UPDATES" ]; then
fi

curl -o /tmp/updates.img $UPDATES
- mkdir /tmp/updates

# We officially support two updates.img formats: a filesystem image, and
# a compressed cpio blob.
if [ ! -z "$(file /tmp/updates.img | grep 'gzip compressed data')" ]; then
- ( cd /tmp/updates ; gzip -dc /tmp/updates.img | cpio -id )
+ ( cd / ; gzip -dc /tmp/updates.img | cpio -id )
else
- mount -t auto /tmp/updates.img /tmp/updates
+ mkdir /tmp/updates.disk
+ mount -t auto /tmp/updates.img /tmp/updates.disk
+ cp -t / /tmp/updates.disk/*
+ umount /tmp/updates.disk
+ rmdir /tmp/updates.disk
fi

export PYTHONPATH=/tmp/updates:$PYTHONPATH



--
Peter

Sanity's just a one trick pony anyway. You only get one trick -- rational
thinking -- but when you're good and crazy, the sky's the limit!
-- The Tick

01234567890123456789012345678901234567890123456789 012345678901234567890123456789

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

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