]> Raphaël G. Git Repositories - ihttpd/commitdiff
Force cryptsetup inclusion in initrd
authorRaphaël Gertz <git@rapsys.eu>
Mon, 24 Sep 2018 14:36:11 +0000 (16:36 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 24 Sep 2018 14:36:11 +0000 (16:36 +0200)
SOURCES/ihttpd.module-setup

index 62690e070207197e76113c3fac40ad704a69909b..be1c65886ce0ef90a864153161b2afd21ec82fe5 100644 (file)
@@ -63,6 +63,7 @@ install() {
                /var/www/html
 
        # Install all files
+       #XXX: force cryptsetup install until systemd-cryptsetup implement a method that don't rely on password ending with \0
        inst_multiple \
                /etc/hosts \
                /etc/localtime \
@@ -76,9 +77,10 @@ install() {
                $systemdsystemunitdir/systemd-tmpfiles-setup.service \
                $systemdutildir/systemd-resolved \
                $tmpfilesdir/ihttpd.conf \
+               '/sbin/cryptsetup' \
                '/usr/bin/false' \
                '/usr/bin/reboot' \
-               /usr/sbin/ihttpd
+               '/usr/sbin/ihttpd'
 
        # Install favicon
        inst_simple -o /var/www/html/favicon.ico