Changeset 3793 in /cluster/svnroot


Ignore:
Timestamp:
Sep 4, 2012 7:57:10 PM (8 years ago)
Author:
skylar
Message:

use parted rather than fdisk to set lvm partition type (#57)

Location:
bccd-ng/branches/skylar/bccd-3.1.1/packages
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar/bccd-3.1.1/packages/liberate.pl

    r3791 r3793  
    178178    "",
    179179    "Set LVM PV partition type.",
    180     "fdisk $opts{'libdev'} < $LIBFETCH/fdisk_lvm.input",
     180    "/sbin/parted -s -- $opts{'libdev'} set 2 lvm on",
    181181    );
    182182
     
    242242    "",
    243243    "Made filesystem for /boot.",
    244     "mke2fs -L /boot -j $BOOTDEV",
     244    "mke2fs -j $BOOTDEV",
    245245    );
    246246
     
    577577    "a",
    578578    "$LIBDIR/etc/fstab",
    579     "$SLASHDEV / ext3 rw 0 0\n$SWAPDEV none swap    sw 0 0\nLABEL=/boot /boot ext3 defaults 1 2\n",
     579    "$SLASHDEV / ext3 rw 0 0\n$SWAPDEV none swap    sw 0 0\n$BOOTDEV /boot ext3 defaults 1 2\n",
    580580    );
    581581
Note: See TracChangeset for help on using the changeset viewer.