From bbca8591702adf210c389d71fcc646f5387f25bd Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 1 Apr 2015 13:48:45 -0500 Subject: [PATCH] add a missing / when listing the contents of /boot --- extlinux | 2 +- extlinux-bootloader.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/extlinux b/extlinux index 4ca33a9..2921e7c 100755 --- a/extlinux +++ b/extlinux @@ -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 diff --git a/extlinux-bootloader.spec b/extlinux-bootloader.spec index 9085b9e..4cca9b0 100644 --- a/extlinux-bootloader.spec +++ b/extlinux-bootloader.spec @@ -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 - 1.1-3 +- add a missing / when listing the contents of /boot + * Wed Apr 01 2015 Dennis Gilmore - 1.1-2 - add a function to copy the dtbs to the rescue boot target if one exists