Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
bootcycle
bootcycle.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bootcycle.spec of Package bootcycle
# # spec file for package bootcycle (Version 0.3) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # # norootforbuild Name: bootcycle License: GPL v2 or later Group: System/Boot Version: 0.3 Release: 225 Summary: Boot Cycle Detection PreReq: %fillup_prereq %insserv_prereq %ifarch %ix86 x86_64 Requires: grub %endif %ifarch %ia64 Requires: efibootmgr %endif AutoReqProv: on Source0: sysconfig.bootloader-bootcycle Source1: boot.cycle.IA32 Source3: boot.cycle.IA64 Source2: README.IA32 Source4: README.IA64 BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 ia64 x86_64 %description This package provides a boot script that is used for boot cycle detection to avoid unconditional reboot cycles on an unsupervised system. For example, on INTEL IA32 the GNU GRUB multiboot loader is used for this. Authors: -------- Werner Fink <werner@suse.de> %prep %setup -n %{name}-%{version} -c -T %ifarch %ix86 x86_64 cp %{SOURCE1} boot.cycle cp %{SOURCE2} README %endif %ifarch ia64 cp %{SOURCE3} boot.cycle cp %{SOURCE4} README %endif %install install -d -m 0755 $RPM_BUILD_ROOT/etc/init.d/boot.d install -d -m 0755 $RPM_BUILD_ROOT/var/adm/fillup-templates install -c -m 0755 boot.cycle $RPM_BUILD_ROOT/etc/init.d/ install -c -m 0644 %{SOURCE0} $RPM_BUILD_ROOT/var/adm/fillup-templates/ %post %{fillup_only -an bootloader} %{fillup_and_insserv -fY boot.cycle} %postun %{insserv_cleanup} %files %defattr(-,root,root) %doc README %config /etc/init.d/boot.cycle /var/adm/fillup-templates/* %changelog * Fri Aug 22 2008 ro@suse.de - remove deprecated options from fillup_and_insserv * Wed Aug 13 2008 ro@suse.de - add exlusivearch * Wed Jul 30 2008 werner@suse.de - Make boot scripts know about new upcoming startpar and insserv * Fri Feb 22 2008 werner@suse.de - Clean up boot service link durinf uninstall (bnc#362920) * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu Sep 29 2005 dmueller@suse.de - add norootforbuild * Fri Feb 20 2004 ro@suse.de - do noting for stop case of boot.cycle script * Mon Nov 24 2003 ro@suse.de - remove directories already part of filesystem.rpm * Fri Aug 08 2003 kukuk@suse.de - Fix for AMD64 * Tue Jul 15 2003 werner@suse.de - Add README for IA64 (bug #27609) * Fri Jun 20 2003 schwab@suse.de - Add support for ia64. * Fri Mar 14 2003 werner@suse.de - Fix path of grub installer (bug #25352) - Move option from shell to command line of installer (bug #25358) - Fix and add more comments to the README file (bug #25359) * Wed Mar 05 2003 werner@suse.de - Initial package for boot cycle detection
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor