From 26112aba1f02395b4241eebf66879e5879ad8a13 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 Feb 2023 21:18:12 +0100 Subject: Moving system-images into system-build to avoid future NEW processing when adding further images (using different backends). Signed-off-by: Daniel Baumann --- debian/rules | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 40bb80f..f54b4e3 100755 --- a/debian/rules +++ b/debian/rules @@ -33,9 +33,10 @@ override_dh_auto_install: rm -rf debian/*/usr/share/doc/live-build - rm -f debian/open-infrastructure-system-images/usr/share/doc/system-images/CHANGELOG.txt - rm -f debian/open-infrastructure-system-images/usr/share/doc/system-images/LICENSE.txt - mv debian/open-infrastructure-system-images/usr/share/doc/system-images debian/open-infrastructure-system-images/usr/share/doc/open-infrastructure-system-images + # moving system-images into system-build + mv debian/open-infrastructure-system-images/usr/share/system-images debian/open-infrastructure-system-build/usr/share + mkdir -p debian/open-infrastructure-system-build/usr/share/man/man7 + mv debian/open-infrastructure-system-images/usr/share/man/man7/* debian/open-infrastructure-system-build/usr/share/man/man7 override_dh_compress: dh_compress -Xusr/share/doc/open-infrastructure-system-config/examples -Xusr/share/system-images @@ -67,6 +68,6 @@ override_dh_link: for DIRECTORY in debian/*/usr/share/system-images/*; \ do \ IMAGE="$$(basename $${DIRECTORY})"; \ - rm -rf debian/open-infrastructure-system-images/usr/share/system-images/$${IMAGE}/config/bootloaders; \ - cp -a system-images/share/images/$${IMAGE}/config/bootloaders debian/open-infrastructure-system-images/usr/share/system-images/$${IMAGE}/config/bootloaders; \ + rm -rf debian/open-infrastructure-system-build/usr/share/system-images/$${IMAGE}/config/bootloaders; \ + cp -a system-images/share/images/$${IMAGE}/config/bootloaders debian/open-infrastructure-system-build/usr/share/system-images/$${IMAGE}/config/bootloaders; \ done -- cgit v1.2.3