Commit Graph

126 Commits

Author SHA256 Message Date
Sebastian Parschauer
39139f7681 Accepting request 578406 from home:sparschauer:branches:Base:System
- libparted: Fix partition device naming for all devices
  (bsc#1078820, bsc#1081547)
- libparted: Canonicalize /dev/md/ paths (bsc#1078820)

OBS-URL: https://build.opensuse.org/request/show/578406
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=139
2018-02-20 15:38:03 +00:00
Sebastian Parschauer
1dbfe78029 Accepting request 569975 from home:sparschauer:branches:Base:System
libparted: dasd: Use BLKRRPART only when needed

OBS-URL: https://build.opensuse.org/request/show/569975
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=138
2018-01-26 16:15:34 +00:00
Sebastian Parschauer
891b7feb03 Accepting request 559489 from home:sparschauer:branches:Base:System
Amend patch headers (no functional change)

OBS-URL: https://build.opensuse.org/request/show/559489
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=137
2017-12-22 16:53:51 +00:00
Sebastian Parschauer
3c3dbf367e Accepting request 558622 from home:sparschauer:branches:Base:System
fatresize: Fix getting the device name from partition name (boo#959181)

OBS-URL: https://build.opensuse.org/request/show/558622
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=136
2017-12-19 18:02:05 +00:00
Sebastian Parschauer
c60348fb0e Accepting request 544141 from home:sparschauer:branches:Base:System
Fix the resizepart and rm command (bsc#1058667)

OBS-URL: https://build.opensuse.org/request/show/544141
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=135
2017-11-21 11:38:50 +00:00
Sebastian Parschauer
3546816d4d Accepting request 541560 from home:sparschauer:branches:Base:System
- Escape printed device path in machine mode (bsc#1066467)
- Add support for NVDIMM devices (bsc#1064446)
- Prepare to fix the resizepart command (bsc#1058667)

OBS-URL: https://build.opensuse.org/request/show/541560
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=134
2017-11-13 17:52:10 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Petr Uzel
295facd1e7 - Allow bigger snap radius if cylinders are used as units
(bnc#879387):
  - add: libparted-allow-bigger-snap-radius-if-cylinders-are-used.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=94
2014-05-29 13:02:44 +00:00
Petr Uzel
5e69bfb129 - Fix the help text to show *disk* flags instead of partition flags
(bnc#872054):
 - add: Fix-help-text-for-disk_-set-toggle.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=92
2014-05-21 10:30:30 +00:00
e98a6f8bc3 Accepting request 232154 from home:puzel:branches:Base:System
- Support setting boot flag in pMBR (bnc#872054):
  - drop: revert-gpt-add-commands-to-manipulate-pMBR-boot-flag.patch 
  - add: libparted-copy-pmbr_boot-when-duplicating-GPT-disk.patch
  - refresh patches

OBS-URL: https://build.opensuse.org/request/show/232154
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=90
2014-05-07 09:41:13 +00:00
Petr Uzel
f8b73f8a67 - Fixup last commit - call BLKRRPART only for DASDs
- added patches:
  * libparted-use-BLKRRPART-for-DASD.patch.patch
- removed patches:
  * revert-libparted-remove-now-worse-than-useless-_kern.patch
  * revert-linux-remove-DASD-restriction-on-_disk_sync_p.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=88
2014-02-17 14:11:30 +00:00
Petr Uzel
117f4982e9 - Use BLKRRPART on DASD disks (instead of BLKPG_*) (bnc#862139)
- added patches:
  * revert-libparted-remove-now-worse-than-useless-_kern.patch
  * revert-linux-remove-DASD-restriction-on-_disk_sync_p.patch

- reserve first 2 tracks on DASD disks for metadata (bnc#862138)
  * add: libparted-dasd-do-not-use-first-tracks.patch
- initialize memory for newly allocated partition (bnc#862138)
  * add: libparted-initialize-dasd-part-type.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=86
2014-02-14 12:59:30 +00:00
Petr Uzel
a300c40622 - include new fatresize(8) utility
- added patches:
  * parted-fatresize-autoconf.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=84
2014-01-31 15:39:50 +00:00
Petr Uzel
fd1bb9d873 Fix parted-resize.patch - do not fail when shrinking a partition in noninteractive mode
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=82
2014-01-22 16:32:51 +00:00
Petr Uzel
b5a4ceef04 - update to parted-3.1 (fate#316110)
- changes in parted-3.1:
  * Changes in behavior
    - Floppy drives are no longer scanned on linux: they cannot be
      partitioned anyhow, and some users have a misconfigured BIOS
      that claims to have a floppy when they don't, and scanning
      gets hung up.
    - parted: the mkpart command has changed semantics with regard
      to specifying the end of the partition.  If the end is
      specified using units of MiB, GiB, etc., parted subtracts one
      sector from the specified value.  With this change, it is now
      possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
      so on.
  * Many bugfixes (see changelog)
- changes in parted-3.0:
  * Changes in behavior
    - Remove all FS-related (file system-related) sub-commands;
      these commands are no longer recognized because they were all
      dependent on parted "knowing" too much about file system:
      mkpartfs, mkfs, cp, move, check.
    - 'resize' command changed semantics:
      it no longer resizes the filesystem, but only moves end
      sector of the partition
- libparted-devel contains libparted-fs-resize library 
- add ability to change size of the partition (ignoring contained
  filesystem) with 'resize' command; this command has different
  semantics than the former 'resize' command which upstream
  decided to drop
  - parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 16:35:35 +00:00
Petr Uzel
1fa9bc7cf8 - Fix partition device names on MMC devices (bnc#847580)
- libparted-fix-mmcblk-partition-name.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=77
2013-12-30 09:20:53 +00:00
59707991b6 Accepting request 199375 from home:mlin7442:branches:Base:System
Added parted-Add-Intel-Rapid-Start-Technology-partition.patch backported patch that add iFFS partition type support for Intel Rapid Start Technology, this patch is from Fedora and was been sent to upstream http://lists.gnu.org/archive/html/bug-parted/2013-09/msg00022.html . fate#315713

OBS-URL: https://build.opensuse.org/request/show/199375
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=75
2013-09-20 15:17:00 +00:00
Petr Uzel
7c420fbb6e - fix hybrid pMBR (gpt_sync_mbr) on BE systems (bnc#809205)
- parted-fix-gpt-sync-on-BE-systems.patch 
- detect btrfs filesystem (bnc#810779)
  - parted-btrfs-support.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=73
2013-04-22 15:17:19 +00:00
acc6d6dfed Accepting request 164122 from home:namtrac:bugfix
- Add Source URL, see https://en.opensuse.org/SourceUrls
- Add GPG checking

OBS-URL: https://build.opensuse.org/request/show/164122
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=71
2013-04-15 14:51:19 +00:00
Petr Uzel
eb8d6edfbe - add fix-error-informing-the-kernel.patch:
Informing the kernel about partition changes still fails if first
  logical partition starts right after the extended partition. Fix
  it.

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=69
2012-11-21 15:11:08 +00:00
Petr Uzel
4173425efb - add parted-workaround-windows7-gpt-implementation.patch
(bnc#781688)

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=67
2012-09-27 13:49:43 +00:00