Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 47507 Details for
Bug 73725
Catalyst fails without an error messege while running livecd/empty in livecd_stage2_target.py
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch.
livecd-stage2.patch (text/plain), 1.09 KB, created by
Sven Rubben
on 2005-01-03 11:35:55 UTC
(
hide
)
Description:
Updated patch.
Filename:
MIME Type:
Creator:
Sven Rubben
Created:
2005-01-03 11:35:55 UTC
Size:
1.09 KB
patch
obsolete
>--- livecd_stage2_target.py.orig 2004-12-11 03:14:12.000000000 +0100 >+++ livecd_stage2_target.py 2005-01-03 18:32:47.000000000 +0100 >@@ -120,17 +120,18 @@ > > for x in self.settings["livecd/empty"]: > myemp=self.settings["chroot_path"]+x >- if not os.path.isdir(myemp): >+ if not os.path.isdir(myemp) or os.path.islink(myemp): > print x,"not a directory or does not exist, skipping 'empty' operation." >- continue >- print "Emptying directory",x >- # stat the dir, delete the dir, recreate the dir and set >- # the proper perms and ownership >- mystat=os.stat(myemp) >- shutil.rmtree(myemp) >- os.makedirs(myemp) >- os.chown(myemp,mystat[ST_UID],mystat[ST_GID]) >- os.chmod(myemp,mystat[ST_MODE]) >+ >+ else: >+ print "Emptying directory",x >+ # stat the dir, delete the dir, recreate the dir and set >+ # the proper perms and ownership >+ mystat=os.stat(myemp) >+ shutil.rmtree(myemp) >+ os.makedirs(myemp) >+ os.chown(myemp,mystat[ST_UID],mystat[ST_GID]) >+ os.chmod(myemp,mystat[ST_MODE]) > > if self.settings.has_key("livecd/rm"): >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 73725
:
46253
|
47507