mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Artur Wiebe <artur@4wiebe.de>
To: ptxdist@pengutronix.de
Cc: Artur Wiebe <artur@4wiebe.de>
Subject: [ptxdist] [PATCH 2/2] efibootmgr: new package
Date: Fri, 21 Sep 2018 12:03:04 +0200	[thread overview]
Message-ID: <20180921100304.17321-2-artur@4wiebe.de> (raw)
In-Reply-To: <20180921100304.17321-1-artur@4wiebe.de>

Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
 rules/efibootmgr.in   | 12 +++++++++
 rules/efibootmgr.make | 57 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)
 create mode 100644 rules/efibootmgr.in
 create mode 100644 rules/efibootmgr.make

diff --git a/rules/efibootmgr.in b/rules/efibootmgr.in
new file mode 100644
index 000000000..c48787120
--- /dev/null
+++ b/rules/efibootmgr.in
@@ -0,0 +1,12 @@
+## SECTION=shell_and_console
+
+config EFIBOOTMGR
+	tristate
+	select LIBPOPT
+	select EFIVAR
+	prompt "efibootmgr"
+	help
+	  This is efibootmgr, a Linux user-space application to modify the
+	  Intel Extensible Firmware Interface (EFI) Boot Manager.
+	  This application can create and destroy boot entries,
+	  change the boot order, change the next running boot option, and more.
diff --git a/rules/efibootmgr.make b/rules/efibootmgr.make
new file mode 100644
index 000000000..ca9b4b895
--- /dev/null
+++ b/rules/efibootmgr.make
@@ -0,0 +1,57 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_EFIBOOTMGR) += efibootmgr
+
+#
+# Paths and names
+#
+EFIBOOTMGR_VERSION	:= 16
+EFIBOOTMGR_MD5		:= ab7cf46774fda951a0e8a40beb65a90e
+EFIBOOTMGR		:= efibootmgr-$(EFIBOOTMGR_VERSION)
+EFIBOOTMGR_SUFFIX	:= tar.bz2
+EFIBOOTMGR_URL		:= https://github.com/rhboot/efibootmgr/releases/download/$(EFIBOOTMGR_VERSION)/$(EFIBOOTMGR).$(EFIBOOTMGR_SUFFIX)
+EFIBOOTMGR_SOURCE	:= $(SRCDIR)/$(EFIBOOTMGR).$(EFIBOOTMGR_SUFFIX)
+EFIBOOTMGR_DIR		:= $(BUILDDIR)/$(EFIBOOTMGR)
+EFIBOOTMGR_LICENSE	:= GPL-2.0-only
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+EFIBOOTMGR_CONF_TOOL	:= NO
+EFIBOOTMGR_MAKE_ENV	:= $(CROSS_ENV)
+EFIBOOTMGR_MAKE_OPT	:= EFIDIR="/boot/EFI"
+EFIBOOTMGR_INSTALL_OPT	:= EFIDIR="/boot/EFI" install
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/efibootmgr.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, efibootmgr)
+	@$(call install_fixup, efibootmgr,PRIORITY,optional)
+	@$(call install_fixup, efibootmgr,SECTION,base)
+	@$(call install_fixup, efibootmgr,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
+	@$(call install_fixup, efibootmgr,DESCRIPTION,missing)
+
+	@$(call install_copy, efibootmgr, 0, 0, 0755, -, /usr/sbin/efibootmgr)
+
+	@$(call install_finish, efibootmgr)
+
+	@$(call touch)
+
+
+# vim: syntax=make
-- 
2.19.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-09-21 10:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-21 10:03 [ptxdist] [PATCH 1/2] efivar: " Artur Wiebe
2018-09-21 10:03 ` Artur Wiebe [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-09-11  8:34 Artur Wiebe
2018-09-11  8:35 ` [ptxdist] [PATCH 2/2] efibootmgr: " Artur Wiebe
2018-09-17  8:45   ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180921100304.17321-2-artur@4wiebe.de \
    --to=artur@4wiebe.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox