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 User

 
 
LinkBack Thread Tools
 
Old 01-03-2008, 08:30 PM
David Cantrell
 
Default Precreate /etc/modprobe.d in installroot

On Thu, 3 Jan 2008 16:30:44 -0500
Jesse Keating <jkeating@redhat.com> wrote:

> If /etc/modprobe.d/anaconda is found in the install env we
> copy that into the chroot, which can fail if the modprobe.d/
> directory doesn't exist. Just pre-create it.

Applied.

--
David Cantrell <dcantrell@redhat.com>
Red Hat / Honolulu, HI
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 01-03-2008, 08:30 PM
Jesse Keating
 
Default Precreate /etc/modprobe.d in installroot

If /etc/modprobe.d/anaconda is found in the install env we
copy that into the chroot, which can fail if the modprobe.d/
directory doesn't exist. Just pre-create it.
---
yuminstall.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 5629de0..9e1eaa3 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1226,7 +1226,7 @@ class YumBackend(AnacondaBackend):
dirList = ['/var', '/var/lib', '/var/lib/rpm', '/tmp', '/dev', '/etc',
'/etc/sysconfig', '/etc/sysconfig/network-scripts',
'/etc/X11', '/root', '/var/tmp', '/etc/rpm', '/var/cache',
- '/var/cache/yum']
+ '/var/cache/yum', '/etc/modprobe.d']

# If there are any protected partitions we want to mount, create their
# mount points now.
--
1.5.3.7

--
Jesse Keating
Fedora -- All my bits are free, are yours?
_______________________________________________
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 01:13 PM.

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