diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-16 16:32:54 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-16 16:32:54 +0000 |
commit | 0c3a6cc734f7c6eef1d3d8ab8329cc39b7d79046 (patch) | |
tree | 7839c3063f26cc21bbbade27c2cd6216a5ca15f1 /debian/rules | |
parent | Adding upstream version 20211009. (diff) | |
download | bfh-metapackages-0c3a6cc734f7c6eef1d3d8ab8329cc39b7d79046.tar.xz bfh-metapackages-0c3a6cc734f7c6eef1d3d8ab8329cc39b7d79046.zip |
Adding debian version 20211009-21.debian/20211009-21
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..7bb7904 --- /dev/null +++ b/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +%: + dh ${@} + +override_dh_auto_install: + dh_auto_install -- DESTDIR=$(CURDIR)/debian/bfh-base-system + +execute_after_dh_auto_install: + # shutdown + mkdir -p debian/bfh-container/sbin + for FILE in halt poweroff reboot shutdown coldreboot; \ + do \ + cp debian/local/shutdown debian/bfh-container/sbin/$${FILE}; \ + done + + mkdir -p debian/bfh-container/usr/sbin + for FILE in pm-hibernate pm-suspend pm-suspend-hybrid; \ + do \ + cp debian/local/shutdown debian/bfh-container/usr/sbin/$${FILE}; \ + done + + mkdir -p debian/bfh-container/usr/share/container + cp debian/local/shutdown.txt debian/bfh-container/usr/share/container + + # removing useless files + rm -f debian/tmp/usr/share/doc/*/CHANGELOG.txt + rm -f debian/tmp/usr/share/doc/*/LICENSE.txt + rm -f debian/tmp/usr/share/doc/*/VERSION.txt |