]> git.proxmox.com Git - pve-kernel-meta.git/blobdiff - efiboot/zz-pve-efiboot
zz-pve-efiboot: re-exec in mount namespace
[pve-kernel-meta.git] / efiboot / zz-pve-efiboot
index 954dbecbb881c02cdc1894d8e7f5195bd8569113..32dfe997dac918ea398c757d622f70b981bbc80d 100755 (executable)
@@ -151,10 +151,12 @@ case $0:$mode in
        # Also run if we have no DEB_MAINT_PARAMS, in order to work with old
        # kernel packages.
        */postinst.d/*:|*/postinst.d/*:configure)
+               reexec_in_mountns "$@"
                BOOT_KVERS="$(boot_kernel_list "$@")"
                update_esps
        ;;
         */postrm.d/*:|*/postrm.d/*:remove)
+               reexec_in_mountns "$@"
                # no newly installed kernel
                BOOT_KVERS="$(boot_kernel_list)"
                update_esps