relocate /pxeboot to /var/pxeboot
Relocate writable /pxeboot dir to /var/pxeboot Story: 2009101 Task: 44229 TCs are list https://review.opendev.org/c/starlingx/metal/+/822008. Depends-on: https://review.opendev.org/c/starlingx/metal/+/822008 Change-Id: Ia1d12db455bc72c5ef7c111f0fb398aabeed1266 Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
From 7d276fc48d468cc257bcfc7e957c18e3035f2503 Mon Sep 17 00:00:00 2001
|
||||
From: Bin Qian <bin.qian@windriver.com>
|
||||
Date: Wed, 29 Sep 2021 20:17:18 -0400
|
||||
Subject: [PATCH] relocate /pxeboot to /var/pxeboot
|
||||
|
||||
---
|
||||
SPECS/shim-signed.spec | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/SPECS/shim-signed.spec b/SPECS/shim-signed.spec
|
||||
index c085104..6dd7b95 100755
|
||||
--- a/SPECS/shim-signed.spec
|
||||
+++ b/SPECS/shim-signed.spec
|
||||
@@ -229,7 +229,7 @@ install -m 0700 shimia32.efi $RPM_BUILD_ROOT/boot/efi/EFI/BOOT/BOOTIA32.EFI
|
||||
install -m 0700 fbia32.efi $RPM_BUILD_ROOT/boot/efi/EFI/BOOT/fbia32.efi
|
||||
|
||||
# pxeboot support
|
||||
-install -D -p -m 0755 shimx64.efi $RPM_BUILD_ROOT/pxeboot/EFI/shim.efi
|
||||
+install -D -p -m 0755 shimx64.efi $RPM_BUILD_ROOT/var/pxeboot/EFI/shim.efi
|
||||
%endif
|
||||
|
||||
cd mokutil-%{mokutil_version}
|
||||
@@ -246,7 +246,7 @@ make PREFIX=%{_prefix} LIBDIR=%{_libdir} DESTDIR=%{buildroot} install
|
||||
/boot/efi/EFI/BOOT/fb%{efiarchlc}.efi
|
||||
/boot/efi/EFI/BOOT/fallback.efi
|
||||
/boot/efi/EFI/%{efidir}/shim.efi
|
||||
-%attr(755,root,root) /pxeboot/EFI/shim.efi
|
||||
+%attr(755,root,root) /var/pxeboot/EFI/shim.efi
|
||||
|
||||
%ifarch x86_64
|
||||
/boot/efi/EFI/%{efidir}/BOOT.CSV
|
||||
--
|
||||
2.29.2
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
0001-Titanium-release-info.patch
|
||||
0002-Use-presigned-binaries.patch
|
||||
0003-Support-pxeboot-secure-boot.patch
|
||||
0004-relocate-pxeboot-to-var-pxeboot.patch
|
||||
|
||||
Reference in New Issue
Block a user