I am attempting to create an ISO image of a customized yum repository on CentOS 6. Whenever I use genisoimage, it changes the file names in some way. I have tried a variety of different options, but can't figure out how to just make it keep filenames the same.
For example, the directory structure goes from:
This breaks the repository since the package directory no longer matches (packages != Packages). It also makes all of the package names lowercase.
The options I tried are:
genisoimage -allow-leading-dots -allow-lowercase -allow-multidot -d -D -iso-level 4 -relaxed-filenames -no-iso-translate -o repo.iso repo/
What are the options that will make genisoimage just copy the directory to an ISO image.