Arch linux uefi shell

Arch Linux User Repository

Package Details: uefi-shell-git 30713.edk2.stable202211.40.g1fd8d08970-1

Package Actions

Git Clone URL: https://aur.archlinux.org/uefi-shell-git.git (read-only, click to copy)
Package Base: uefi-shell-git
Description: UEFI Shell v2 — from Tianocore EDK2 — GIT Version
Upstream URL: https://github.com/tianocore/edk2
Licenses: BSD
Conflicts: uefi-shell, uefi-shell-svn
Provides: uefi-shell
Submitter: ridikulusrat
Maintainer: Flubbadub
Last Packager: Flubbadub
Votes: 51
Popularity: 0.000000
First Submitted: 2015-07-22 00:17 (UTC)
Last Updated: 2022-12-13 21:11 (UTC)

Dependencies (3)

Required by (0)

Sources (6)

Latest Comments

Flubbadub commented on 2022-12-13 21:14 (UTC)

Thanks for reporting that @Gadgethm. I have pushed a fix for that now which seems to be in line with what other projects & Arch packages have adopted. It’s working okay to update it for me but please let me know if you get any further issues.

Gadgethm commented on 2022-11-20 17:59 (UTC)

This package no longer builds for me (and hasn’t for a while). I get the following error when cloning certain submodules:

fatal: transport 'file' not allowed 

Flubbadub commented on 2021-08-15 07:34 (UTC)

Thanks for the patch gesh — I agree it makes sense to always have the consistent format.

Читайте также:  Configure iscsi target linux

gesh commented on 2021-08-14 18:35 (UTC) (edited on 2021-08-14 18:38 (UTC) by gesh)

Please add —long to the git —describe command in pkgver() — I use the installed commitish in my «what’s new» script. Patch included below

