#58 ✓resolved
Deleted User

install packages only if needed

Reported by Deleted User | April 2nd, 2009 @ 09:55 PM | in 1.0.0.Beta4

If we're building an image for EC2, don't install VMware packages. Same for XEN. Install it only if we specify VMware image type.

Comments and changes to this ticket

  • Deleted User

    Deleted User April 3rd, 2009 @ 12:25 AM

    • State changed from “new” to “open”

    Maybe this way:

    sudo losetup -f
    sudo losetup -o 32256 /dev/loop0 jboss-cloud/build/appliances/i386/fedora/10/front-end-appliance/front-end-appliance-sda.raw
    sudo mount /dev/loop0 -t ext3 /home/oddthesis/tmp/
    sudo mount -t sysfs none tmp/sys/
    sudo mount -o bind /dev/ tmp/dev/
    sudo mount -t proc none tmp/proc/
    sudo mount -o bind /etc/resolv.conf tmp/etc/resolv.conf
    sudo chroot tmp/ yum -y install mc
    
    
  • Deleted User

    Deleted User April 3rd, 2009 @ 12:35 AM

    We can install local pacakges too in that way:

    mkdir tmp/tmp/oddthesis_install
    sudo mount -o bind jboss-cloud/build/topdir/fedora/10/ tmp/tmp/oddthesis_install/
    sudo chroot tmp/ rpm -Uvh tmp/oddthesis_install/RPMS/noarch/httpd-appliance-1.0.0.Beta3-1.noarch.rpm
    
    
  • Deleted User

    Deleted User April 5th, 2009 @ 11:56 PM

    • State changed from “open” to “resolved”

    Done, check out ApplianceImageCustomize class.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

**We moved**

Read more here: http://community.jboss.org/docs/DOC-14372

People watching this ticket

Pages