From 04f8f592084336037e99d1e3673b8570a328cf38 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 31 Oct 2022 12:16:14 +0100 Subject: [PATCH] pmb.config.required_programs: add tar Add tar as it is required for 'pmbootstrap ci' to get the source into the pmbootstrap chroot. Reviewed-by: Caleb Connolly Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20221031111614.1377-2-ollieparanoid@postmarketos.org%3E --- README.md | 2 ++ pmb/config/__init__.py | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index de3554f3..f3d1b08a 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,8 @@ Issues are being tracked * Python 3.6+ * OpenSSL * git +* ps +* tar ## Usage Examples Please refer to the [postmarketOS wiki](https://wiki.postmarketos.org) for diff --git a/pmb/config/__init__.py b/pmb/config/__init__.py index 11b9b341..4ca32f6e 100644 --- a/pmb/config/__init__.py +++ b/pmb/config/__init__.py @@ -51,7 +51,12 @@ ondev_min_version = "0.2.0" # Programs that pmbootstrap expects to be available from the host system. Keep # in sync with README.md, and try to keep the list as small as possible. The # idea is to run almost everything in Alpine chroots. -required_programs = ["git", "openssl", "ps"] +required_programs = [ + "git", + "openssl", + "ps", + "tar", +] sudo = which_sudo() # Keys saved in the config file (mostly what we ask in 'pmbootstrap init')