add a missing / when listing the contents of /boot

This commit is contained in:
Dennis Gilmore 2015-04-01 13:48:45 -05:00
parent f10047bc96
commit bbca859170
2 changed files with 5 additions and 2 deletions

View File

@ -62,7 +62,7 @@ def copy_rescue_dtbs():
'''
check if there is a rescue image and copy the dtb files if there is
'''
boot = os.listdir('boot')
boot = os.listdir('/boot')
dtbsource = ''
dtbdest = ''
has_rescue = False

View File

@ -1,6 +1,6 @@
Name: extlinux-bootloader
Version: 1.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: The EXTLINUX bootloader framework, for booting the local system
License: GPLv2+
@ -38,6 +38,9 @@ install -p %{SOURCE1} %{buildroot}%{_sbindir}
%changelog
* Wed Apr 01 2015 Dennis Gilmore <dennis@ausil.us> - 1.1-3
- add a missing / when listing the contents of /boot
* Wed Apr 01 2015 Dennis Gilmore <dennis@ausil.us> - 1.1-2
- add a function to copy the dtbs to the rescue boot target if one exists