mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-27 09:54:35 +00:00
Official Debian and Ubuntu kernel packages will invoke us directly as part of the $ramdisk handling inherited from kernel-package. They will later run our hook script, as will custom packages made with 'make-kpkg' or the upstream 'make deb-pkg'. Currently, for official packages we perform an update on the first invocation (possibly deferred using dpkg triggers) and then ignore the second. However, the long-term plan is to remove that first invocation. Therefore, ignore the first invocation and perform the update on the second. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> [ Use && op, we make the effort to not use -a evaluation. -maks ] Signed-off-by: maximilian attems <max@stro.at> Reviewed-by: Michael Prokop <mika@debian.org>