This commit is contained in:
parent
147ae7f70f
commit
dcdd97fac0
@ -301,10 +301,12 @@ if [ -e $device_map ] ; then
|
||||
fi
|
||||
) >> $logname
|
||||
|
||||
if [ `grep -c "^[^#[:space:]]\+[[:space:]]\+/boot[[:space:]]" /etc/fstab` -ne \
|
||||
`grep -c "^[^[:space:]]\+[[:space:]]\+/boot[[:space:]]" /etc/mtab` ]; then
|
||||
echo "/boot directory is not mounted";
|
||||
exit 1;
|
||||
if test ! "$PBL_SKIP_BOOT_TEST"; then
|
||||
if test `grep -c "^[^#[:space:]]\+[[:space:]]\+/boot[[:space:]]" /etc/fstab` -ne \
|
||||
`grep -c "^[^[:space:]]\+[[:space:]]\+/boot[[:space:]]" /proc/mounts`; then
|
||||
echo "/boot directory is not mounted. If this is bad detection you can avoid it by 'export PBL_SKIP_BOOT_TEST=1'";
|
||||
exit 1;
|
||||
fi
|
||||
fi
|
||||
|
||||
# File containing commands for later execution
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:364eefd2546eaa87ba8fe4561b6fa6959f155d148c4aa760f29a0f20a219b703
|
||||
size 55817
|
3
perl-Bootloader-0.4.77.tar.bz2
Normal file
3
perl-Bootloader-0.4.77.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ff633687ee7ff296e1c327d65cbbff724111f7ea782eeb01d191e02f2a0f079
|
||||
size 55351
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 6 15:17:43 CET 2008 - jreidinger@suse.cz
|
||||
|
||||
- ignore keys image, xen and initrd in chainloader section
|
||||
(bnc #441463)
|
||||
- fix warnings (bnc #440122)
|
||||
- break attach mountpoint to grub dev if grub dev translate fail
|
||||
(bnc #438051)
|
||||
- add blank bootloader for ignore any write (bnc #438833)
|
||||
- change /etc/mtab to /proc/mounts and allow skip (bnc #439181)
|
||||
- add autogenerate of html documentation to Makefile
|
||||
- 0.4.77
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 23 17:15:02 CEST 2008 - jreidinger@suse.cz
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-Bootloader (Version 0.4.76)
|
||||
# spec file for package perl-Bootloader (Version 0.4.77)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
Name: perl-Bootloader
|
||||
Version: 0.4.76
|
||||
Version: 0.4.77
|
||||
Release: 1
|
||||
Requires: perl-base = %{perl_version}
|
||||
Requires: e2fsprogs
|
||||
@ -74,6 +74,16 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/bootloader
|
||||
/usr/lib/bootloader
|
||||
|
||||
%changelog
|
||||
* Thu Nov 06 2008 jreidinger@suse.cz
|
||||
- ignore keys image, xen and initrd in chainloader section
|
||||
(bnc #441463)
|
||||
- fix warnings (bnc #440122)
|
||||
- break attach mountpoint to grub dev if grub dev translate fail
|
||||
(bnc #438051)
|
||||
- add blank bootloader for ignore any write (bnc #438833)
|
||||
- change /etc/mtab to /proc/mounts and allow skip (bnc #439181)
|
||||
- add autogenerate of html documentation to Makefile
|
||||
- 0.4.77
|
||||
* Thu Oct 23 2008 jreidinger@suse.cz
|
||||
- improve logging library input/output
|
||||
- fix bug with xen kernel in xen enviroment (bnc #436899)
|
||||
@ -322,7 +332,7 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/bootloader
|
||||
yast2-bootloader is able to set the new default value properly in
|
||||
case of an update (#309837)
|
||||
- Version bump to 0.4.26
|
||||
* Fri Sep 14 2007 od@suse.de
|
||||
* Thu Sep 13 2007 od@suse.de
|
||||
- Needed for #309837 and #304515 and others:
|
||||
- Convert debug messages to milestones in GrubDev2UnixDev() and
|
||||
UnixDev2GrubDev(): we always want to have logs available when
|
||||
@ -362,7 +372,7 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/bootloader
|
||||
adapts YaST-like comments in existing sections to be handled
|
||||
properly by yast-bootloader (#283709)
|
||||
- Version bump to 0.4.21
|
||||
* Tue Aug 14 2007 od@suse.de
|
||||
* Mon Aug 13 2007 od@suse.de
|
||||
- feature #302302:
|
||||
- removed CreateChainloaderLine() function and call again:
|
||||
- we use a "root" entry now in a configfile section
|
||||
@ -595,7 +605,7 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/bootloader
|
||||
- fix for efi boot entry handling (#233537)
|
||||
* Wed Jan 17 2007 jplack@suse.de
|
||||
- proposed fix for append quotation in elilo (#235400)
|
||||
* Wed Jan 17 2007 jplack@suse.de
|
||||
* Tue Jan 16 2007 jplack@suse.de
|
||||
- fix various zipl configuration problems (#235486)
|
||||
* Thu Jan 11 2007 jplack@suse.de
|
||||
- final (at least should be ) fix for ELILO (#228833)
|
||||
@ -707,7 +717,7 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/bootloader
|
||||
- do not replace section names of new sections by default section
|
||||
name (#190529)
|
||||
- do not interpret zero integer values as null string (#190529)
|
||||
* Tue Jul 04 2006 jplack@suse.de
|
||||
* Mon Jul 03 2006 jplack@suse.de
|
||||
- several 'each' iterators for global hashes not properly reset.
|
||||
This broke root-on-raid1 support so far.
|
||||
* Mon Jul 03 2006 jplack@suse.de
|
||||
@ -904,7 +914,7 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/bootloader
|
||||
* Wed Oct 26 2005 jsrain@suse.cz
|
||||
- fixed updating elilo configuration (#116739)
|
||||
- do more verbose output to log when installing lilo
|
||||
* Thu Sep 29 2005 dmueller@suse.de
|
||||
* Wed Sep 28 2005 dmueller@suse.de
|
||||
- add norootforbuild
|
||||
* Tue Sep 27 2005 jsrain@suse.cz
|
||||
- fixed quoting of options in lilo.conf (#117642)
|
||||
@ -980,7 +990,7 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/bootloader
|
||||
- added s390/s390x specific part (zipl)
|
||||
* Thu Feb 17 2005 jsrain@suse.cz
|
||||
- avoid calling hwinfo when detecting partitioning (#50615)
|
||||
* Thu Feb 17 2005 schwab@suse.de
|
||||
* Wed Feb 16 2005 schwab@suse.de
|
||||
- Don't remove BuildRoot in %%install.
|
||||
* Wed Feb 16 2005 jsrain@suse.cz
|
||||
- added support for embedding stage1.5 of GRUB
|
||||
|
@ -390,6 +390,9 @@ if (defined $oper{add}) {
|
||||
if (not $opt_force) {
|
||||
pod2usage("There are already sections with image '$opt_image'");
|
||||
}
|
||||
open (LOG, ">>$logname");
|
||||
print LOG ("update-bootloader: section already exist. Skip add.\n");
|
||||
close LOG;
|
||||
} else {
|
||||
|
||||
# If, if option $opt_force_default is set, let this new kernel be
|
||||
|
Loading…
x
Reference in New Issue
Block a user