Re: How are DVDs identified by anaconda?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris wrote:
2009/1/11 Jeroen van Meeuwen <kanarip@xxxxxxxxxxx>:
Not sure why the files need to be in the root of the DVD, but Revisor allows
you to specify copy_dir which is then copied (recursively) into a files/
subdirectory on the DVD.

One of the files I needed to add was a dreaded autorun.inf (don't
ask!) so I really needed to access the root directory. Turned out I
was just missing the hidden files in the ISO tree. It's all working
now.


In an attempt to speed up your workflow, you could patch Revisor to not append "files/" and have everything go to the root directory[1].

To make the change more permanently, you could even create your own module putting the files in "/" rather then "files/"[2,3].

Kind regards,

Jeroen van Meeuwen
-kanarip

[1] Line 404 in /usr/lib/python2.5/site-packages/revisor/pungi.py:
-                dst_dir = "%s/files/%s"
+                dst_dir = "%s/%s"

[2] Example module:
http://git.fedorahosted.org/git/?p=revisor;a=blob;f=revisor/modisolinux/__init__.py
http://git.fedorahosted.org/git/?p=revisor;a=blob;f=revisor/modreuseinstaller/__init__.py

[3] Documentation on writing modules/plugins:

https://fedorahosted.org/revisor/wiki/WritingPlugins

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux