Bug 519004 - method to add files to home.img
Summary: method to add files to home.img
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-24 14:59 UTC by Matt Domsch
Modified: 2009-08-24 15:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-24 15:08:36 UTC


Attachments (Terms of Use)

Description Matt Domsch 2009-08-24 14:59:22 UTC
Description of problem:
https://fedorahosted.org/liveusb-creator/ticket/618

For the Red Hat Summit 2009, Paul Frields and James Laska have been helping Dell to create a Live USB key image containing Fedora 11. Dell has additional marketing collateral (several PDF files) which are being placed on the root of the USB key file system. This lets them appear when plugged into a Linux or Windows system. Additionally, it would be nice if we could get those PDFs to appear on the desktop of the Live image when it is run.

To do so, can we please have an option added to liveusb-iso-to-disk, which takes a list of files and destinations, and copies them appropriately? We would use this (in future) to copy the PDFs into /home/liveuser/Desktop/. Doing so would allow us to keep the "additional" material completely separate from the "Fedora" image, and cleanly avoid any co-mingling trademark problems.

Comment 1 Jeremy Katz 2009-08-24 15:08:36 UTC
Putting it just in livecd-iso-to-disk (or liveusb-creator) really probably isn't the best answer as then it would only do what you want with a USB stick and not if someone is using the image off of CD/DVD.

Better would be to have something in your %post for the image build that adds a script to copy them (or better, just link them) from the stick when logging in similar to how anaconda has the zz-liveinst.sh script.

Alternately, if you really only care about a USB stick for something like this, then boot it the first time with a home.img and then you have a base home.img to use on the stick :-)


Note You need to log in before you can comment on or make changes to this bug.