[Server-devel] documentation for customizing XS ISO

Martin Langhoff martin.langhoff at gmail.com
Tue May 4 12:08:02 EDT 2010


On Tue, May 4, 2010 at 12:01 PM, Daniel Drake <dsd at laptop.org> wrote:
> It's not available. It gets unmounted before %post is executed.
> (google and you'll see many other people running into this headache as
> well)

Um. Sounds ugly.

What if you beat ugly with fugly? Assuming device nodes haven't been removed...

%post --nochroot

mkdir /tmp/cdrom
mount /dev/cdrom
rpm -vh /tmp/cdrom/extrarpms/*rpm
tar -xjf /tmp/cdrom/mytars/foo.tar.bzip2
umount /tmp/cdrom
rm -fr /tmp/cdrom

%end



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Server-devel mailing list