Commit graph

32 commits

Author SHA1 Message Date
Juan RP
4a4f70b005 xbps-src: add -u flag, if used with fetch update $checksum in tmpl file.
--HG--
extra : convert_revision : a11fe9147498fb4a60ecb2633493d2d4789c288d
2009-02-09 01:01:14 +01:00
Juan RP
72455c2f45 tmpl_vars: add XORG_SITE var.
--HG--
extra : convert_revision : 1a769e159d45d55164623f66956445ee61999432
2009-02-09 00:33:57 +01:00
Juan RP
5ab39d53f5 chroot: fix path to xbps.conf after last changes.
--HG--
extra : convert_revision : 99fb318fcbbbb701d699bb35644f38dde1580a92
2009-02-05 17:08:06 +01:00
Juan RP
aa02e8b2ab chroot: don't set root:root in all files, will be addressed differently.
--HG--
extra : convert_revision : aa60b18e3b642fa1a1d3f94579dff977e5a5523d
2009-02-04 22:02:15 +01:00
Juan RP
bcf9dff398 Rename automatic patches to just "install.diff" or "build.diff".
--HG--
extra : convert_revision : 93ca1b8d614e75cc1df7e12735bde31b04c2e9d1
2009-02-04 03:50:36 +01:00
Juan RP
7c97804022 binpkg: use -L flag for find(1) when creating flist.
This is required for the links to appear in.

--HG--
extra : convert_revision : 6951b6245f4c7106cd4db37f9b9365aac4023403
2009-02-04 03:41:06 +01:00
Juan RP
97b2fa55e2 chroot: do not overwrite some files installed by the shadow binpkg.
--HG--
extra : convert_revision : 104a16f5e01c2ec161da3991130dda276f2f798b
2009-02-03 23:54:52 +01:00
Juan RP
fa2748d9b2 Reorganize the templates directory for possible future changes.
Now every template uses its own directory. Patches, prepost* files
and other related stuff are stored there.

--HG--
extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
2009-02-03 21:35:57 +01:00
Juan RP
6c252d43d4 Split installation/removal parts in prepost-action scripts.
There are two scripts that can be used now:
	- prepost-inst: for pre/post actions at installation.
	- prepost-rm: for pre/post actions at removal.

--HG--
extra : convert_revision : 5e054758f549f5c81693b825795fbb36e2d5513a
2009-02-03 17:32:51 +01:00
Juan RP
b2fe705924 When writing the flist in pkg metadata, sort files before dirs.
--HG--
extra : convert_revision : bf341c59954e02e320986d259521643beb25f291
2009-02-02 20:40:06 +01:00
Juan RP
73e510f2aa builddep_funcs: fix a wrong conditional.
--HG--
extra : convert_revision : c4f0b0a47239e7449730473456636a8dfe32c3c3
2009-01-14 16:51:17 +01:00
Juan RP
869b38b9fa Make sure to run tmpl_vars for a template.
--HG--
extra : convert_revision : 2146c1d7492dd27490501f0fe836fdb19e792548
2009-01-14 16:49:40 +01:00
Juan RP
d8e8d3f6ab xbps_remove_pkg(): continue even if $destdir is not there.
Binary packages won't provide $destdir anyway.

--HG--
extra : convert_revision : b803c58c359e7e0f321d5855faa7ac2377b05364
2008-12-29 16:47:57 +01:00
Juan RP
c0549cd845 binpkg: fix the priority object.
--HG--
extra : convert_revision : 478d30796865eaa479571fb3834a0e9e2a309b5c
2008-12-29 15:54:33 +01:00
Juan RP
78b036f346 Add the prepost-action script into the binary package if exists.
--HG--
extra : convert_revision : 3d1db89a9347d423550984e7ff5c941d0d7b6cbe
2008-12-29 09:26:49 +01:00
Juan RP
4148b5e4b6 Added support for pre/post installation script with binary packages.
For now all is handled in a script "prepost-action.sh" in package's
metadata directory, with a target in the shell script.

