Re: [arch-projects] [mkinitcpio] [PATCH 1/1] support zstd compression

2020-08-14 Thread Morten Linderud via arch-projects
On Fri, Aug 14, 2020 at 02:44:46PM +0200, Christian Hesse wrote:
> From: Christian Hesse 
> 
> Linux 5.9 supports zstd compressed initramfs, so add support here.

Just a headsup that there is a pull-request on github with changes to support
this.

https://github.com/archlinux/mkinitcpio/pull/35

-- 
Morten Linderud
PGP: 9C02FF419FECBE16


signature.asc
Description: PGP signature


[arch-projects] [devtools] [PATCH v2] Expand check_root keepenv variables

2018-12-21 Thread Morten Linderud via arch-projects
From: Morten Linderud 

Les us source makepkg.conf settings from the environemnt. This also includes
`GNUPGHOME` which is present in `makechrootpkg`, but not included in archbuild.

Signed-off-by: Morten Linderud 
---
 archbuild.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/archbuild.in b/archbuild.in
index 1e5b582..bd5706d 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -39,7 +39,7 @@ while getopts 'hcr:' arg; do
esac
 done
 
-check_root SOURCE_DATE_EPOCH
+check_root 
SOURCE_DATE_EPOCH,SRCDEST,SRCPKGDEST,PKGDEST,LOGDEST,MAKEFLAGS,PACKAGER,GNUPGHOME
 
 # Pass all arguments after -- right to makepkg
 makechrootpkg_args+=("${@:$OPTIND}")
-- 
2.20.1


[arch-projects] [devtools] [PATCH] Expand check_root keepenv variables

2018-07-23 Thread Morten Linderud via arch-projects
From: Morten Linderud 

makechrootpkg checks the environment for multiple variables before
overwriting them with makepkg.conf configurations. Expand check_root
with the variables makechrootpkg check for so we are capable of
overwriting them when needed.

Signed-off-by: Morten Linderud 
---
 archbuild.in| 2 +-
 lib/archroot.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/archbuild.in b/archbuild.in
index 1e5b582..6f22b12 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -39,7 +39,7 @@ while getopts 'hcr:' arg; do
esac
 done
 
-check_root SOURCE_DATE_EPOCH
+check_root SOURCE_DATE_EPOCH SRCDEST SRCPKGDEST PKGDEST LOGDEST MAKEFLAGS 
PACKAGER
 
 # Pass all arguments after -- right to makepkg
 makechrootpkg_args+=("${@:$OPTIND}")
diff --git a/lib/archroot.sh b/lib/archroot.sh
index f279603..82276e2 100644
--- a/lib/archroot.sh
+++ b/lib/archroot.sh
@@ -10,7 +10,7 @@ CHROOT_VERSION='v4'
 ##
 orig_argv=("$0" "$@")
 check_root() {
-   local keepenv=$1
+   local keepenv=$(tr " " "," <<< $@)
 
(( EUID == 0 )) && return
if type -P sudo >/dev/null; then
-- 
2.18.0