commit 0806a2b2a7345683f032352176b846e0e1af57fb (HEAD -> local) Author: gesh Date: Sat Aug 14 00:00:00 2021 +0000 Always include commitish in pkgver diff --git a/PKGBUILD b/PKGBUILD index 0cf6334..071858e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -65,7 +65,7 @@ sha1sums=( pkgver() < cd "$/$/" - echo "$(git rev-list --count HEAD).$(git describe --always --tags)" | sed -e 's|-|\.|g' + echo "$(git rev-list --count HEAD).$(git describe --long --always --tags)" | sed -e 's|-|\.|g' > _setup_env_vars()  

GeneArch commented on 2021-05-04 16:35 (UTC)

Looks like its pulling older tag using git describe. Maybe annotated vs annotated issues. Changing to 'git describe --tags' works for me and pulls the later tag : edk2-stable202102-188-g1e6b0394d6

gesh commented on 2021-03-08 15:21 (UTC) (edited on 2021-03-08 15:22 (UTC) by gesh)

Noticed that submodules didn't get cached (I have SRCDEST=$XDG_CACHE_HOME/pacman/sources ), so I wrote this patch. Basically, declarations at toplevel of PKGBUILD aren't passed through to functions:

From 80a3d3ea401897e9e3e1b6a27f78f6bccf00af47 Mon Sep 17 00:00:00 2001 From: gesh Date: Mon, 8 Mar 2021 15:00:00 Subject: [PATCH] Move _submod_path to _prepare_tianocore_sources() --- PKGBUILD | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 7fcb285..e6d839b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -45,14 +45,6 @@ provides=('uefi-shell') install="$.install" -declare -A _submod_path -_submod_path["CryptoPkg/Library/OpensslLib/openssl"]="openssl" -_submod_path["SoftFloat"]="softfloat" -_submod_path["UnitTestFrameworkPkg/Library/CmockaLib/cmocka"]="cmocka" -_submod_path["MdeModulePkg/Universal/RegularExpressionDxe/oniguruma"]="oniguruma" -_submod_path["MdeModulePkg/Library/BrotliCustomDecompressLib/brotli"]="brotli" -_submod_path["BaseTools/Source/C/BrotliCompress/brotli"]="brotli" - source=( "$::git+https://github.com/tianocore/edk2.git#branch=master" "brotli::git+https://github.com/google/brotli" @@ -85,6 +77,14 @@ _setup_env_vars() < _prepare_tianocore_sources() < cd "$/" + declare -A _submod_path + _submod_path["CryptoPkg/Library/OpensslLib/openssl"]="openssl" + _submod_path["SoftFloat"]="softfloat" + _submod_path["UnitTestFrameworkPkg/Library/CmockaLib/cmocka"]="cmocka" + _submod_path["MdeModulePkg/Universal/RegularExpressionDxe/oniguruma"]="oniguruma" + _submod_path["MdeModulePkg/Library/BrotliCustomDecompressLib/brotli"]="brotli" + _submod_path["BaseTools/Source/C/BrotliCompress/brotli"]="brotli" + msg "Updating submodules" git submodule init for _module in "$"; do -- 2.30.1 

Flubbadub commented on 2020-11-10 23:51 (UTC)

It was actually down to spacing in the patch (not sure if it's on my end or the AUR has done it). I manually fixed that up and got it applied now. Thanks for your help.

gesh commented on 2020-11-10 21:48 (UTC)

I think the sticking point is the pkgver edit, try removing it. Can't test right now.

Flubbadub commented on 2020-11-10 08:32 (UTC)

gesh: Thanks for the patch but I couldn't get it to apply. I could obviously apply the same changes but that would then lose your attribution. Any chance you can update the patch for the current state?

For now I applied mcmodder's suggestion which at least fixes the immediate issue.

gesh commented on 2020-11-02 22:03 (UTC) (edited on 2020-11-02 22:04 (UTC) by gesh)

Below is a patch to implement mcmodder's suggestion. I go a little further, having all module fetching managed by makepkg instead of git directly

From 9117c0006bfc42e8c55db40710640cc7beec189c Mon Sep 17 00:00:00 2001 From: Gesh Date: Mon, 2 Nov 2020 21:35:24 Subject: [PATCH] Fix build after submodulification --- PKGBUILD | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index d3ba187..2362500 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -29,8 +29,8 @@ _GUID="EA4BB293-2D7F-4456-A681-1F22F42CD0BC" _pkgname="uefi-shell" pkgname="$-git" -pkgver=26946.edk2.stable201903.1209.gf8dd7c7018 -pkgrel=1 +pkgver=28247.edk2.stable201903.2510.gffddac3e0f +pkgrel=2 pkgdesc="UEFI Shell v2 - from Tianocore EDK2 - GIT Version" url="https://github.com/tianocore/edk2" arch=('x86_64' 'i686') @@ -45,9 +45,28 @@ provides=('uefi-shell') install="$.install" -source=("$::git+https://github.com/tianocore/edk2.git#branch=master") - -sha1sums=('SKIP') +declare -A _submod_path +_submod_path["CryptoPkg/Library/OpensslLib/openssl"]="openssl" +_submod_path["SoftFloat"]="softfloat" +_submod_path["UnitTestFrameworkPkg/Library/CmockaLib/cmocka"]="cmocka" +_submod_path["MdeModulePkg/Universal/RegularExpressionDxe/oniguruma"]="oniguruma" +_submod_path["MdeModulePkg/Library/BrotliCustomDecompressLib/brotli"]="brotli" +_submod_path["BaseTools/Source/C/BrotliCompress/brotli"]="brotli" + +source=("$::git+https://github.com/tianocore/edk2.git#branch=master" + brotli::git+https://github.com/google/brotli + softfloat::git+https://github.com/ucb-bar/berkeley-softfloat-3.git + cmocka::git+https://git.cryptomilk.org/projects/cmocka.git + oniguruma::git+https://github.com/kkos/oniguruma + openssl::git+https://github.com/openssl/openssl + ) + +sha1sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP') pkgver() < cd "$/$/" @@ -63,6 +82,12 @@ _setup_env_vars() < _prepare_tianocore_sources() < cd "$/" + git submodule init + for _module in "$"; do + git config submodule."$_module".url "$srcdir/$" + done + git submodule update + msg "Cleanup UDK config files" rm -rf "$/Build/" || true rm -rf "$/Conf/" || true -- 2.29.2 

Copyright © 2004-2023 aurweb Development Team.

Источник

Оцените статью
Adblock
detector