package/pkg-generic.mk: support hooks and tables in virtual packages
authorCarlos Santos <unixmania@gmail.com>
Wed, 30 Oct 2019 13:27:57 +0000 (10:27 -0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 30 Aug 2020 16:03:27 +0000 (18:03 +0200)
commit67249bc32e0c4a154727a9b4513c073a024d88c8
tree90164720acd2a158f588d033c1c0aaf1500e316e
parent37ce30631d50075bedb11bd9d7047617c9200549
package/pkg-generic.mk: support hooks and tables in virtual packages

Virtual packages are not built but it's useful to allow them to have
permission/device/user tables and target-finalize/rootfs-pre-cmd hooks.

With this change we don't need to duplicate data as currently done in
eudev and systemd user tables, or test if the package is selected to add
a target-finalize hook as in luainterpreter.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/pkg-generic.mk