Commit graph

8 commits

Author SHA1 Message Date
Juan RP 85cc462e1d Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
  they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
  example udev now has a subpkgs called "libgudev". Previously
  subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
  That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.

And more that I forgot because it's a mega-commit that I've been
working for some days already...

--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
2009-11-22 08:31:44 +01:00
Juan RP 76c23bbd96 Improve the info-files and register-shell triggers.
This avoids the need of having to create a new file in pkg metadata
dir with a few lines and puts all them in the INSTALL/REMOVE
scripts.

--HG--
extra : convert_revision : 2dc1d3f6ddcc6aec7dadf14df475c32959df0aba
2009-07-30 12:34:31 +02:00
Juan RP 5b3489c9ea xbps-base-files: some changes to all triggers.
--HG--
extra : convert_revision : 2f3a39a7d1853268b84c5087cbbf5e74044c20f0
2009-05-19 02:13:58 +02:00
Juan RP 783dc64e4b Bah redo previous, triggers need to be 755.
--HG--
extra : convert_revision : 38fd5a6f1aea9fc17b8c9055d8a56c9e5f4b8aa7
2009-04-18 15:31:15 +02:00
Juan RP 1d87665840 chmod 644 to triggers.
--HG--
extra : convert_revision : 810c401da0882596124b096bce36c419ef5bf280
2009-04-18 15:10:04 +02:00
Juan RP a8722b4d53 info-files: ignore /usr/share/info/dir files.
--HG--
extra : convert_revision : 98732bbbb17e9c15ea1023ff995f7f803a667e84
2009-03-17 04:30:32 +01:00
Juan RP bbcc9c4b13 Add a trigger for creating/updating the initramfs.
It's activated at post-install time, and only if template uses:
triggers="initramfs-tools". Use it in the kernel package.

Also print a message when a trigger is being run.

--HG--
extra : convert_revision : 3f2a0c113ed523e4b09822665cf6d94e30b7d1e4
2009-03-12 11:50:46 +01:00
Juan RP 53747489f0 Implemented support for running triggers with binpkgs.
Also the following changes were made:
 * Added an info-files trigger, to (un)register info files.
 * xbps-base-dirs: it's responsible to install triggers on destdir.

--HG--
extra : convert_revision : 8d707053616f38d2b5beef7cf28e1bc4a66812b8
2009-03-12 11:16:08 +01:00