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 ff782d5685 kernel: update to 2.6.31.2. Run grub-mkconfig at post-install time.
--HG--
extra : convert_revision : f9530cb7462f178464c4fd88e11a7eb78c370ba5
2009-10-06 02:13:08 +02:00
Juan RP 3376aa55fe kernel: INSTALL: create boot/grub if necessary.
--HG--
extra : convert_revision : 423882f57bb91492d092736e79529e1e27e23b1e
2009-08-11 19:42:22 +02:00
Juan RP 8398b6ccaa kernel: update to 2.6.30.4.
Added an INSTALL script that updates GRUB's menu.lst file at
post-installation time... simple but will be improved later.

--HG--
extra : convert_revision : 0ce38f532a8e8d2bfdef21dcd35fe0562732ad09
2009-08-11 15:32:10 +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
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
Juan RP 728f0883f1 kernel*: update to 2.6.28.7, disable debug, fix INSTALL.
An automated image is working now...

--HG--
extra : convert_revision : 1b0b4f911fc69c1d8d54431ea0d8d5835e8bf57b
2009-03-05 07:01:55 +01:00
Juan RP a00ae944b5 Rename prepost-{inst,rm} to just INSTALL/REMOVE.
Some other changes related for this:
 - Modify binpkg.sh to always insert the INSTALL script at head of
   the archive, and appending files after it.
 - Modify binpkg.sh to compress binpkgs with bzip2 -9 to save some bytes.

--HG--
extra : convert_revision : b651b944f11c48dede1bbcea658182bf0984e8f3
2009-02-26 18:01:18 +01:00
Renamed from templates/kernel/prepost-inst (Browse further)