Public bug reported: Binary package hint: loop-aes-utils
Currently when a new kernel is installed, the loop-aes-utils hooks for initramfs-tools will always fail because the loop-aes version of loop.ko has not been installed for the new kernel. This patch modifies the loopaes hook script such that module-assistant is used to build the necessary module if loop-aes-source is installed, but no module has yet been built for the new kernel. --- orig_loopaes_hook 2008-06-18 13:16:05.000000000 -0500 +++ loopaes 2008-06-18 13:16:10.000000000 -0500 @@ -195,6 +195,19 @@ copy_exec /sbin/losetup /sbin/ +# Before we install the module, build one if can and haven't already +if modfound=$(m-a li | grep -o '^loop-aes'); then + if foo=$(m-a li -l $version | grep .deb); then + echo we have a built version of loop-aes-source for this kernel + else + echo we don't have a module built for this kernel, let's try to build one + m-a -l $version a-i loop-aes + fi +else + echo loop-aes-source is not installed +fi + + manual_add_modules loop if [ "${forced}" = no ]; then manual_add_modules $rootencryption I am on Hardy Heron using loop-aes-utils version 2.13-2 along with loop-aes-source 3.2c-2 and initramfs-tools 0.85eubuntu39.1 ** Affects: loop-aes-utils (Ubuntu) Importance: Undecided Status: New -- loop-aes module is not available when update-initramfs is run https://bugs.launchpad.net/bugs/241053 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs