Commit Graph

566 Commits

Author SHA256 Message Date
cd9b9d676e OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=249 2014-08-21 14:16:08 +00:00
Tomáš Chvátal
4b9855b405 Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:

1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:

%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif

2)
You also need to make symlinks to util-linux-systemd and python-libmount.

And finally, this package is intended only for > 1310 (i. e. Factory).

3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set

There is false error and I have no work-around for this just now.

(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)

- Update to version 2.25
  (using work of Ruediger Meier <sweet_f_a@gmx.de>):
  * based on the git master branch of util-linux
  * many fixes (including bnc#869355, bnc#871951 and
    bnc#871698#c49)
  * new Python binding sub-package for libmount: python-libmount
  * new library: libsmartcols
  * new commands: lslogins, setpriv
  * add fstrim systemd timer
  * better systemd integration
  * DROPPED command:
    * cytune: Upstream decided to remove tool untested for years
      that supports this old hardware.
- Dropped patches included in the upstream:
    (*git) Included with no changes
    (+git) Included with improvements
    (!git) Included with differences
  * support-other-tty-lines-not-vconsole.patch           (*b9c7390)
  * agetty-fooled-on-serial-line-due-plymouth.patch,
  * sulogin-fooled-on-tty-line-due-plymouth.patch        (*bb280f7)
  * agetty-on-s390-on-dev-3270-tty1-line.patch           (*f2bcda5)
  * sulogin-does-not-find-any-console.patch              (*624b204)
  * util-linux-setarch-uname26.patch                     (*f6eb160)
  * util-linux-ng-2.16-squashfs3-detect.patch            (*11402f5)
  * util-linux-lscpu-improve-hypervisor-detection.patch
                     (!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
    WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
    hypervisor, as it breaks standard behavior. Use standard output
    instead! (FATE#310255)
  * blkid-stop-scanning-on-I-O-error.patch               (+296d96e)
  * blkid-convert-superblocks-to-new-calling-convention.patch
                                                         (+37f4060)
  * util-linux-libblkid-ext-probe.patch                  (*a1ca32f)
  * util-linux-hwclock-drift-check.patch                 (*f196fd1)
  * util-linux-hwclock-adjtime-check.patch               (*db8fc5f)
- Dropped obsolete patch:
  * util-linux-2.23.1-eject-fpie.patch      (eject is no more SUID)
  * util-linux-2.24-fdisk_remove_bogus_warnings.patch
                             (upstream fixed it in a different way)
  * util-linux-HACK-boot.localfs.diff
                         (MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
  * util-linux-2.23.1-noenc-suse.diff
    -> util-linux-noenc-suse.patch
- Split spec file to three stages:
  * util-linux.spec: Everything that do not need python or systemd.
  * util-linux-systemd.spec: Stuff that needs systemd:
    util-linux-systemd and uuidd
    NOTE: Not building systemd-less variants of utilities.
  * python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
  (bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)

OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 09:54:57 +00:00
Stephan Kulow
9fafb0ae0b Accepting request 242481 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/242481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=188
2014-07-27 06:24:04 +00:00
Stephan Kulow
ed823ddc37 Accepting request 242479 from home:dimstar:branches:Base:System
Really fix it

OBS-URL: https://build.opensuse.org/request/show/242479
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=246
2014-07-26 11:53:59 +00:00
Stephan Kulow
8470bfdd47 - fix requires of devel-static packages
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=245
2014-07-26 09:39:46 +00:00
Stephan Kulow
8a35765de5 Accepting request 242233 from home:dsterba:branches:Base:System
SR: the static packages should not be used normally, but can be used
by standalone rescue utilities (planned for btrfsprogs).

- enable build of libmount-devel-static, libuuid-devel-static and
  libblkid-devel-static

OBS-URL: https://build.opensuse.org/request/show/242233
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=244
2014-07-25 07:31:27 +00:00
Stephan Kulow
46f7ce00d3 Accepting request 235663 from Base:System
- use nologin from upstream (was added in 2.24) 
- remove unknown configure options
- remove unused and outdated suse READMEs
- require bc for checks (forwarded request 235657 from rudi_m)

OBS-URL: https://build.opensuse.org/request/show/235663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=187
2014-06-02 05:02:19 +00:00
Ruediger Meier
4f89b2fa1a Accepting request 235657 from home:rudi_m:xxx
- use nologin from upstream (was added in 2.24) 
- remove unknown configure options
- remove unused and outdated suse READMEs
- require bc for checks

OBS-URL: https://build.opensuse.org/request/show/235657
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=242
2014-05-28 10:59:39 +00:00
Stephan Kulow
3e68913fe8 Accepting request 234890 from Base:System
squashed sr234195  and re-submitted

- Prevent excessive clock drift calculations (bnc#871698,
  util-linux-prevent-excessive-clock-drift-calculations.patch),
  committed by sbrabec@suse.cz (forwarded request 234334 from rudi_m)

OBS-URL: https://build.opensuse.org/request/show/234890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=186
2014-05-22 18:38:39 +00:00
Ruediger Meier
c56100b554 Accepting request 234334 from home:rudi_m:branches:uuu
squashed sr234195  and re-submitted

- Prevent excessive clock drift calculations (bnc#871698,
  util-linux-prevent-excessive-clock-drift-calculations.patch),
  committed by sbrabec@suse.cz

OBS-URL: https://build.opensuse.org/request/show/234334
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=240
2014-05-20 18:42:15 +00:00
Dr. Werner Fink
32c852e202 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=239
2014-05-08 08:24:58 +00:00
Dr. Werner Fink
9b7feaf946 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=238
2014-05-07 14:14:28 +00:00
Dr. Werner Fink
d478c097f8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=237
2014-05-07 14:13:18 +00:00
Dr. Werner Fink
485304a4e8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=236
2014-05-07 13:43:50 +00:00
Dr. Werner Fink
23975498de .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=235
2014-05-07 13:37:00 +00:00
Stephan Kulow
256258167b Accepting request 231816 from Base:System
- minor update to util-linux 2.24.2
- remove tty3270-on-serial-line-of-s390.patch (was already upstream
  since 2.24.1)
- remove barrier_documentation.patch (applied upstream)
- rebase blkid-convert-superblocks-to-new-calling-convention.patch (forwarded request 231272 from rudi_m)

OBS-URL: https://build.opensuse.org/request/show/231816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=185
2014-05-03 14:51:32 +00:00
e41b22aefc Accepting request 231272 from home:rudi_m:branches:util-linux
- minor update to util-linux 2.24.2
- remove tty3270-on-serial-line-of-s390.patch (was already upstream
  since 2.24.1)
- remove barrier_documentation.patch (applied upstream)
- rebase blkid-convert-superblocks-to-new-calling-convention.patch

OBS-URL: https://build.opensuse.org/request/show/231272
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=233
2014-04-28 09:28:44 +00:00
Stephan Kulow
bf9d3c314a Accepting request 230697 from Base:System
- Enable socket activation needed by systemd service (bnc#872807).

- libblkid: Drop the broken ext2/ext3/ext4 discrimination logic
  (util-linux-libblkid-ext-probe.patch, bnc#864703).

- Abort blkid probing on I/O errors (bnc#859062,
  blkid-stop-scanning-on-I-O-error.patch,
  blkid-convert-superblocks-to-new-calling-convention.patch,
  http://www.spinics.net/lists/util-linux-ng/msg08976.html) (forwarded request 230696 from sbrabec)

OBS-URL: https://build.opensuse.org/request/show/230697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=184
2014-04-22 05:49:58 +00:00
737b1a31db Accepting request 230696 from home:sbrabec:branches:Base:System
- Enable socket activation needed by systemd service (bnc#872807).

- libblkid: Drop the broken ext2/ext3/ext4 discrimination logic
  (util-linux-libblkid-ext-probe.patch, bnc#864703).

- Abort blkid probing on I/O errors (bnc#859062,
  blkid-stop-scanning-on-I-O-error.patch,
  blkid-convert-superblocks-to-new-calling-convention.patch,
  http://www.spinics.net/lists/util-linux-ng/msg08976.html)

OBS-URL: https://build.opensuse.org/request/show/230696
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=231
2014-04-17 21:31:05 +00:00
Stephan Kulow
86222fff02 Accepting request 229044 from Base:System
- remove unnecessarily added patches from SLE11:
  * util-linux-update-default-commit-interval.patch, openSUSE  has
    never changed the default and neither will SLE12
  * sfdisk-warn-about-2TB-limit.patch, fixed by upstream years ago
  * umount-avoid-readlink.patch, this patch only affects unused
    code and the used code does not have this bug
- edit util-linux-lscpu-improve-hypervisor-detection.patch to not
  change the default behaviour of "lscpu -p" as documented in it's
  man page. Now this patch only affects the summary output.

Also see discussion here
http://lists.opensuse.org/opensuse-factory/2014-03/msg00256.html (forwarded request 228719 from rudi_m)

OBS-URL: https://build.opensuse.org/request/show/229044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=183
2014-04-06 07:56:38 +00:00
Stephan Kulow
4cf84bd5f1 Accepting request 228719 from home:rudi_m:uuu
- remove unnecessarily added patches from SLE11:
  * util-linux-update-default-commit-interval.patch, openSUSE  has
    never changed the default and neither will SLE12
  * sfdisk-warn-about-2TB-limit.patch, fixed by upstream years ago
  * umount-avoid-readlink.patch, this patch only affects unused
    code and the used code does not have this bug
- edit util-linux-lscpu-improve-hypervisor-detection.patch to not
  change the default behaviour of "lscpu -p" as documented in it's
  man page. Now this patch only affects the summary output.

Also see discussion here
http://lists.opensuse.org/opensuse-factory/2014-03/msg00256.html

OBS-URL: https://build.opensuse.org/request/show/228719
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=229
2014-04-04 14:54:05 +00:00
Stephan Kulow
77a0f86a05 Accepting request 226832 from Base:System
- Merge fixes and features from SLE11 (bnc#831868):
  * Detect squashfs version <= 3 as squashfs3 and version >= 4 as
    squashfs. (mszeredi@suse.cz,
    util-linux-ng-2.16-squashfs3-detect.patch, bnc#666893)
  * add sfdisk-warn-about-2TB-limit.patch (puzel@novell.com,
    bnc#495657)
  * Document barrier option in mount.8 (jack@suse.cz,
    hvogel@suse.de,
    util-linux-ng-2.19.1-barrier_documentation.patch, bnc#489740)
  * lscpu: improve hypervisor detection (puzel@novell.com,
    fate#310255)
    - util-linux-lscpu-improve-hypervisor-detection.patch
  * umount: avoid calling readlink on mountpoints if not necessary
    - add: umount-avoid-readlink.patch (puzel@suse.com, bnc#794529)
  * fix file conflict between util-linux and s390-32
    (puzel@suse.com, bnc#805684)
  * util-linux-update-default-commit-interval.patch:
    mount(8): update default commit interval (puzel@suse.com,
    bnc#809480)
  * Obsolete no more packaged uuid-runtime.
- Add uname26 (util-linux-setarch-uname26.patch, FATE#313476). (forwarded request 226509 from sbrabec)

OBS-URL: https://build.opensuse.org/request/show/226832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=182
2014-03-22 06:49:49 +00:00
1806747cca Accepting request 226509 from home:sbrabec:branches:Base:System
- Merge fixes and features from SLE11 (bnc#831868):
  * Detect squashfs version <= 3 as squashfs3 and version >= 4 as
    squashfs. (mszeredi@suse.cz,
    util-linux-ng-2.16-squashfs3-detect.patch, bnc#666893)
  * add sfdisk-warn-about-2TB-limit.patch (puzel@novell.com,
    bnc#495657)
  * Document barrier option in mount.8 (jack@suse.cz,
    hvogel@suse.de,
    util-linux-ng-2.19.1-barrier_documentation.patch, bnc#489740)
  * lscpu: improve hypervisor detection (puzel@novell.com,
    fate#310255)
    - util-linux-lscpu-improve-hypervisor-detection.patch
  * umount: avoid calling readlink on mountpoints if not necessary
    - add: umount-avoid-readlink.patch (puzel@suse.com, bnc#794529)
  * fix file conflict between util-linux and s390-32
    (puzel@suse.com, bnc#805684)
  * util-linux-update-default-commit-interval.patch:
    mount(8): update default commit interval (puzel@suse.com,
    bnc#809480)
  * Obsolete no more packaged uuid-runtime.
- Add uname26 (util-linux-setarch-uname26.patch, FATE#313476).

OBS-URL: https://build.opensuse.org/request/show/226509
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=227
2014-03-20 08:19:43 +00:00
Stephan Kulow
896ca09e20 Accepting request 225791 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/225791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=181
2014-03-15 16:37:59 +00:00
Dr. Werner Fink
7309d0e418 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=225
2014-03-06 09:46:46 +00:00
Stephan Kulow
13bee84c42 Accepting request 222119 from Base:System
util-linux 2.24.1 (forwarded request 221543 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/222119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=180
2014-02-15 16:23:05 +00:00
d4b4a095b8 Accepting request 221543 from home:AndreasStieger:branches:Base:System
util-linux 2.24.1

OBS-URL: https://build.opensuse.org/request/show/221543
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=223
2014-02-13 08:09:46 +00:00
Tomáš Chvátal
6d0e6aeaf8 Accepting request 221269 from Base:System
- Add patch sulogin-does-not-find-any-console.patch to enable sulogin
  to find suitable console device even if first is not usable (bnc#862078)

- Avoid that hanging plymouth locks terminal lines that is
  add patch sulogin-fooled-on-tty-line-due-plymouth.patch and
  modify patch agetty-fooled-on-serial-line-due-plymouth.patch
  to remove any lock which had been left over.

OBS-URL: https://build.opensuse.org/request/show/221269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=179
2014-02-09 12:18:02 +00:00
Dr. Werner Fink
1cc5bcfa90 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=221
2014-02-07 16:00:10 +00:00
Dr. Werner Fink
2ea1a6c269 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=220
2014-02-07 15:58:52 +00:00
Dr. Werner Fink
e66e0cdc2e .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=219
2014-02-06 10:05:12 +00:00
Stephan Kulow
48cf11b14a Accepting request 220785 from Base:System
- Modify patch agetty-on-s390-on-dev--3270-tty1-line.patch and
  patch tty3270-on-serial-line-of-s390.patch to handle 3270
  terminals 
- Really do not verify /usr/bin/eject

- Add patch agetty-on-s390-on-dev--3270-tty1-line.patch
  to let agetty detect /dev/3270/tty1 as device not as baud rate

OBS-URL: https://build.opensuse.org/request/show/220785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=178
2014-02-06 06:06:46 +00:00
Dr. Werner Fink
447cc5648c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=217
2014-02-04 12:04:58 +00:00
Dr. Werner Fink
938e8217dd .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=216
2014-02-04 11:17:06 +00:00
Dr. Werner Fink
9ce9fc0bcf .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=215
2014-02-04 11:03:13 +00:00
Dr. Werner Fink
a77ac4b42a .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=214
2014-02-04 10:24:57 +00:00
Dr. Werner Fink
8576e20bea .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=213
2014-02-04 09:33:45 +00:00
Dr. Werner Fink
5a45758111 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=212
2014-02-04 09:29:53 +00:00
Dr. Werner Fink
15566fa280 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=211
2014-02-04 08:51:23 +00:00
Dr. Werner Fink
3a4700cd33 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=210
2014-02-04 08:50:39 +00:00
Dr. Werner Fink
7a6a2e8526 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=209
2014-02-03 16:17:17 +00:00
Stephan Kulow
4759d7fbf9 Accepting request 215478 from Base:System
- Don't verify /usr/bin/eject, it lost the SUID bit and was dropped
  from /etc/permissions (bnc#824406) (forwarded request 215357 from saschpe)

OBS-URL: https://build.opensuse.org/request/show/215478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=177
2014-01-30 18:26:43 +00:00
041eeaa17d Accepting request 215357 from home:saschpe:branches:Base:System
- Don't verify /usr/bin/eject, it lost the SUID bit and was dropped
  from /etc/permissions (bnc#824406)

OBS-URL: https://build.opensuse.org/request/show/215357
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=207
2014-01-29 09:39:49 +00:00
Tomáš Chvátal
f2b9558fa4 Accepting request 214769 from Base:System
- Change patch agetty-fooled-on-serial-line-due-plymouth.patch
  to sleep instead of sending breaks to terminal (bnc#774126).

OBS-URL: https://build.opensuse.org/request/show/214769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=176
2014-01-27 10:23:56 +00:00
Dr. Werner Fink
f0828f25ab .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=205
2014-01-23 12:41:08 +00:00
Stephan Kulow
ef67c8ffb1 Accepting request 213763 from Base:System
- Ensure localstatedir value used by configure is /run (changed to that
  value upstream since 2012). (forwarded request 213676 from fcrozat)

OBS-URL: https://build.opensuse.org/request/show/213763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=175
2014-01-17 10:17:28 +00:00
Stephan Kulow
cb34d8ce38 Accepting request 213676 from home:fcrozat:branches:Base:System
- Ensure localstatedir value used by configure is /run (changed to that
  value upstream since 2012).

OBS-URL: https://build.opensuse.org/request/show/213676
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=203
2014-01-13 16:28:29 +00:00
Stephan Kulow
d614437215 Accepting request 213474 from Base:System
- Add patch
  agetty-fooled-on-serial-line-due-plymouth.patch
  even with TTYReset=no it seems with systemd or plymouth the termios
  flags become changed from under the first agetty on a serial system
  console as the flags are locked (bnc#774126).

OBS-URL: https://build.opensuse.org/request/show/213474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=174
2014-01-13 15:53:16 +00:00
Dr. Werner Fink
50031106a1 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=201
2014-01-10 14:07:34 +00:00
Dr. Werner Fink
b7f38c0413 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=200
2014-01-10 13:23:44 +00:00