Sync from SUSE:SLFO:Main bcache-tools revision ef988a2c198d3c33309e203c1168e88d
This commit is contained in:
commit
033e058ef0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="manual">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<!-- original author's repo: https://evilpiepirate.org/git/bcache-tools.git -->
|
||||||
|
<param name="url">git://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools</param>
|
||||||
|
<param name="revision">master</param>
|
||||||
|
<param name="parent-tag">bcache-tools-1.1</param>
|
||||||
|
<param name="versionformat">1.1+git@TAG_OFFSET@.%h</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="manual">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual"/>
|
||||||
|
</services>
|
BIN
bcache-tools-1.1+git37.a5e3753.tar.xz
(Stored with Git LFS)
Normal file
BIN
bcache-tools-1.1+git37.a5e3753.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
226
bcache-tools.changes
Normal file
226
bcache-tools.changes
Normal file
@ -0,0 +1,226 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 9 11:29:38 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to snapshot 1.1+git37.a5e3753
|
||||||
|
* support ``bcache show -d`` for nvdimm-meta device
|
||||||
|
- Abolish /usr/bin/env [boo#1216370]
|
||||||
|
- Delete (merged):
|
||||||
|
0001-bcache-tools-set-zoned-size-aligned-data_offset-on-b.patch
|
||||||
|
0002-bcache-tools-add-is_zoned_device.patch
|
||||||
|
0003-bcache-tools-convert-writeback-to-writethrough-mode-.patch
|
||||||
|
0004-bcache-tools-add-struct-cache_sb_disk-into-bcache.h.patch
|
||||||
|
0005-bcache-tools-bitwise.h-more-swap-bitwise-for-differe.patch
|
||||||
|
0006-bcache-tools-list.h-only-define-offsetof-when-it-is-.patch
|
||||||
|
0007-bcache-tools-add-to_cache_sb-and-to_cache_sb_disk.patch
|
||||||
|
0008-bcache-tools-define-separated-super-block-for-in-mem.patch
|
||||||
|
0009-bcache-tools-upgrade-super-block-versions-for-featur.patch
|
||||||
|
0010-bcache-tools-add-large_bucket-incompat-feature.patch
|
||||||
|
0011-bcache-tools-add-print_cache_set_supported_feature_s.patch
|
||||||
|
0012-bcache-tools-Fix-potential-coredump-issues.patch
|
||||||
|
0013-bcache-tools-Export-CACHED_UUID-and-CACHED_LABEL.patch
|
||||||
|
0014-bcache-tools-Remove-the-dependency-on-libsmartcols.patch
|
||||||
|
0015-bcache-tools-make-permit-only-one-cache-device-to-be.patch
|
||||||
|
0016-bcache-tools-add-bcache-status.patch
|
||||||
|
0017-bcache-tools-add-man-page-bcache-status.8.patch
|
||||||
|
0018-Makefile-install-bcache-status.patch
|
||||||
|
0019-bcache.h-fix-typo-from-SUUP-to-SUPP.patch
|
||||||
|
0020-bcache-tools-only-call-set_bucket_size-for-cache-dev.patch
|
||||||
|
0021-bcache.h-add-BCH_FEATURE_INCOMPAT_LARGE_BUCKET-to-BC.patch
|
||||||
|
0022-bcache-tools-check-incompatible-feature-set.patch
|
||||||
|
0023-bcache-tools-introduce-BCH_FEATURE_INCOMPAT_LOG_LARG.patch
|
||||||
|
0024-bcache-tools-display-obsoleted-bucket-size-configura.patch
|
||||||
|
0025-bcache-tools-recover-the-missing-sb.csum-for-showing.patch
|
||||||
|
0026-bcache-tools-only-call-to_cache_sb-for-bcache-device.patch
|
||||||
|
0027-bcache-tools-improve-column-alignment-for-bcache-sho.patch
|
||||||
|
0028-bcache-tools-Update-super-block-version-in-bch_set_f.patch
|
||||||
|
0029-bcache-tools-improve-is_zoned_device.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 2 07:58:54 UTC 2023 - Coly Li <colyli@suse.com>
|
||||||
|
|
||||||
|
- bcache-tools: improve is_zoned_device() (bsc#1208425)
|
||||||
|
0029-bcache-tools-improve-is_zoned_device.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 24 14:00:08 UTC 2021 - Coly Li <colyli@suse.com>
|
||||||
|
|
||||||
|
- bcache-tools: Update super block version in bch_set_feature_*
|
||||||
|
routines (jsc#SLE-9807)
|
||||||
|
0028-bcache-tools-Update-super-block-version-in-bch_set_f.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 5 14:20:48 UTC 2021 - Coly Li <colyli@suse.com>
|
||||||
|
|
||||||
|
- bcache.h: fix typo from SUUP to SUPP (jsc#SLE-9807)
|
||||||
|
0019-bcache.h-fix-typo-from-SUUP-to-SUPP.patch
|
||||||
|
- bcache-tools: only call set_bucket_size() for cache device
|
||||||
|
(jsc#SLE-9807)
|
||||||
|
0020-bcache-tools-only-call-set_bucket_size-for-cache-dev.patch
|
||||||
|
- bcache.h: add BCH_FEATURE_INCOMPAT_LARGE_BUCKET to
|
||||||
|
BCH_FEATURE_INCOMPAT_SUPP (jsc#SLE-9807)
|
||||||
|
0021-bcache.h-add-BCH_FEATURE_INCOMPAT_LARGE_BUCKET-to-BC.patch
|
||||||
|
- bcache-tools: check incompatible feature set (jsc#SLE-9807)
|
||||||
|
0022-bcache-tools-check-incompatible-feature-set.patch
|
||||||
|
- bcache-tools: introduce BCH_FEATURE_INCOMPAT_LOG_LARGE_BUCKET_SIZE
|
||||||
|
for large bucket (jsc#SLE-9807)
|
||||||
|
0023-bcache-tools-introduce-BCH_FEATURE_INCOMPAT_LOG_LARG.patch
|
||||||
|
- bcache-tools: display obsoleted bucket size configuration
|
||||||
|
(jsc#SLE-9807)
|
||||||
|
0024-bcache-tools-display-obsoleted-bucket-size-configura.patch
|
||||||
|
- bcache-tools: recover the missing sb.csum for showing bcache device
|
||||||
|
super block (jsc#SLE-9807)
|
||||||
|
0025-bcache-tools-recover-the-missing-sb.csum-for-showing.patch
|
||||||
|
- bcache-tools: only call to_cache_sb() for bcache device
|
||||||
|
in may_add_item() (jsc#SLE-9807)
|
||||||
|
0026-bcache-tools-only-call-to_cache_sb-for-bcache-device.patch
|
||||||
|
- bcache-tools: improve column alignment for "bcache show
|
||||||
|
-m" output (jsc#SLE-9807)
|
||||||
|
0027-bcache-tools-improve-column-alignment-for-bcache-sho.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 15 15:58:35 UTC 2020 - Coly Li <colyli@suse.com>
|
||||||
|
|
||||||
|
- Makefile: install bcache-status (jsc#SLE-9807, bsc#1178725)
|
||||||
|
0018-Makefile-install-bcache-status.patch
|
||||||
|
- bcache-tools.spec: add '_sbindir/bcache-status' for the new added
|
||||||
|
bcache-status python script (jsc#SLE-9807, bsc#1178725)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 13 04:32:51 UTC 2020 - Coly Li <colyli@suse.com>
|
||||||
|
|
||||||
|
- Remove dependence of smartcols bcache-tools.spec, bcache-tools
|
||||||
|
code doesn't need it now. (jsc#SLE-9807)
|
||||||
|
- Remove 1001-udev-do-not-rely-on-DRIVER-variable.patch because
|
||||||
|
we have 0013-bcache-tools-Export-CACHED_UUID-and-CACHED_LABEL.patch
|
||||||
|
to provide static UUIDs. (jsc#SLE-9807)
|
||||||
|
- bcache-tools: add man page bcache-status.8 (jsc#SLE-9807)
|
||||||
|
0017-bcache-tools-add-man-page-bcache-status.8.patch
|
||||||
|
- bcache-tools: add bcache-status (jsc#SLE-9807)
|
||||||
|
0016-bcache-tools-add-bcache-status.patch
|
||||||
|
- bcache-tools: make: permit only one cache device to be
|
||||||
|
specified (jsc#SLE-9807)
|
||||||
|
0015-bcache-tools-make-permit-only-one-cache-device-to-be.patch
|
||||||
|
- bcache-tools: Remove the dependency on libsmartcols
|
||||||
|
(jsc#SLE-9807)
|
||||||
|
0014-bcache-tools-Remove-the-dependency-on-libsmartcols.patch
|
||||||
|
- bcache-tools: Export CACHED_UUID and CACHED_LABEL
|
||||||
|
(jsc#SLE-9807)
|
||||||
|
0013-bcache-tools-Export-CACHED_UUID-and-CACHED_LABEL.patch
|
||||||
|
- bcache-tools: Fix potential coredump issues (jsc#SLE-9807)
|
||||||
|
0012-bcache-tools-Fix-potential-coredump-issues.patch
|
||||||
|
- bcache-tools: add print_cache_set_supported_feature_sets()
|
||||||
|
in lib.c (jsc#SLE-9807)
|
||||||
|
0011-bcache-tools-add-print_cache_set_supported_feature_s.patch
|
||||||
|
- bcache-tools: add large_bucket incompat feature (jsc#SLE-9807)
|
||||||
|
0010-bcache-tools-add-large_bucket-incompat-feature.patch
|
||||||
|
- bcache-tools: upgrade super block versions for feature sets
|
||||||
|
(jsc#SLE-9807)
|
||||||
|
0009-bcache-tools-upgrade-super-block-versions-for-featur.patch
|
||||||
|
- bcache-tools: define separated super block for in-memory and
|
||||||
|
on-disk format (jsc#SLE-9807)
|
||||||
|
0008-bcache-tools-define-separated-super-block-for-in-mem.patch
|
||||||
|
- bcache-tools: add to_cache_sb() and to_cache_sb_disk()
|
||||||
|
(jsc#SLE-9807)
|
||||||
|
0007-bcache-tools-add-to_cache_sb-and-to_cache_sb_disk.patch
|
||||||
|
- bcache-tools: list.h: only define offsetof() when it is
|
||||||
|
undefined (jsc#SLE-9807)
|
||||||
|
0006-bcache-tools-list.h-only-define-offsetof-when-it-is-.patch
|
||||||
|
- bcache-tools: bitwise.h: more swap bitwise for different
|
||||||
|
CPU endians (jsc#SLE-9807)
|
||||||
|
0005-bcache-tools-bitwise.h-more-swap-bitwise-for-differe.patch
|
||||||
|
- bcache-tools: add struct cache_sb_disk into bcache.h (jsc#SLE-9807)
|
||||||
|
0004-bcache-tools-add-struct-cache_sb_disk-into-bcache.h.patch
|
||||||
|
- bcache-tools: convert writeback to writethrough mode for zoned
|
||||||
|
backing device (jsc#SLE-9807)
|
||||||
|
0003-bcache-tools-convert-writeback-to-writethrough-mode-.patch
|
||||||
|
- bcache-tools: add is_zoned_device() (jsc#SLE-9807)
|
||||||
|
0002-bcache-tools-add-is_zoned_device.patch
|
||||||
|
- bcache-tools: set zoned size aligned data_offset on backing device
|
||||||
|
for zoned devive (jsc#SLE-9807)
|
||||||
|
0001-bcache-tools-set-zoned-size-aligned-data_offset-on-b.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 8 11:58:38 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Cure fallout from %_libexecdir change [boo#1174075, boo#1176244]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 14 19:27:52 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to tag 1.1
|
||||||
|
* add blkdiscard for cache dev
|
||||||
|
* add 'label' field
|
||||||
|
* allow users to set label for device
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 22 20:00:37 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Add a _service file for the tarball from outer space.
|
||||||
|
- Shift the version number to 1.0.8+suse5 because there has never
|
||||||
|
been a 1.0.9 release.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 14 07:27:58 UTC 2018 - colyli@suse.com
|
||||||
|
|
||||||
|
- Update bcache-tools to 1.0.9, this is required by yast2 bcache module
|
||||||
|
development. In this version a new program named "bcache" is added,
|
||||||
|
by this program people may avoid many operations on sysfs entries.
|
||||||
|
(bsc#1109460)
|
||||||
|
- Remove the following patche since it is in upstream,
|
||||||
|
- 0001-build-remove-inline-keyword-from-crc64.patch
|
||||||
|
- Rename prefix of
|
||||||
|
0001-udev-do-not-rely-on-DRIVER-variable.patch
|
||||||
|
to a SUSE specific patch prefix
|
||||||
|
1001-udev-do-not-rely-on-DRIVER-variable.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 27 18:02:05 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 1.0.8
|
||||||
|
* bcache-register is now a C program
|
||||||
|
- Add 0001-udev-do-not-rely-on-DRIVER-variable.patch to entirely
|
||||||
|
disable /dev/bcache symlinks for now, rather than have it
|
||||||
|
half-working [bnc#880858]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 18 14:59:41 UTC 2014 - meissner@suse.com
|
||||||
|
|
||||||
|
- removed unnecessary openssl-devel buildrequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 4 07:57:33 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 0.9
|
||||||
|
* Run probe-bcache a little later in the udev rule sequence
|
||||||
|
(moving from position 61 to 69), fixing a machine hang on
|
||||||
|
bcache reassemble (bnc#868938)
|
||||||
|
- Add 0001-build-remove-inline-keyword-from-crc64.patch, this is
|
||||||
|
a build fix.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 19 10:22:13 UTC 2014 - oneukum@suse.com
|
||||||
|
|
||||||
|
- Move bcache rule from position 61 to position 74
|
||||||
|
(bnc#868938)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 7 22:02:31 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new snapshot 0.1.g71
|
||||||
|
* Support for superblocks up to version 4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 26 21:30:55 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Move udev rules to /usr/lib/udev/rules.d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 26 09:07:16 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new current snapshot
|
||||||
|
42c182c6ab1530b5e3b18893f284da3eaec46e74 (0.1.g45)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 21 13:58:10 UTC 2011 - ro@suse.de
|
||||||
|
|
||||||
|
- create package
|
69
bcache-tools.spec
Normal file
69
bcache-tools.spec
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
#
|
||||||
|
# spec file for package bcache-tools
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: bcache-tools
|
||||||
|
Version: 1.1+git37.a5e3753
|
||||||
|
Release: 0
|
||||||
|
Summary: Configuration utilities for bcache
|
||||||
|
License: GPL-2.0-only
|
||||||
|
Group: System/Base
|
||||||
|
URL: http://bcache.evilpiepirate.org/
|
||||||
|
Source: %name-%version.tar.xz
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: xz
|
||||||
|
BuildRequires: pkgconfig(blkid)
|
||||||
|
BuildRequires: pkgconfig(uuid)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains utilities for creating and inspecting
|
||||||
|
bcache filesystems.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
export SUSE_ASNEEDED=0
|
||||||
|
%make_build all \
|
||||||
|
CFLAGS="%optflags $(pkg-config blkid uuid --cflags) -std=gnu99" \
|
||||||
|
LDFLAGS="$(pkg-config blkid uuid --libs)"
|
||||||
|
perl -i -lpe 's{^#!/usr/bin/env python\b}{#!/usr/bin/python3}' bcache-status
|
||||||
|
|
||||||
|
%install
|
||||||
|
b="%buildroot"
|
||||||
|
# Without these existing, make install would fail
|
||||||
|
mkdir -p "$b"/{sbin,%_sbindir,%_mandir/man8,/lib/udev/rules.d}
|
||||||
|
mkdir -p "$b/%_sysconfdir/initramfs-tools/scripts/init-premount"
|
||||||
|
mkdir -p "$b/%_sysconfdir/initramfs-tools/hooks"
|
||||||
|
%make_install DRACUTLIBDIR="%_prefix/lib/dracut"
|
||||||
|
# Not used in openSUSE
|
||||||
|
rm -Rf "$b/%_sysconfdir/initramfs-tools" "$b/%_prefix/lib/initcpio" \
|
||||||
|
"$b/%_datadir/initramfs-tools"
|
||||||
|
mkdir -p "$b/%_prefix/lib"
|
||||||
|
mv "$b/lib/udev" "$b/%_prefix/lib/"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%_sbindir/bcache-super-show
|
||||||
|
%_sbindir/make-bcache
|
||||||
|
%_sbindir/bcache
|
||||||
|
%_sbindir/bcache-status
|
||||||
|
%_prefix/lib/dracut/
|
||||||
|
%_prefix/lib/udev
|
||||||
|
%_mandir/man8/*.8*
|
||||||
|
%license COPYING
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user