Hello community, here is the log from the commit of package btrfsprogs for openSUSE:Factory checked in at 2019-02-08 12:05:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/btrfsprogs (Old) and /work/SRC/openSUSE:Factory/.btrfsprogs.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "btrfsprogs" Fri Feb 8 12:05:30 2019 rev:101 rq:669880 version:4.20.1 Changes: -------- --- /work/SRC/openSUSE:Factory/btrfsprogs/btrfsprogs.changes 2019-01-26 22:19:10.779012944 +0100 +++ /work/SRC/openSUSE:Factory/.btrfsprogs.new.28833/btrfsprogs.changes 2019-02-08 12:05:34.753645441 +0100 @@ -1,0 +2,8 @@ +Thu Jan 24 04:00:34 UTC 2019 - [email protected] + +- Advise user of fs recovery options when we fail to mount (fate#320443, + bsc#1122539) + * Add dracut-fsck-help.txt + * Add module-setup.sh + +------------------------------------------------------------------- New: ---- dracut-fsck-help.txt module-setup.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ btrfsprogs.spec ++++++ --- /var/tmp/diff_new_pack.hpjnpA/_old 2019-02-08 12:05:37.465644421 +0100 +++ /var/tmp/diff_new_pack.hpjnpA/_new 2019-02-08 12:05:37.469644419 +0100 @@ -30,6 +30,8 @@ # the tarball contains prebuilt documentation %define build_docs 0 +%define _dracutmodulesdir %{_libexecdir}/dracut/modules.d + Name: btrfsprogs Version: 4.20.1 Release: 0 @@ -42,6 +44,8 @@ Source: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v%{version}.tar.gz # support for mkinitrd in < 13.1 Source1: boot-btrfs.sh +Source2: module-setup.sh +Source3: dracut-fsck-help.txt Source4: setup-btrfs.sh Source5: sles11-defaults.h @@ -52,6 +56,9 @@ %endif BuildRequires: autoconf BuildRequires: automake +%if 0%{?suse_version} > 1200 +BuildRequires: dracut +%endif BuildRequires: libattr-devel BuildRequires: libblkid-devel BuildRequires: libext2fs-devel @@ -240,6 +247,10 @@ # bash completion install -m 0755 -d %{buildroot}/%{_datadir}/bash-completion/completions install -m 0644 btrfs-completion %{buildroot}/%{_datadir}/bash-completion/completions/btrfs +%if 0%{?suse_version} > 1200 +install -m 0755 -D %{SOURCE2} %{buildroot}/%{_dracutmodulesdir}/95suse-btrfs/module-setup.sh +cp %{SOURCE3} . +%endif %if 0%{!?for_debugging:1} DEBUG_FILES="/sbin/btrfs-find-root @@ -279,6 +290,11 @@ %else %license COPYING %endif +%if 0%{?suse_version} > 1200 +%doc dracut-fsck-help.txt +%{_dracutmodulesdir}/95suse-btrfs/ +%{_dracutmodulesdir}/95suse-btrfs/module-setup.sh +%endif /sbin/fsck.btrfs # mkinitrd utils /sbin/btrfs ++++++ dracut-fsck-help.txt ++++++ Recovery of btrfs file systems is not automated. We suggest you use 'btrfs check --readonly' first to see the if there's any damage and what's the scope. Logging the output is a recommended for later analysis. The option '--repair' must be used with care, be noted that it is able to fix certain classes of errors but not all of them. ++++++ module-setup.sh ++++++ #!/bin/bash # called by dracut check() { return 0 } # called by dracut depends() { return 0 } # called by dracut install() { inst_fsck_help "btrfs" "/usr/share/doc/packages/btrfsprogs/dracut-fsck-help.txt" }
