Commit Graph

7 Commits

Author SHA1 Message Date
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
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
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
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