CyanogenMod/android_bootable_recovery — comment on commit f1bde365724b63b0f2b97304167fe60da9fd44cd
File: utilities/sdparted line 549
By plastikman:

extendedcommands.c sets this variable. if the device has internal and external (/sdcard and /emmc) this causes a bug that only the external sdcard is partitoned. removing line 549 - 555 resolves the issue allowing devices like the Viewsonic Gtablet and other hybrid MTD/MMC devices to be partitioned properly.