e20fafc72a
Resolves: RHEL-44417, RHEL-71409, RHEL-72798
24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
From 4bc36b7d57b0210bdaf765fce3d8f9e23444c957 Mon Sep 17 00:00:00 2001
|
|
From: Daan De Meyer <daan.j.demeyer@gmail.com>
|
|
Date: Fri, 3 Jan 2025 11:42:47 +0100
|
|
Subject: [PATCH] mkosi: Warn on unpackaged files in the debian package build
|
|
|
|
(cherry picked from commit e965430f57834d641b0b1327617622c20aa23b70)
|
|
---
|
|
.../build/mkosi.conf.d/debian-ubuntu/mkosi.build.chroot | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.build.chroot b/mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.build.chroot
|
|
index 569bf64499..9717286586 100755
|
|
--- a/mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.build.chroot
|
|
+++ b/mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.build.chroot
|
|
@@ -128,6 +128,8 @@ if ! build; then
|
|
exit 1
|
|
fi
|
|
|
|
+ echo -e "::warning title=UNPACKAGED-FILES::The following files were not picked up by the package, please update the packaging recipe to include: $(tr '\n' ' ' </tmp/unpackaged-files)"
|
|
+
|
|
# Otherwise, we append the unpackaged files to the filelist for the systemd package and retry the build.
|
|
cat /tmp/unpackaged-files >>debian/systemd.install
|
|
build
|