From 4e47dac7f9f4f9f8a1ef9495fb0a2b863fd76a98 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 22 Dec 2020 21:39:25 +0000 Subject: Mount /{proc,sys,dev} earlier This fixes many errors in scriptlets while installing basesystem (for example due to missing /dev/null). --- platforms/xu4/specialFunctions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platforms/xu4') diff --git a/platforms/xu4/specialFunctions.sh b/platforms/xu4/specialFunctions.sh index 9860735..f0e8bbb 100755 --- a/platforms/xu4/specialFunctions.sh +++ b/platforms/xu4/specialFunctions.sh @@ -96,8 +96,8 @@ function copyingCustomSystem() info "Copying extlinux.conf on ${ODROID_BOOT}" cp --preserve=mode -R "${BUILD_PATH}/boot/extlinux" "${ODROID_BOOT}/" info "copying Mageia image to root partition" - /bin/rsync -rlptogDH --exclude "${ODROID_BOOT}/" --exclude "qemu-arm-static*" "${BUILD_PATH}/" "${ROOT}/" - /bin/rsync -rlptogDH "${ODROID_BOOT}/" "${BOOT}/" + /bin/rsync -rlptogDHx --exclude "${ODROID_BOOT}/" --exclude "qemu-arm-static*" "${BUILD_PATH}/" "${ROOT}/" + /bin/rsync -rlptogDHx "${ODROID_BOOT}/" "${BOOT}/" return 0 } -- cgit v1.2.1