partition.library: Conversion to rellib