- Introduce package states: unpacked, broken, installed, etc.
Not yet finished, only unpacked and installed are used for now.
- Move package metadata files in binary packages directly to
the top directory, this speeds up some ops and makes easier to
continue working in future changes.
- xbps-bin: -C flag to check the hash of package files has been
superseded by the 'check' target, which verifies the integrity
of an installed package.
- Use the 'essential' object when upgrading packages, overwritting
current files. This is needed for critical packages like sh, libc
and others.
- Miscellaneous tweaks and improvements thorough the code.
--HG--
extra : convert_revision : 2073fcc123efc24b3e9327b5e22aa91752f20df6
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
The reason is that fakeroot can't read files that have restrictive
perms and you'd have to change them before the src installation, and
restoring them at binpkg pre-installation.
I prefer to avoid all this and build the pkg with appropiate perms.
--HG--
extra : convert_revision : 8a5086049ab575962913eda0cb2ace0c211b97f1
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
Because in theory any shell script or executable program might run,
and therefore the .sh extension is wrong.
--HG--
extra : convert_revision : 2f52520ccb04cdf1c414ee0ac6128e54d82c1d36