Commit Graph

127 Commits

Author SHA256 Message Date
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
688bfd6e83 delete dropped patches from source directory
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=80
2014-01-10 10:19:46 +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
Ismail Dönmez
6253503a7b Accepting request 129067 from home:a_jaeger:FactoryFix
Fix build with missing gets declaration (glibc 2.16)

OBS-URL: https://build.opensuse.org/request/show/129067
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=65
2012-07-27 11:11:41 +00:00
Petr Uzel
d279dd4849 - copy dummy bootcode to MBR only on x86 because it can cause
problems to certain ARM machine (bnc#769789)
  - add: dummy-bootcode-only-for-x86.patch

- fix informing the kernel about partitions on cciss devices
  (bnc#757225)
  - add: parted-fix-cciss-partition-naming.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=63
2012-07-03 13:40:05 +00:00
Petr Uzel
1d851a98d3 - fix crash in nilfs2 probe function if there is tiny (1s)
partition on the disk (bnc#735763)
  - fix-nilfs2-probe-function.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=60
2011-12-30 08:47:40 +00:00
OBS User buildservice-autocommit
d4b7d3c6be Updating link to change in openSUSE:Factory/parted revision 76.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=fe80276674143636e3be563f86f49974
2011-12-06 17:36:01 +00:00
Andreas Jaeger
961d5c0745 Accepting request 92626 from home:coolo:removelibtool
- add libtool as buildrequire to avoid implicit dependency

OBS-URL: https://build.opensuse.org/request/show/92626
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=58
2011-11-21 14:07:35 +00:00
Petr Uzel
e059bebac4 - improve loop support, fix geometry reporting on loopback devices:
parted-improve-loop-support.patch (bnc#726603)

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=55
2011-10-27 08:16:15 +00:00
Petr Uzel
c61974b09f - improve parted-gpt-sync-mbr-label.patch: do not
sync partitions that can not be represented by the DOS label
  (bnc#710402)

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=52
2011-09-27 09:17:42 +00:00
OBS User buildservice-autocommit
b5ef70a57e Updating link to change in openSUSE:Factory/parted revision 71.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=f2bf21b0406139e941c14ffa255e1b1e
2011-09-09 09:50:16 +00:00
Petr Uzel
4422e9b7c7 change do-not-create-dm-nodes.patch so that parted does not remove dm partition mappings and leaves the job up to kpartx -u called via udev (bnc#712177, bnc#679780)
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=49
2011-09-07 15:20:04 +00:00
OBS User buildservice-autocommit
d92fc9a8d4 Updating link to change in openSUSE:Factory/parted revision 69.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=1392768fe267bfc94a65e7e726e3c8ae
2011-09-05 14:43:48 +00:00
Petr Uzel
58f21d3b6a add parted-use-ext-range.patch (bnc#715695)
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=47
2011-09-05 12:34:13 +00:00
OBS User buildservice-autocommit
3f364e53db Updating link to change in openSUSE:Factory/parted revision 67.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=66e3b35579020fa6b09b1a880a77b48c
2011-08-26 07:25:12 +00:00
Petr Uzel
0f475813e0 add parted-gpt-sync-mbr-label.patch (bnc#710402) (this patch implements support for special label 'gpt-sync-mbr')
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=45
2011-08-25 10:50:39 +00:00