Accepting request 131885 from filesystems

- Add an /etc/e2fsck.conf file with broken_system_clock=1 to fix 
  first part of bnc#775268 (forwarded request 131510 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/131885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/e2fsprogs?expand=0&rev=73
This commit is contained in:
Stephan Kulow 2012-08-31 07:23:49 +00:00 committed by Git OBS Bridge
commit b02a5da43e
3 changed files with 17 additions and 0 deletions

4
e2fsck.conf Normal file
View File

@ -0,0 +1,4 @@
[options]
# This will prevent e2fsck from stopping boot just because the clock is wrong
broken_system_clock = 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 24 09:36:51 UTC 2012 - idonmez@suse.com
- Add an /etc/e2fsck.conf file with broken_system_clock=1 to fix
first part of bnc#775268
-------------------------------------------------------------------
Thu Jun 14 07:47:40 UTC 2012 - coolo@suse.com

View File

@ -39,6 +39,7 @@ Requires: libext2fs2 >= %{version}
Source: http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v%{version}/e2fsprogs-%{version}.tar.gz
Source2: README.SUSE
Source3: baselibs.conf
Source4: e2fsck.conf
#
# e2fsprogs patches
#
@ -149,7 +150,12 @@ make -C po update-po
%install
make install install-libs DESTDIR=$RPM_BUILD_ROOT ELF_INSTALL_DIR=/%{_libdir}
# Let boot continue even if system clock is wrong
install -p -m 644 %{SOURCE3} %{buildroot}/etc/e2fsck.conf
%{find_lang} %{name}
rm $RPM_BUILD_ROOT%{_libdir}/e2initrd_helper
rm -f $RPM_BUILD_ROOT/%{_sbindir}/mkfs.ext4dev
rm -f $RPM_BUILD_ROOT/%{_sbindir}/fsck.ext4dev
@ -210,6 +216,7 @@ done
%files -f %{name}.lang
%defattr(-, root, root)
%doc RELEASE-NOTES README
%config /etc/e2fsck.conf
%config /etc/mke2fs.conf
#UsrMerge
/sbin/badblocks