--HG--
extra : convert_revision : 93ed92d9fbb12939c751354cff464cc097379520
2008-12-28 08:44:01 +01:00
Juan RP
6fa40b9e39 extract_func.sh: initialize a var to avoid an error.
--HG--
extra : convert_revision : 56fcbc667243b142c2a0bb55fc164f56254e468b
2008-12-28 00:23:13 +01:00
Juan RP
68941a9a31 Introduce $install_priority for use in templates.
A higher number in this var will make the binary package to
be installed before other with lower priority. By default, all
packages have a 0 priority. xbps-base-dirs uses 100, because it
needs to be one of the first installed packages.

--HG--
extra : convert_revision : 81a88b676d2ae3180914612371619f19e1765d02
2008-12-27 16:20:54 +01:00
Juan RP
091a8bf618 chroot: xbps-base-dirs provides required dirs now.
--HG--
extra : convert_revision : 5db8d2d8a74933cb16a4656922dbd6f8e6cbc79e
2008-12-27 10:09:52 +01:00
Juan RP
f6f7288c48 Make it possible to install 'custom-install' pkgs without distfiles.
Make xbps-base-{chroot,system} install the lib -> lib64 symlinks on
x86_64.

--HG--
extra : convert_revision : 9404d50c8a15dcd700df49aace1bbd105749f00a
2008-12-27 04:21:38 +01:00
Juan RP
13a05a18b9 builddep_funcs.sh: minor cosmetic change.
--HG--
extra : convert_revision : 19dd349edd4906ca781a21a0e9ea2e88c86ff196
2008-12-26 11:30:47 +01:00
Juan RP
b303ff28a6 binpkg.sh: only continue building the binpkg if the packing was ok.
--HG--
extra : convert_revision : 4a568775cf91bdde816f2b2f7e12ee0f95a06828
2008-12-22 06:43:41 +01:00
Juan RP
fbcdbde679 install_funcs.sh: a meta-template needs $destdir.
--HG--
extra : convert_revision : 176760b9d895a32c95f48078a28ca85598de95a3
2008-12-22 06:27:34 +01:00
Juan RP
0cd947bff0 chroot.sh: don't hardcode path to xbps-src anymore.
--HG--
extra : convert_revision : bbaf586b398a1c359c8ebee085af7627ca9336e9
2008-12-22 05:29:26 +01:00
Juan RP
b13563dbfd Always write pkg metadata on install, not just when stowning.
--HG--
extra : convert_revision : b16be22a9acf12005caca53978c1366463b7fff6
2008-12-22 03:48:58 +01:00
Juan RP
bf10932be1 genindex: $XBPS_DIGEST_CMD is no more.
--HG--
extra : convert_revision : a7945d1dc038b95cca840df61c44682a4e205058
2008-12-22 03:37:21 +01:00
Juan RP
e4f9ab62d8 chroot.sh: don't mount unexistent dirs.
--HG--
extra : convert_revision : 51610bead1446f198b5a47596aeef3b82ae2c400
2008-12-22 03:16:16 +01:00
Juan RP
0bb6db28c2 stow_pkg(): remove wrong test.
--HG--
extra : convert_revision : 3a819bc1026c9ed718a0e6d7c6fe1d71cd0883e3
2008-12-22 03:06:15 +01:00
Juan RP
db45574f24 Add /usr/local/sbin into PATH.
--HG--
extra : convert_revision : c5315db73a191482858c52d5dc54f3e264ada219
2008-12-22 02:23:52 +01:00
Juan RP
6ee35486bf To use xbps now 'make and make install' is required.
--HG--
extra : convert_revision : 976738f26daf1ccd2101ca2325e1e517d98e71cb
2008-12-22 02:14:40 +01:00
Juan RP
9f7bfc772a stow_func.sh::unstow_pkg(): dont play with flist in metapkgs.
--HG--
extra : convert_revision : be2fa0ab535da930ce86824e9fceef786e55a541
2008-12-22 00:51:34 +01:00
Juan RP
e7cf222ac9 Reorganize the tree splitting stuff on its own dir.
--HG--
extra : convert_revision : 87473fb499c42deaf0285f5559dc1cd8d67ab436
2008-12-21 23:57:02 +01:00