live-build/share/hooks
Roland Clobus f290d31960 hooks: Remove /etc/.pwd.lock and /run/mount/utab
When the zero-byte file /etc/.pwd.lock is present in the ISO image,
diffoscope will abort
(https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/367)

This file will be generated when needed, so it can be removed from the
image.

Cleanup /run/mount/utab (and its directory)
2024-04-29 16:27:41 +00:00
..
live Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
normal hooks: Remove /etc/.pwd.lock and /run/mount/utab 2024-04-29 16:27:41 +00:00
README Update for Lintian warnings 2023-03-05 09:59:49 +01:00

README

Numbering scheme:

1XXX: Preparation hooks (e.g. create-locales-files)
5XXX: Update/regenerate cache files (e.g. update-apt-file-cache)
8XXX: Remove files that should not be in a live image (e.g. remove-dbus-machine-id)
9XXX: Remove files that reduce the size of the image (e.g. remove-python-pyc)

This leaves three ranges 0XXX, 2XXX-4XXX and 6XXX-7XXX for your own hooks (but you can still use all the other numbers as well)