]> WPIA git - gigi.git/commitdiff
Merge changes from topic '143'
authorFelix Dörre <felix@dogcraft.de>
Tue, 19 Jun 2018 18:20:54 +0000 (20:20 +0200)
committerGerrit Code Review <gigi-system@dogcraft.de>
Tue, 19 Jun 2018 18:20:54 +0000 (20:20 +0200)
* changes:
  add: optionally check pwned passwords
  add: PasswordHashChecker implementation
  add: DelegatingPasswordChecker implementation
  chg: move PasswordChecker object to Gigi class
  add: PasswordChecker interface

mkosi.build [new file with mode: 0755]
mkosi.default [new file with mode: 0644]
mkosi.postinst [new file with mode: 0755]

diff --git a/mkosi.build b/mkosi.build
new file mode 100755 (executable)
index 0000000..60307a1
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+cd -- "$SRCDIR"
+
+# doc/scripts/genchangelog # mkosi doesn’t copy .git
+
+dpkg-buildpackage -b -us -uc
+
+mkdir -- "$DESTDIR/srv/"
+cp -v ../*.deb -- "$DESTDIR/srv/"
diff --git a/mkosi.default b/mkosi.default
new file mode 100644 (file)
index 0000000..41d849a
--- /dev/null
@@ -0,0 +1,11 @@
+[Distribution]
+Distribution=debian
+Release=stretch
+
+[Output]
+Format=directory
+
+[Packages]
+Packages=default-jre-headless libpostgresql-jdbc-java libdnsjava-java debconf init-system-helpers
+BuildPackages=debhelper dh-systemd default-jdk-headless build-essential ant wget
+Cache=/var/cache/apt/archives
diff --git a/mkosi.postinst b/mkosi.postinst
new file mode 100755 (executable)
index 0000000..c7548ec
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ "$1" = "final" ]; then
+    # disabled for now; the postinst scripts can’t run in the built image
+    #dpkg --install /*.deb
+    : # `if` bodies can’t be empty
+fi