Changeset 1033 in MondoRescue for branches/2.2.1/mindi-busybox


Ignore:
Timestamp:
Jan 4, 2007, 1:49:33 AM (17 years ago)
Author:
Bruno Cornec
Message:

mindi-busybox ebuild really simplified !

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.1/mindi-busybox/distributions/gentoo/mindi-busybox.ebuild

    r1032 r1033  
    2929    # bundle up the symlink files for use later
    3030    emake PREFIX="${D}/usr/share/mindi/rootfs" install || die
    31     rm _install/bin/busybox
    32     tar cf busybox-links.tar -C _install . || die
    33     insinto /usr/share/mindi
    34     doins busybox-links.tar || die
    3531}
    36 
    37 pkg_preinst() {
    38     mv "${D}"/usr/share/mindi/busybox-links.tar "${T}"/ || die
    39 }
    40 
    41 pkg_postinst() {
    42     cd "${T}" || die
    43     mkdir _install
    44     tar xf busybox-links.tar -C _install || die
    45     cp -vpPR _install/* /usr/share/mindi/rootfs/bin || die "copying links for ${x} failed"
    46 
    47     echo
    48 }
Note: See TracChangeset for help on using the changeset viewer.