[packages/efi-shell] new package

jajcus jajcus at pld-linux.org
Wed Oct 31 15:09:00 CET 2012


commit 5295e697e45be30a33e009026449a7646980c835
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Wed Oct 31 15:08:27 2012 +0100

    new package

 efi-shell.spec             | 61 ++++++++++++++++++++++++++++++++++++++++++++++
 shell_ia32.efi-boot-update |  9 +++++++
 shell_x64.efi-boot-update  |  9 +++++++
 3 files changed, 79 insertions(+)
---
diff --git a/efi-shell.spec b/efi-shell.spec
new file mode 100644
index 0000000..7aa95ad
--- /dev/null
+++ b/efi-shell.spec
@@ -0,0 +1,61 @@
+%define	svnrev  13902
+Summary:	Native UDK implemenations of a UEFI Shell 2.0
+Name:		efi-shell
+Version:	2.0
+Release:	0.%{svnrev}.1
+License:	BSD-like
+Group:		Applications
+#https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/ShellBinPkg
+Source0:	ShellBinPkg-r%{svnrev}.tar.bz2
+# Source0-md5:	00cdc30ad2e6267849be0a2b0c9901b2
+Source1:	shell_ia32.efi-boot-update
+Source2:	shell_x64.efi-boot-update
+URL:		http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ShellPkg
+ExclusiveArch:	%{ix86} %{x8664}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_enable_debug_packages	0
+
+%description
+Native UDK implemenations of a UEFI Shell 2.0.
+
+%package ia32
+Summary:	Native UDK implemenations of a UEFI Shell 2.0
+Group:		Base
+
+%description ia32
+32-bit version of the native UDK implemenations of a UEFI Shell 2.0.
+
+%package x64
+Summary:	Native UDK implemenations of a UEFI Shell 2.0
+Group:		Base
+
+%description x64
+64-bit version of the native UDK implemenations of a UEFI Shell 2.0.
+
+%prep
+%setup -qn ShellBinPkg
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/lib/efi/{ia32,x64}
+install UefiShell/Ia32/Shell.efi $RPM_BUILD_ROOT/lib/efi/ia32
+install UefiShell/X64/Shell.efi $RPM_BUILD_ROOT/lib/efi/x64
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/efi-boot-update --auto || :
+
+%files ia32
+%defattr(644,root,root,755)
+%doc License.txt ReadMe.txt Contributions.txt
+/lib/efi/ia32/*
+
+%files x64
+%defattr(644,root,root,755)
+%doc License.txt ReadMe.txt Contributions.txt
+/lib/efi/x64/*
diff --git a/shell_ia32.efi-boot-update b/shell_ia32.efi-boot-update
new file mode 100644
index 0000000..246f132
--- /dev/null
+++ b/shell_ia32.efi-boot-update
@@ -0,0 +1,9 @@
+ENABLED=yes
+LABEL="EFI Shell (32 bit)"
+ARCH=ia32
+BINARY=/EFI/SHELL.EFI
+
+install_files () {
+
+	update_file /lib/efi/ia32/Shell.efi /boot/efi/EFI/SHELL.EFI
+}
diff --git a/shell_x64.efi-boot-update b/shell_x64.efi-boot-update
new file mode 100644
index 0000000..a650532
--- /dev/null
+++ b/shell_x64.efi-boot-update
@@ -0,0 +1,9 @@
+ENABLED=yes
+LABEL="EFI Shell (64 bit)"
+ARCH=x64
+BINARY=/EFI/SHELLX64.EFI
+
+install_files () {
+
+	update_file /lib/efi/x64/Shell.efi /boot/efi/EFI/SHELLX64.EFI
+}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/efi-shell.git/commitdiff/5295e697e45be30a33e009026449a7646980c835



More information about the pld-cvs-commit mailing list