Commit Graph

322 Commits

Author SHA1 Message Date
Igor Gnatenko
185ade9225 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:24 +01:00
Igor Gnatenko
c7c469766d
Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-27 19:39:40 +01:00
Brian C. Lane
8f615e462d - Read NVMe model names from sysfs (dann.frazier)
- Fix warnings from GCC 7's -Wimplicit-fallthrough (dann.frazier)
- ped_unit_get_name: Resolve conflicting attributes 'const' and 'pure' (dann.frazier)
- Add udf to t1700-probe-fs and to the manpage (bcl)
- libparted: Add support for MBR id, GPT GUID and detection of UDF filesystem (pali.rohar)
- Fix potential command line buffer overflow (xu.simon)
- t6100-mdraid-partitions: Use v0.90 metadata for the test (bcl)
- parted.c: Make sure dev_name is freed (bcl)
- parted.c: Always free peek_word (bcl)
- Fix the length of several strncpy calls (bcl)
2018-10-16 15:38:03 -07:00
Brian C. Lane
c0bbbd4bbe - drop ldconfig, it no longer needs to be called on un/install (bcl)
- Fix msdos-overlap py3 conversion (bcl)
2018-07-19 16:44:11 -07:00
Fedora Release Engineering
30d99a722c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 15:31:44 +00:00
Jason Tibbitts
14abe5ec64 Remove needless use of %defattr 2018-07-10 02:15:58 -05:00
Brian C. Lane
d6652ea632 - Use python3 in buildroot
- Add make to BuildRequires
- Switch gpt-header-move and msdos-overlap to python3 (bcl)
- Modify gpt-header-move and msdos-overlap to work with py2 or py3 (bcl)
- Fix atari label false positives (psusi)
- Lift 512 byte restriction on fat resize (psusi)
- build: Remove unused traces of dynamic loading (cjwatson)
- Fix resizepart iec unit end sector (psusi)
- mkpart: Allow negative start value when FS-TYPE is not given (mail)
- Fix set and disk_set to not crash when no flags are supported (psusi)
- tests: fix t6100-mdraid-partitions (psusi)
- Fix make check (psusi)
- linux: Include <sys/sysmacros.h> for major() macro. (rjones)
2018-06-27 14:44:42 -07:00
Brian C. Lane
3166d30c65 - Use gpg2 for signature checking 2018-06-07 09:47:30 -07:00
Richard W.M. Jones
749ef2e667 Fix for missing major/minor() macros in glibc 2.27. 2018-03-24 17:47:51 +00:00
Brian C. Lane
639e36f434 - Add gcc BuildRequires for future minimal buildroot support 2018-02-19 16:46:16 -08:00
Igor Gnatenko
d16b395769
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 09:11:26 +01:00
Fedora Release Engineering
b4c887cad2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 18:21:27 +00:00
Brian C. Lane
abca6a9a06 - Add support for NVDIMM devices (sparschauer)
- libparted/labels: link with libiconv if needed (arnout)
2017-12-19 11:55:37 -08:00
Brian C. Lane
633c511c8c - atari.c: Drop xlocale.h
Resloves: rhbz#1476934
2017-07-31 15:34:53 -07:00
Fedora Release Engineering
4e3bf318ee - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 02:13:10 +00:00
Brian C. Lane
a0d503db4c - libparted: Fix udev cookie leak in _dm_resize_partition (bcl)
Resolves: rhbz#1455564
2017-06-06 11:23:16 -07:00
Brian C. Lane
d75d85cc43 - Updating to upstream patches
- tests/t1701-rescue-fs wait for the device to appear. (bcl)
- Increase timeout for rmmod scsi_debug and make it a framework failure (bcl)
- libparted/dasd: add test cases for the new fdasd functions (dongdwdw)
- libparted/dasd: add an exception for changing DASD-LDL partition table (dongdwdw)
- libpartd/dasd: improve flag processing for DASD-LDL (dongdwdw)
- parted/ui: remove unneccesary information of command line (dongdwdw)
- parted: check the name of partition first when to name a partition (dongdwdw)
- Add support for RAM drives (sparschauer)
- Fix crash when localized (psusi)
- libparted: Fix typo in hfs error message (sebras)
- libparted: Fix MacOS boot support (laurent)
- mac: copy partition type and name correctly (saproj)
- libparted: Add support for atari partition tables (glaubitz)
- libparted:tests: Move get_sector_size() to common.c (glaubitz)
- tests: Update t0220 and t0280 for the swap flag. (bcl)
- libparted: set swap flag on GPT partitions (aschnell)
- libparted/dasd: add test cases for the new fdasd functions (dongdwdw)
- libparted/dasd: add new fdasd functions (dongdwdw)
- libparted/dasd: update and improve fdasd functions (dongdwdw)
- libparted/dasd: unify vtoc handling for cdl/ldl (dongdwdw)
- libparted: Don't warn if no HDIO_GET_IDENTITY ioctl (sparschauer)
- libparted: Fix starting CHS in protective MBR (petr.uzel)
- tests: Stop timing t9040 (#1172675) (bcl)
2017-05-02 09:41:50 -07:00
Fedora Release Engineering
fd44e26140 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 01:17:52 +00:00
Igor Gnatenko
745a7d2412 Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:36 +01:00
Brian C. Lane
c6a1bfceda - tests: t3310-flags.sh: skip pc98 when sector size != 512 (bcl)
- tests: Set optimal blocks to 64 for scsi_debug devices (bcl)
- tests: t3310-flags.sh: Add tests for remaining table types (mike.fleetwood)
- tests: t3310-flags.sh: Add test for dvh table flags (mike.fleetwood)
- tests: t3310-flags.sh: Add test for mac table flags (mike.fleetwood)
- libparted: Remove commented local variable from bsd_partition_set_flag()
  (mike.fleetwood)
- libparted: Fix to report success when setting lvm flag on bsd table
  (mike.fleetwood)
- tests: t3310-flags.sh: Add test for bsd table flags (mike.fleetwood)
- tests: t3310-flags.sh: Stop excluding certain flags from being tested
  (mike.fleetwood)
- tests: t3310-flags.sh: Query libparted for all flags to be tested
  (mike.fleetwood)
- libparted: only IEC units are treated as exact (petr.uzel)
- docs: Improve partition description in parted.texi (gareth.randall)
- Add support for NVMe devices (petr.uzel)
- libparted/dasd: correct the offset where the first partition begins
  (dongdwdw)
2016-10-04 16:53:44 -07:00
Brian C. Lane
7e779bb347 - Cleanup mkpart manpage entry (#1183077)
- doc: Add information about quoting
2016-06-15 17:28:00 -07:00
Brian C. Lane
bdb87d14b5 - libparted: Fix probing AIX disks on other arches
- partprobe: Open the device once for probing
2016-05-26 12:05:08 -07:00
Brian C. Lane
6ad4b6c092 - libparted: Remove fdasd geometry code from alloc_metadata (#1244833) (bcl)
- parted: Display details of partition alignment failure (#726856) (bcl)
- docs: Add list of filesystems for fs-type (#1311596) (bcl)
- Use disk geometry as basis for ext2 sector sizes. (Steven.Lang)
- parted: fix the rescue command (psusi)
2016-04-12 16:51:26 -07:00
Brian C. Lane
3c4e97cf6e - Use BLKSSZGET to get device sector size in _device_probe_geometry() 2016-03-29 15:10:13 -07:00
Brian C. Lane
4d35fa8c43 - lib-fs-resize: Prevent crash resizing FAT with very deep directories
- Add libparted/fs/.libs/ to LD_LIBRARY_PATH during make check
2016-03-07 11:55:00 -08:00
Brian C. Lane
e0ee88ed50 - Cleanup library path usage in specfile
pkgconfig wasn't finding libparted.pc because it was under /usr/lib64/
- Explicitly reference the library files instead of use wildcards.
- Move libparted-fs-resize.so to the -devel package where it belongs.
- Add a pkgconfig file for the filesystem resize library
- tests: Add udevadm settle to wait_for_ loop
- tests: Add wait to t9042
- tests: Fix t1700 failing on a host with a 4k xfs file
2016-03-02 13:09:35 -08:00
Brian C. Lane
ed6adbba63 - fdasd.c Safeguard against geometry misprobing.patch (#1305931) 2016-02-09 17:49:45 -08:00
Fedora Release Engineering
b6f7bbc110 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 11:57:39 +00:00
Brian C. Lane
7f3a5f1056 - parted: fix build error on s390 2015-10-29 16:36:00 -07:00
Brian C. Lane
b965023a70 - dasd: enhance device probing
- fdasd: geometry handling updated from upstream s390-tools
2015-10-27 17:02:48 -07:00
Brian C. Lane
7f6b65822f - tests: Fix patch 0012 test for extended partition length
- UI: Avoid memory leaks
- libparted: Fix memory leaks.patch
- libparted: Fix possible memory leaks.patch
- libparted: Stop converting . in-sys-path-to /
- libparted: Use read-only when probing devices on linux
- tests: Use wait_for_dev_to_ functions
2015-08-07 15:53:08 -07:00
Brian C. Lane
0380a6b2b7 - parted: Fix crash with name command and no disklabel (#1226067) 2015-07-14 14:54:14 -07:00
Dennis Gilmore
5ca1687d00 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 00:46:52 +00:00
Brian C. Lane
441cefc372 - tests: Make sure the extended partition length is 2 (#1135493)
- libparted: BLKPG_RESIZE_PARTITION uses bytes not sectors (#1135493)
2015-06-05 15:46:45 -07:00
Brian C. Lane
123da5f5e2 - Add python2 as a BuildRequires, used in some of the tests 2015-04-28 15:47:30 -07:00
Brian C. Lane
42e67f88fc - Update manpage NAME so whatis will work (bcl)
- libparted: device mapper uses 512b sectors (bcl)
- tests: Add a test for device-mapper partition sizes (bcl)
- parted: don't crash in disk_set when disk label not found (psusi)
2015-04-28 14:53:11 -07:00
Brian C. Lane
00c01769a8 - tests: Change minimum size to 256MiB for t1700-probe-fs 2014-11-07 11:22:44 -08:00
Brian C. Lane
0417c3cdb2 - Update to current master commit ac74b83 to fix fat16 resize (#1159083)
- tests: t3000-resize-fs.sh: Add requirement on mkfs.vfat (mike.fleetwood)
- tests: t3000-resize-fs.sh: Add FAT16 resizing test (mike.fleetwood)
- lib-fs-resize: Prevent crash resizing FAT16 file systems (mike.fleetwood)
- libparted: also link to UUID_LIBS (heirecka)
2014-10-31 13:38:24 -07:00
Peter Robinson
186d87b0a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 14:54:54 +00:00
Brian C. Lane
2edf16c913 - Use a better patch to find the UTF8 locale for t0251 2014-08-13 13:59:06 -07:00
Brian C. Lane
06fca52438 - Rebase on upstream stable release v3.2
- Drop upstream patches.
- Patch t0251 to use en_US.UTF-8 if possible. Fedora doesn't have C.UTF-8
2014-07-30 14:19:13 -07:00
Tom Callaway
419aff7905 fix license handling 2014-07-30 11:00:02 -04:00
Brian C. Lane
3dcf9083a3 - Rebase on upstream Alpha source release
- drop included patches (all but one)
- add Phillip Susi's GPG key
- make sure gcc warnings as errors remains disabled since we use git for patches
2014-07-28 12:50:21 -07:00
Brian C. Lane
13386670d0 - Rebase on parted master commit 081ed98
- libparted: Add support for partition resize
- parted: add resizepart command
2014-07-14 14:44:27 -07:00
Brian C. Lane
73aa139585 - Rebase on parted master commit 1da239e2ebd2
- libparted: Fix bug with dupe and empty name
2014-06-13 09:52:56 -07:00
Dennis Gilmore
2b6c439fa4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 18:45:40 -05:00
Peter Robinson
47e47bd8ef Move dev docs to devel, Drop duplicated/outdated docs 2014-06-01 00:10:54 +01:00
Brian C. Lane
64daa79b38 - Use mkfs.xfs to create files (#1101112) 2014-05-27 08:47:07 -07:00
Brian C. Lane
5dcb73843d - Add some missing patches from master and the loop label fixes
- tests: test loop labels (psusi)
- libparted: don't trash filesystem when writing loop label (psusi)
- libparted: give correct partition device name on loop labels (psusi)
- partprobe: do not skip loop labels (psusi)
- libparted: don't create partition on loop label (psusi)
- libparted: fix loop labels to not vanish (psusi)
- libparted: remove all old partitions, even if new label allows less (psusi)
- libparted: remove old partitions *first* before adding new ones (psusi)
- libparted: don't detect fat and ntfs boot sectors as dos MBR (psusi)
- Fix filesystem detection on non 512 byte sectors (psusi)
- tests: fix t2310-dos-extended-2-sector-min-offset.sh (psusi)
- libparted: remove last_usable_if_grown (psusi)
2014-05-22 15:03:30 -07:00
Brian C. Lane
3e3c91556c - Fix partition naming patch for big endian systems. 2014-05-16 16:20:42 -07:00