Commit Graph

32 Commits

Author SHA1 Message Date
Juan RP 6f399d2b1c xbps-base-files: a fix for the initramfs-tools trigger.
- Make update-initramfs(8) use -t, so that it works in creation
  and updating.

Bump revision.

--HG--
extra : convert_revision : 8ecb7c46f5a5018b5ab2a6144c959ed10d66163e
2009-10-09 03:18:01 +02:00
Juan RP 6dab476f7b xbps-base-files: an improvement to previous commit.
Also update the initramfs of all kernels while removing a
package != kernel. Bump to 0.24.

--HG--
extra : convert_revision : 13bbba2d34c4ae6a0e678df6e1a1cc79fa7185a6
2009-10-03 08:58:00 +02:00
Juan RP 49430c3e66 xbps-base-files: revamped initramfs-tools trigger.
The initramfs-tools trigger has been improved to allow rebuilding
all initramfs when a package != kernel runs it.

Bump to 0.23.

--HG--
extra : convert_revision : ca2da46184b8a879ba0e24eff1f79ae75f539449
2009-10-03 08:33:36 +02:00
Juan RP 3463fbef0a xbps-base-files: revamp the openrc-service trigger.
It has been modified to support restarting services while upgrading
packages, and simplified as well. Bump to 0.22.

--HG--
extra : convert_revision : 21b5aeaed7b76594c43f2e721c06d4e13d5f5f04
2009-10-02 17:29:17 +02:00
Juan RP ea578470eb triggers/openrc-service: stop services in pre-remove.
--HG--
extra : convert_revision : 33ec8f3658010a878fc7599fba64129e0d653326
2009-08-12 00:26:29 +02: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 fcb0e12cf1 xbps-base-files: some more fixes for the triggers.
--HG--
extra : convert_revision : 9a96f3d2101793c8dd8e140dc2728cadd9496f61
2009-05-19 10:42:57 +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 931c03fae1 xbps-base-files: more fixes for the initramfs-tools trigger.
Test /proc/filesystems and /sys/kernel/vmcoreinfo to know
if /proc and /sys are mounted, as the former was required
for mountinfo. This finally works while installing a package
with and without rootdir.

Bump revision.

--HG--
extra : convert_revision : df009b5088c47931d7ae82af2c4f7dad9af5337f
2009-05-06 07:54:56 +02:00
Juan RP 485a777f79 xbps-base-files: fixes for the initramfs-tools trigger.
Only mount /proc and /sys if they aren't mounted already,
use /lib/rc/bin/mouninfo from OpenRC. Bump revision.

--HG--
extra : convert_revision : 18f901f72548eaef1e040984cc72aa11ce6ea76c
2009-05-05 05:28:24 +02:00
Juan RP 2875261b09 triggers/openrc-service: touch /etc/fstab if it doesn't exist.
--HG--
extra : convert_revision : 8a4ece33abdf14edd1a418725b34a56c3ab70db6
2009-05-05 00:47:58 +02:00
Juan RP 5f1271c761 xbps-base-files: add a trigger to (un)register OpenRC services.
Bump to 0.14.

--HG--
extra : convert_revision : c80bf0cb66bc468fbe3922a983cddf36e240111e
2009-05-04 23:16:41 +02:00
Juan RP cad15bd3d2 Introduce $gtk_iconcache_dirs to fix the gtk-icon-cache trigger.
--HG--
extra : convert_revision : 1be7864a5554fd3779092adcdf1e9410be5d55a9
2009-04-20 01:20:31 +02:00
Juan RP 746d8650e1 xbps-base-files: add a trigger for desktop-file-utils.
Bump to 0.12.

--HG--
extra : convert_revision : e16f8d90e9d53852ba4911bb7bd32036d4de2943
2009-04-19 22:22:39 +02:00
Juan RP 3e398336f1 triggers/gtk-pixbuf-loaders: fix path to bin.
--HG--
extra : convert_revision : df8edc18eb1946bdb43701347242d2d47487560d
2009-04-18 17:02:55 +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 bbb89a8be2 xbps-base-files: add three new triggers for gtk+. Bump to 0.11.
--HG--
extra : convert_revision : cd0a71d2b032dd56da02516d2befa00bc4d026f9
2009-04-18 15:07:51 +02:00
Juan RP 557b1e8982 xbps-base-files: add a trigger for shared-mime-info, remove unneeded helper.
--HG--
extra : convert_revision : 82b94bbe3c158b08a597fb09eebc8a63c404a43d
2009-04-17 02:38:06 +02:00
Juan RP 782873962b xbps-base-files: add a trigger to create/remove pango.modules. Bump to 0.9.
--HG--
extra : convert_revision : 86af6636d5dd27744d0eba53a277d41e49940c02
2009-04-17 01:44:15 +02:00
Juan RP 22f6b0eac7 triggers: there's no need to call chroot anymore.
--HG--
extra : convert_revision : cea0ba9863c0934d8d876801989947e03588d835
2009-04-08 03:23:09 +02:00
Juan RP 52869499f5 triggers/x11-fonts: run fc-cache with chroot.
--HG--
extra : convert_revision : 68a67c33abd6090571e2a48edb2b8b005a1ebffb
2009-03-24 06:46:15 +01:00
Juan RP e9ca460086 triggers/x11-fonts: also run fc-cache on specified dirs.
--HG--
extra : convert_revision : 826b435f7f28f4f133a784ae0f5cb9102e8b9940
2009-03-23 18:48:25 +01:00
Juan RP 2df068741c triggers/x11-fonts: make this really work.
--HG--
extra : convert_revision : ec52c0fa2fdfbbc67f57358e1a6293fdcea91ab4
2009-03-23 17:39:24 +01:00
Juan RP bf879f5f33 Added x11-fonts trigger for mkfontdir/mkfontscale.
--HG--
extra : convert_revision : 95f8a9e2f43b8288dc31287d6fd077d705968627
2009-03-23 16:42:01 +01:00
Juan RP 9858edf339 xml-catalog: remove extra word.
--HG--
extra : convert_revision : a90a6b358af534571354be48d5cf1fcf9fea2b9d
2009-03-21 06:57:56 +01:00
Juan RP 8f8c5de29a Add a trigger to (un)register SGML/XML catalog entries via xmlcatmgr.
--HG--
extra : convert_revision : 9dec8c8329e79feefdc43664080795d82a558393
2009-03-21 06:53:29 +01: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 a5a43eaf54 triggers/register_shell: wrap long lines.
--HG--
extra : convert_revision : d35626bc3eceac278e68b3b96f60934611cec8d5
2009-03-14 08:41:45 +01:00
Juan RP c2228d084b Add a trigger to (un)register shells from /etc/shells.
--HG--
extra : convert_revision : 6f82e9b19f880b388d5e800e1d159f4f3287ab26
2009-03-14 07:32:01 +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