make: explain Ubuntu BB limitation

This commit is contained in:
macmpi 2023-11-30 18:06:43 +01:00
parent 7445b19996
commit 2a2b2cb006
3 changed files with 9 additions and 3 deletions

Binary file not shown.

View File

@ -1 +1 @@
36892e9aa76807941602160ff62948c8953eefa36f9b386a0c7302fc46710b473a3e14b7eaf223a1ae6ac6454a839c78049c311fdbd50a204b2a011cb8faa474 headless.apkovl.tar.gz 3f0d72d4cbdcffb87a51605bcb17cc9b2d993298ce854f5e752703bf513f1bea88976ae76e8d6ab460d3663a91e3fc6f42153bb1e5c31470a373f5bf84312fb7 headless.apkovl.tar.gz

10
make.sh
View File

@ -3,8 +3,14 @@
# SPDX-FileCopyrightText: Copyright 2022-2023, macmpi # SPDX-FileCopyrightText: Copyright 2022-2023, macmpi
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# script meant to be run on Alpine (busybox) or on Ubuntu # Script meant to be run on Alpine (busybox) or on Ubuntu.
# verify busybox build options if eventually using other platforms # Check busybox version & options if eventually using other platforms.
# Ubuntu LTS busybox 1.30.1 tar does NOT support setting owner/group/mtime
# probably available after busybox 1.31.1, following 2019-08-01 change:
# https://git.busybox.net/busybox/commit/?id=e6a87e74837ba5f2f2207a75cd825acf8cf28afb
# This limitation requires copying files and setting owner/group/mtime before archiving.
command -v doas > /dev/null || alias doas="/usr/bin/sudo" command -v doas > /dev/null || alias doas="/usr/bin/sudo"
build_path="$(mktemp -d)" build_path="$(mktemp -d)"