Commit Graph

250 Commits

Author SHA256 Message Date
Sebastian Parschauer
2142b28987 Accepting request 525898 from home:sparschauer:branches:Base:System
- Make SUSE parted pass all tests in upstream test suite
- Fix partition naming for dm devices not ending in a digit and
  also fix resizing of dm partitions (bsc#1056508)

OBS-URL: https://build.opensuse.org/request/show/525898
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=133
2017-09-13 15:19:44 +00:00
Dominique Leuenberger
cfbb4a0e40 Accepting request 519107 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/519107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=117
2017-09-04 10:26:03 +00:00
Sebastian Parschauer
528c9a93d2 Accepting request 519106 from home:sparschauer:branches:Base:System
- Drop using deprecated configure option "--disable-Werror"
- Drop (SUSE specific) support for hybrid pMBR (gpt_sync_mbr
  label) (fate#317849, bsc#1041322)
  - remove: parted-gpt-mbr-sync.patch
  - remove: libparted-ppc-prepboot-in-syncmbr.patch
  - remove: parted-workaround-windows7-gpt-implementation.patch
  - refresh patches
- libparted: Fix starting CHS in protective MBR (bsc#969165)
  - add: libparted-fix-starting-CHS-in-protective-MBR.patch

OBS-URL: https://build.opensuse.org/request/show/519106
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=132
2017-08-28 11:36:52 +00:00
Dominique Leuenberger
ac5172b500 Accepting request 517037 from Base:System
- Fix s390x --wipesignatures regression caused by fate#320525
  (bsc#1047031)
  - amend: parted-implement-wipesignatures-option.patch
  - refresh: 0002-dasd-enhance-device-probing.patch

- Amend parsing of empty GPT partition names to require quoted
  empty strings '""' or "''" (bsc#1023818, boo#1032562)
  - amend: parted-mkpart-allow-empty-gpt-part-name.patch

- parted: mkpart: Allow empty string "" for the GPT partition name
  in script mode (bsc#1023818, boo#1032562)
  - add: parted-mkpart-allow-empty-gpt-part-name.patch

OBS-URL: https://build.opensuse.org/request/show/517037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=116
2017-08-23 09:53:00 +00:00
Sebastian Parschauer
d2638b4319 - Fix s390x --wipesignatures regression caused by fate#320525
(bsc#1047031)
  - amend: parted-implement-wipesignatures-option.patch
  - refresh: 0002-dasd-enhance-device-probing.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=131
2017-08-15 15:31:07 +00:00
Sebastian Parschauer
c8d62f21e1 Accepting request 516173 from home:sparschauer:branches:Base:System
- Amend parsing of empty GPT partition names to require quoted
  empty strings '""' or "''" (bsc#1023818, boo#1032562)
  - amend: parted-mkpart-allow-empty-gpt-part-name.patch

OBS-URL: https://build.opensuse.org/request/show/516173
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=130
2017-08-11 15:11:48 +00:00
Sebastian Parschauer
3be8b0ebb2 Accepting request 515942 from home:sparschauer:branches:Base:System
- parted: mkpart: Allow empty string "" for the GPT partition name
  in script mode (bsc#1023818, boo#1032562)
  - add: parted-mkpart-allow-empty-gpt-part-name.patch

OBS-URL: https://build.opensuse.org/request/show/515942
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=129
2017-08-10 15:18:26 +00:00
Dominique Leuenberger
9625590bf1 Accepting request 503982 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/503982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=115
2017-06-20 08:59:38 +00:00
Sebastian Parschauer
66222ddae7 Accepting request 503981 from home:sparschauer:branches:Base:System
Fix handling of DASD-CDL flags lvm, raid and swap (fate#314888)

OBS-URL: https://build.opensuse.org/request/show/503981
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=128
2017-06-15 19:25:03 +00:00
Dominique Leuenberger
679c1bc5b4 Accepting request 495788 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/495788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=114
2017-05-20 08:11:35 +00:00
Sebastian Parschauer
3dff9b0589 Accepting request 495786 from home:sparschauer:branches:Base:System
Enhance fdasd detection and probing (bsc#935127, fate#320525)

OBS-URL: https://build.opensuse.org/request/show/495786
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=127
2017-05-18 07:06:10 +00:00
Sebastian Parschauer
942f78ffab Accepting request 494630 from home:sparschauer:branches:Base:System
Add support for RAM drives (bsc#1006834)

OBS-URL: https://build.opensuse.org/request/show/494630
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=126
2017-05-11 13:21:28 +00:00
Dominique Leuenberger
fba86e243a Accepting request 492573 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/492573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=113
2017-05-04 06:55:04 +00:00
Sebastian Parschauer
ef69beac35 Accepting request 492572 from home:sparschauer:branches:Base:System
Use latest fdasd/vtoc code base from s390-tools (fate#321531)

OBS-URL: https://build.opensuse.org/request/show/492572
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=125
2017-05-03 07:22:20 +00:00
Sebastian Parschauer
5568719e10 Accepting request 491638 from home:sparschauer:branches:Base:System
libparted: Don't warn if no HDIO_GET_IDENTITY ioctl

OBS-URL: https://build.opensuse.org/request/show/491638
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=124
2017-04-27 16:00:58 +00:00
Dominique Leuenberger
218c370ee8 Accepting request 418650 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/418650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=112
2016-08-25 07:48:45 +00:00
Sebastian Parschauer
01fe17fce4 Accepting request 417986 from home:sparschauer:branches:Base:System
Sync with SLES-12 SP2 for bsc#989751 and bsc#979275

OBS-URL: https://build.opensuse.org/request/show/417986
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=123
2016-08-11 10:30:52 +00:00
Dominique Leuenberger
62e43ea011 Accepting request 404445 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/404445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=111
2016-06-26 21:51:46 +00:00
c3afce22ec Accepting request 403569 from home:jengelh:branches:Base:System
- install_info should run in %preun; otherwise the files to operate
  are gone already.
- Drop with-pic: only useful for static libs (which are not built)
Drop redundant %clean and switch from LDFLAGS to LIBS because that's the proper variable name

OBS-URL: https://build.opensuse.org/request/show/403569
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=122
2016-06-24 07:49:52 +00:00
Petr Uzel
b2e8130d36 - Detect NVMe devices and fix the nvme partition naming scheme
(bsc#982169)
  - libparted-Add-support-for-NVMe-devices.patch
  - libparted-fix-nvme-partition-naming.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=121
2016-06-14 11:11:50 +00:00
Dominique Leuenberger
951bb120b5 Accepting request 398311 from Base:System
- Update parted-implement-wipesignatures-option.patch:
  - Move functionality to libparted (bsc#980834)
- libparted: open the device RO and lazily switch to RW only if
  necessary (bsc#979275)
  - libparted-open-the-device-RO-and-lazily-switch-to-RW.patch

OBS-URL: https://build.opensuse.org/request/show/398311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=110
2016-05-29 01:07:01 +00:00
Petr Uzel
68397a67d2 Fix bsc number in changelog
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=120
2016-05-27 06:53:42 +00:00
Petr Uzel
f9709be99e - Update parted-implement-wipesignatures-option.patch:
- Move functionality to libparted (bsc#980384)
- libparted: open the device RO and lazily switch to RW only if
  necessary (bsc#979275)
  - libparted-open-the-device-RO-and-lazily-switch-to-RW.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=119
2016-05-26 13:48:48 +00:00
Dominique Leuenberger
ac8c358a02 Accepting request 396726 from Base:System
- implement --wipesignatures option (bsc#943623, fate#319893)
  - parted-implement-wipesignatures-option.patch

- libparted: Use read only when probing devices on linux
  - libparted-Use-read-only-when-probing-devices-on-linu.patch
  (bsc#967375)

OBS-URL: https://build.opensuse.org/request/show/396726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=109
2016-05-23 14:36:43 +00:00
Petr Uzel
c607a856b8 - libparted-Use-read-only-when-probing-devices-on-linu.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=118
2016-05-19 08:14:31 +00:00
Petr Uzel
038e7d22ce - implement --wipesignatures option (bsc#943623, fate#319893)
- parted-implement-wipesignatures-option.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=117
2016-05-18 07:25:05 +00:00
Petr Uzel
a21105c265 - libparted: Use read only when probing devices on linux
(bsc#967375)

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=116
2016-03-11 11:49:52 +00:00
Dominique Leuenberger
2572ec2cce Accepting request 332111 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/332111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=108
2015-10-01 07:27:10 +00:00
Petr Uzel
b406d9a2e9 Accepting request 330325 from home:favogt:branches:Base:System
gpt_sync_mbr_alloc didn't initialize AlternateLBA properly, so it tried to seek to -32. This updates parted-gpt-mbr-sync.patch by making gpt_sync_mbr_alloc a copy of gpt_alloc with just minor modifications. Fixes bsc#945068.

OBS-URL: https://build.opensuse.org/request/show/330325
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=115
2015-09-19 17:56:08 +00:00
Dominique Leuenberger
013df809c0 Accepting request 309807 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/309807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=107
2015-06-04 06:59:57 +00:00
Petr Uzel
2c837fa2aa - Remove 'udevadm' from Requires; parted no longer calls 'udevadm
settle'

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=114
2015-05-26 11:22:05 +00:00
Petr Uzel
a6eb48faa6 - Add note to specfile to remove parted-resize-alias-to-resizepart.patch
compatibility patch once bnc#931765 is resolved.

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=113
2015-05-21 06:44:07 +00:00
Dominique Leuenberger
2d3487dd10 Accepting request 305458 from Base:System
- Do not warn about shrinking a partition if script mode is used
  (bnc#929189)
  - add: parted-do-not-warn-when-shrinking-in-script-mode.patch

- Update to parted-3.2; Notable changes:
  - Added new partition type flag, esp, to set the type to 0xEF on
    MS-DOS.  Also aliased to boot on GPT to set the UEFI ESP GUID.
  - You can now choose to ignore errors about partitions that
    overlap, or are longer than the disk.  This allows you to use
    parted to repair the problem.
  - When attempting to manipulate a mounted partition, parted now
    issues a warning that you can choose to ignore, instead of an
    error.
  - When creating a loop label, it automatically comes with a
    partition using the whole disk.
  - parted -l no longer lists device-mapper devices other than
    dmraid whole disks.
  - Added new Linux-specific partition GUID type code
    (0FC63DAF-8483-4772-8E79-3D69D8477DE4) for Linux filesystem
    data on GPT disks.  This type code is now assigned as the
    default partition type code for new partitions holding Linux
    filesystems.
  - Added new "msftdata" flag to identify partitions holding NTFS
    or FAT filesystems on GPT disks.  This flag corresponds to a
    GPT type code of EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
    ("Microsoft Basic Data").  Since Linux filesystem partitions
    formerly used this type code, this flag may optionally be set
    on Linux partitions to make the partition table type codes
    match former configurations in case the new Linux filesystem
    type code causes problems with some utility.  Note that this

OBS-URL: https://build.opensuse.org/request/show/305458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=106
2015-05-06 09:18:22 +00:00
Petr Uzel
58214a8e18 - Do not warn about shrinking a partition if script mode is used
(bnc#929189)
  - add: parted-do-not-warn-when-shrinking-in-script-mode.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=112
2015-05-05 14:11:46 +00:00
Dominique Leuenberger
9a9487f9d3 Revert to version 3.1 for now - YaST needs to be fixed first
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=105
2015-04-30 08:50:38 +00:00
Dominique Leuenberger
9f21f15692 Accepting request 303811 from Base:System
- Update to parted-3.2; Notable changes:
  - Added new partition type flag, esp, to set the type to 0xEF on
    MS-DOS.  Also aliased to boot on GPT to set the UEFI ESP GUID.
  - You can now choose to ignore errors about partitions that
    overlap, or are longer than the disk.  This allows you to use
    parted to repair the problem.
  - When attempting to manipulate a mounted partition, parted now
    issues a warning that you can choose to ignore, instead of an
    error.
  - When creating a loop label, it automatically comes with a
    partition using the whole disk.
  - parted -l no longer lists device-mapper devices other than
    dmraid whole disks.
  - Added new Linux-specific partition GUID type code
    (0FC63DAF-8483-4772-8E79-3D69D8477DE4) for Linux filesystem
    data on GPT disks.  This type code is now assigned as the
    default partition type code for new partitions holding Linux
    filesystems.
  - Added new "msftdata" flag to identify partitions holding NTFS
    or FAT filesystems on GPT disks.  This flag corresponds to a
    GPT type code of EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
    ("Microsoft Basic Data").  Since Linux filesystem partitions
    formerly used this type code, this flag may optionally be set
    on Linux partitions to make the partition table type codes
    match former configurations in case the new Linux filesystem
    type code causes problems with some utility.  Note that this
    flag cannot be removed from NTFS or FAT partitions within
    parted except by setting a competing flag, such as "boot"
    (which sets the type code used by EFI System partitions) or
    "msftres" (which sets the "Microsoft Reserved" type code).

OBS-URL: https://build.opensuse.org/request/show/303811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=104
2015-04-27 10:59:26 +00:00
Petr Uzel
5a2cd49a44 Accepting request 303792 from home:puzel:branches:Base:System
- Update to parted-3.2; Notable changes:
  - Added new partition type flag, esp, to set the type to 0xEF on
    MS-DOS.  Also aliased to boot on GPT to set the UEFI ESP GUID.
  - You can now choose to ignore errors about partitions that
    overlap, or are longer than the disk.  This allows you to use
    parted to repair the problem.
  - When attempting to manipulate a mounted partition, parted now
    issues a warning that you can choose to ignore, instead of an
    error.
  - When creating a loop label, it automatically comes with a
    partition using the whole disk.
  - parted -l no longer lists device-mapper devices other than
    dmraid whole disks.
  - Added new Linux-specific partition GUID type code
    (0FC63DAF-8483-4772-8E79-3D69D8477DE4) for Linux filesystem
    data on GPT disks.  This type code is now assigned as the
    default partition type code for new partitions holding Linux
    filesystems.
  - Added new "msftdata" flag to identify partitions holding NTFS
    or FAT filesystems on GPT disks.  This flag corresponds to a
    GPT type code of EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
    ("Microsoft Basic Data").  Since Linux filesystem partitions
    formerly used this type code, this flag may optionally be set
    on Linux partitions to make the partition table type codes
    match former configurations in case the new Linux filesystem
    type code causes problems with some utility.  Note that this
    flag cannot be removed from NTFS or FAT partitions within
    parted except by setting a competing flag, such as "boot"
    (which sets the type code used by EFI System partitions) or
    "msftres" (which sets the "Microsoft Reserved" type code).

OBS-URL: https://build.opensuse.org/request/show/303792
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=109
2015-04-24 15:49:30 +00:00
Dominique Leuenberger
6377f5da14 Accepting request 262455 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/262455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=103
2014-12-09 08:13:41 +00:00
Tomáš Chvátal
ba90def03c Accepting request 261551 from home:dimstar:gpg2
OBS-URL: https://build.opensuse.org/request/show/261551
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=107
2014-11-20 13:00:56 +00:00
Stephan Kulow
bfd2687296 Accepting request 250649 from Base:System
- Add an "implicit_partition_table" disk flag to mark
  FBA DASD disks with fake partition (bnc#894585)
  - libparted-dasd-implicit-partition-disk-flag.patch
- refresh following patches to fix build:
  - parted-type.patch
  - parted-mac.patch
  - parted-Add-Intel-Rapid-Start-Technology-partition.patch

OBS-URL: https://build.opensuse.org/request/show/250649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=102
2014-09-24 11:09:00 +00:00
Petr Uzel
64eafa17ea - Add an "implicit_partition_table" disk flag to mark
FBA DASD disks with fake partition (bnc#894585)
  - libparted-dasd-implicit-partition-disk-flag.patch
- refresh following patches to fix build:
  - parted-type.patch
  - parted-mac.patch
  - parted-Add-Intel-Rapid-Start-Technology-partition.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=105
2014-09-22 10:40:52 +00:00
Stephan Kulow
99d5ffb7df Accepting request 247956 from Base:System
- Keyring contained no less than 374 public keys.
  Replace with project members only keyring from project page. (forwarded request 247867 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/247956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=101
2014-09-10 05:27:44 +00:00
d77216bc9a Accepting request 247867 from home:AndreasStieger:branches:Base:System
- Keyring contained no less than 374 public keys.
  Replace with project members only keyring from project page.

OBS-URL: https://build.opensuse.org/request/show/247867
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=103
2014-09-08 08:00:14 +00:00
Stephan Kulow
f61478f8e5 Accepting request 245600 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/245600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=99
2014-08-25 09:03:04 +00:00
dc24f77806 Accepting request 245097 from home:fcrozat:branches:Base:System
- Add obsoletes/provides to baselibs.conf.

OBS-URL: https://build.opensuse.org/request/show/245097
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=101
2014-08-21 13:14:09 +00:00
Stephan Kulow
8a5e514149 Accepting request 243394 from Base:System
- Fix a bug where cylinders can be treated by parted as exact
  location, which prevents it from adjusting partition/start end.
  (bnc#880369)
  - libparted-make-sure-not-to-treat-percentages-and-cyls-as-exact.patch

OBS-URL: https://build.opensuse.org/request/show/243394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=98
2014-08-05 08:24:20 +00:00
Petr Uzel
24fd71348c - Fix a bug where cylinders can be treated by parted as exact
location, which prevents it from adjusting partition/start end.
  (bnc#880369)
  - libparted-make-sure-not-to-treat-percentages-and-cyls-as-exact.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=99
2014-08-01 12:43:34 +00:00
Stephan Kulow
2c383db391 Accepting request 241493 from Base:System
- Make informing the kernel by BLKRRPART (specific to s390) more
  robust by sleeping between every retry and by placing
  exclusive file lock on the blockdevice (bnc#886005)
  - libparted-make-BLKRRPART-more-robust.patch

- Improve DASD label handling; backport following patches
  from upstream (bnc#887333):
  - libparted-add-support-for-implicit-FBA-DASD-partition.patch
  - libparted-add-support-for-EAV-DASD-partitions.patch
  - libparted-mklabel-to-support-EAV-DASD.patch
  - libparted-Avoid-dasd-as-default-disk-type-while-probe.patch
  - libparted-mklabel-to-support-EDEV-DASD.patch

OBS-URL: https://build.opensuse.org/request/show/241493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=97
2014-07-21 08:34:52 +00:00
Petr Uzel
987a8290eb - Make informing the kernel by BLKRRPART (specific to s390) more
robust by sleeping between every retry and by placing
  exclusive file lock on the blockdevice (bnc#886005)
  - libparted-make-BLKRRPART-more-robust.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=97
2014-07-18 13:45:52 +00:00
Petr Uzel
4f4200ec76 - Improve DASD label handling; backport following patches
from upstream (bnc#887333):
  - libparted-add-support-for-implicit-FBA-DASD-partition.patch
  - libparted-add-support-for-EAV-DASD-partitions.patch
  - libparted-mklabel-to-support-EAV-DASD.patch
  - libparted-Avoid-dasd-as-default-disk-type-while-probe.patch
  - libparted-mklabel-to-support-EDEV-DASD.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=96
2014-07-18 09:34:42 +00:00