Changeset 3345


Ignore:
Timestamp:
Feb 13, 2015, 8:45:56 PM (5 years ago)
Author:
bruno
Message:
  • mindi will now always use the perl parted2fdisk script and do not use symlinks anymore to fdisk. Instead fdisk is now called from parted2fdisk
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/install.sh

    r3264 r3345  
    111111
    112112# Managing parted2fdisk
    113 if [ "$ARCH" = "ia64" ] ; then
    114     (cd $SBINDIR && ln -sf parted2fdisk.pl parted2fdisk)
    115     install -s -m 755 $SBINDIR/parted2fdisk.pl $locallib/mindi/rootfs/usr/sbin/parted2fdisk
    116 else
    117     # FHS requires fdisk under /sbin - BUT /sbin is now obsolete on recent distros :-(
    118     (cd $SBINDIR && ln -sf ../../sbin/fdisk parted2fdisk)
    119     echo "Symlinking fdisk to parted2fdisk"
    120     ( cd $locallib/mindi/rootfs/usr/sbin && ln -sf fdisk parted2fdisk)
    121 fi
     113(cd $SBINDIR && ln -sf parted2fdisk.pl parted2fdisk)
     114install -s -m 755 $SBINDIR/parted2fdisk.pl $locallib/mindi/rootfs/usr/sbin/parted2fdisk
    122115
    123116if [ "$PKGBUILDMINDI" != "true" ]; then
    124117    chown -R root:root $locallib/mindi $conf # $DOCDIR
    125118    chown root:root $SBINDIR/mindi $MANDIR/mindi.8 $locallib/mindi/analyze-my-lvm $SBINDIR/parted2fdisk.pl
    126     if [ "$ARCH" = "ia64" ] ; then
    127         chown root:root $SBINDIR/parted2fdisk
    128     fi
    129119fi
    130120
Note: See TracChangeset for help on using the changeset viewer.