pmaports/main/boot-deploy/use-busybox-sh.patch
Clayton Craft dcc527966d
main/boot-deploy: use busybox sh (MR 5960)
boot-deploy uses 'local', which technically isn't POSIX-compliant
and if someone has 'sh' from something else that strictly adheres to
POSIX then boot-deploy will fail.
This is a workaround for https://gitlab.postmarketos.org/postmarketOS/boot-deploy/-/issues/38

[ci:skip-build]: already built successfully in CI
2024-12-31 10:58:25 -08:00

20 lines
601 B
Diff

diff --git boot-deploy boot-deploy
index df0c7b9..4f2ecfc 100755
--- a/boot-deploy
+++ b/boot-deploy
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/busybox sh
# Copyright 2021 Clayton Craft <clayton@craftyguy.net>
# SPDX-License-Identifier: GPL-3.0-or-later
set -eu
diff --git boot-deploy-functions.sh boot-deploy-functions.sh
index fb50e61..32de0ef 100644
--- a/boot-deploy-functions.sh
+++ b/boot-deploy-functions.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/busybox sh
# Copyright 2021 postmarketOS Contributors
# Copyright 2021 Clayton Craft <clayton@craftyguy.net>
# SPDX-License-Identifier: GPL-3.0-or-later