From: Paul Hänsch Date: Sun, 12 Apr 2026 18:45:30 +0000 (+0200) Subject: workaround for cp behaviour (crash when trying to preserve ACLs on nilfs2) X-Git-Url: http://git.plutz.net/?a=commitdiff_plain;h=7fabbcbbf22eef37ca7127159b83699191949718;p=blast workaround for cp behaviour (crash when trying to preserve ACLs on nilfs2) --- diff --git a/Makefile b/Makefile index dd7db45..e4c93ff 100644 --- a/Makefile +++ b/Makefile @@ -138,7 +138,9 @@ _install: ${SYSROOT} _aptkeys _norecommends chroot "$${SYSROOT}" rm /usr/sbin/udevadm _copy: ${SYSROOT} ${CFGROOT} - busybox cp -au "$${SYSROOT}/." "$${CFGROOT}/" + cp -au "$${SYSROOT}/." "$${CFGROOT}/" \ + || busybox cp -au "$${SYSROOT}/." "$${CFGROOT}/" + # ^ fallback for target filesystems without ACLs ${CFGROOT}/etc/fstab: _copy .FORCE printf '%s\n' "$${FSTAB}" >"$@"