Accepting request 690386 from filesystems
OBS-URL: https://build.opensuse.org/request/show/690386 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=102
This commit is contained in:
commit
66110b001e
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 20:25:48 UTC 2019 - Mark Fasheh <mfasheh@suse.com>
|
||||
|
||||
- Use correct path for dracut-fsck-help.txt in module-setup.sh (bsc#1122539)
|
||||
* Remove module-setup.sh
|
||||
* Add module-setup.sh.in
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 24 04:00:34 UTC 2019 - mfasheh@suse.com
|
||||
|
||||
|
@ -44,7 +44,7 @@ URL: https://btrfs.wiki.kernel.org/index.php/Main_Page
|
||||
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
|
||||
Source2: module-setup.sh.in
|
||||
Source3: dracut-fsck-help.txt
|
||||
Source4: setup-btrfs.sh
|
||||
Source5: sles11-defaults.h
|
||||
@ -248,8 +248,10 @@ rm -f %{buildroot}/%{_libdir}/*.a
|
||||
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} .
|
||||
sed -e 's,@@INSTALLDIR@@,%{_datadir}/%{name}/,;' %{SOURCE2} > module-setup.sh
|
||||
install -m 0755 -D module-setup.sh %{buildroot}/%{_dracutmodulesdir}/95suse-btrfs/module-setup.sh
|
||||
rm -f module-setup.sh
|
||||
install -m 0644 -D %{SOURCE3} %{buildroot}/%{_datadir}/%{name}/dracut-fsck-help.txt
|
||||
%endif
|
||||
|
||||
%if 0%{!?for_debugging:1}
|
||||
@ -291,8 +293,9 @@ done
|
||||
%license COPYING
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1200
|
||||
%doc dracut-fsck-help.txt
|
||||
%{_dracutmodulesdir}/95suse-btrfs/
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_datadir}/%{name}/dracut-fsck-help.txt
|
||||
%dir %{_dracutmodulesdir}/95suse-btrfs/
|
||||
%{_dracutmodulesdir}/95suse-btrfs/module-setup.sh
|
||||
%endif
|
||||
/sbin/fsck.btrfs
|
||||
|
@ -12,6 +12,6 @@ depends() {
|
||||
|
||||
# called by dracut
|
||||
install() {
|
||||
inst_fsck_help "btrfs" "/usr/share/doc/packages/btrfsprogs/dracut-fsck-help.txt"
|
||||
inst_fsck_help "btrfs" "@@INSTALLDIR@@/dracut-fsck-help.txt"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user