- Add an /etc/e2fsck.conf file with broken_system_clock=1 to fix

first part of bnc#775268

Rev filesystems/33 Md5 64e02a01f9b82d1d0d0331fe71557e55 2012-08-28 18:55:50 jankara 131510
This commit is contained in:
OBS User jankara 2012-08-28 18:55:50 +00:00 committed by Git OBS Bridge
parent b7ce8e5ac3
commit 043a80bfea
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