I had no idea on Alpine there's nothing preventing you from actually
creating a user account named "0". I was surprised by this, but it makes
this a useful feature indeed. On the other hand I quite like not needing
the extra dependency.
Robert Günzler (1):
Fix archiving with busybox-cpio
anemos | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
base-commit: 483a9572e0e6bdd2e04b77cb339b96345403727e
--
2.44.1
The plus sign prefix to force interpretation as numerical values is only
supported by GNU cpio. This makes it work out of the box on Alpine Linux
Refs: https://lists.sr.ht/~bitfehler/anemos/%3CD1S7YXHQM0LO.8Q2UC7P5S7P2@gnzler.io%3E
Signed-off-by: Robert Günzler <r@gnzler.io>
---
anemos | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/anemos b/anemos
index b370156..2fe49d3 100755
--- a/anemos+++ b/anemos
@@ -73,7 +73,7 @@ fw_get_files() {
cpio_() {
# All the stuff that gets added is to be owned by root, even if the
# script is run as a user (e.g. when only generating).
- cpio -R +0:+0 --quiet -H newc -o+ cpio -R 0:0 --quiet -H newc -o}
usage() {
--
2.44.1