f78c2986d4
xbps-uchroot: try to bind mount /proc if a new instance fails.
...
This should help uchroot to work in the travis-ci containers (hopefully).
2015-04-11 08:47:40 +02:00
3ef9350787
xbps-rindex/clean: simplify.
2015-04-09 12:14:03 +02:00
2216c84eca
libxbps: continue updating all pkgs if xbps is uptodate.
2015-03-29 11:06:18 +02:00
504e68ad82
NEWS: sync with reality.
2015-03-29 09:58:03 +02:00
68a8b8543d
tests: new tests to verify xbps autoupdating itself.
2015-03-29 09:57:37 +02:00
83ade39960
xbps now autoupdates itself exclusively if there's an update.
...
That was added for 0.21, but for some reason that I cannot remember it was
disabled a bit later... looks like it's useful to have.
2015-03-29 09:56:28 +02:00
ea0f1731e3
xbps-uchroot: added -O to use overlayfs on tmpfs in a tempdir.
2015-03-26 03:15:17 +01:00
9a16283575
Introduce xbps_repo_{un,}lock() to serialize write access to repodata.
...
We use a simple file lock that is created with O_CREAT|O_EXCL.
This should fix the concurrency issues with multiple processes
running xbps-rindex -a/-c on the same repository/arch combo.
2015-03-25 12:00:59 +01:00
bb4ebf8152
tests: add test case when installing a pkg with unresolved circular deps.
2015-03-21 11:48:26 +01:00
62b21a4f93
xbps-install/question.c: char is not enough for fgetc, use int (HI GOTTOX)
2015-03-21 09:45:29 +01:00
efd24456ce
Post release bump.
2015-03-21 09:32:07 +01:00
ba84eec50f
NEWS: prepare 0.44.1.
2015-03-21 09:30:58 +01:00
dc47dfd593
xbps_get_pkg_fulldeptree: detect pkgs depending on itself via virtual pkgs.
...
Reported by Duncan Overbrook.
Update NEWS with recent changes.
2015-03-20 08:03:06 +01:00
1eeaa99438
utils: test for EOF on error, not for \0.
2015-03-14 00:41:39 +01:00
9dfed6fc0c
add xbps-uunshare to .gitignore
2015-03-14 00:38:33 +01:00
507a9e338f
utils: small code cleanup.
2015-03-14 00:38:33 +01:00
52dae50075
xbps-uunshare: replace clone/exec with unshare/exec cmd.
...
There's no reason to clone and run cmd in the child, replace the
execution environment with cmd directly to avoid the child process.
2015-03-13 21:14:28 +01:00
519ea4001c
xbps-uunshare: fix typo in an error msg (thanks uggedal).
2015-03-12 19:05:05 +01:00
f9b6dd9d2d
proplib: anonymous mappings need MAP_ANON.
...
Somehow I removed this accidentally in a previous change... sigh.
2015-03-11 17:06:45 +01:00
301b6d220e
xbps-uunshare: fix previous ( 15977278
).
2015-03-09 12:45:32 +01:00
1597727814
xbps-uunshare: do not fail if /proc/self/setgroups does not exist.
...
3.16 supports user_namespaces(7) but does not have /proc/self/setgroups.
Found by @cheneukirchen.
2015-03-09 12:34:57 +01:00
be363d93f5
configure: post-release bump.
2015-03-08 10:22:33 +01:00
345183c13e
NEWS: mention some items for 0.44.1.
2015-03-08 10:22:15 +01:00
25f7228920
xbps-reconfigure: add -i/--ignore to usage; thanks @chneukirchen.
2015-03-08 10:22:15 +01:00
ac93845378
Merge pull request #84 from chneukirchen/master
...
updated completions
2015-03-07 21:25:14 +01:00
916f8bea26
_xbps_src: update zsh completion.
2015-03-07 14:05:36 +01:00
1ac25a53c4
_xbps: update zsh completion.
2015-03-07 14:00:10 +01:00
acb00d52e4
xbps-checkvers(8): fix manually added packages as arguments.
...
Regression introduced in the 0.44 changes.
2015-03-07 09:11:12 +01:00
95d650bdb1
lib/transaction_shlibs.c: add a printf to see what's going on.
2015-03-07 08:02:39 +01:00
38fb0aabe5
NEWS: prepare 0.44.
2015-03-06 09:04:02 +01:00
77e83d4b17
xbps-uunshare: for compat with uchroot, use the uid/gid of the calling process.
...
... rather than setting this up for uid/gid 0.
2015-03-06 07:39:31 +01:00
441f147f05
Fix reinstallation of pkgs in repolock mode.
...
At the time we've been searching for the pkg in a repo, no repos
were registered resulting in EINVAL. While here, if there's no
declared repos return ENOENT instead.
2015-03-05 21:23:58 +01:00
3da2c3fdda
xbps-uunshare: silence a clang warning.
2015-03-05 19:24:33 +01:00
26944cf6be
xbps-uunshare: chdir to the correct dir for bind mounts.
2015-03-05 19:06:39 +01:00
a1d1b3e480
bin/Makefile: restrict xbps-uunshare(8) only on linux.
2015-03-05 18:46:01 +01:00
58e6d71d24
New utility: xbps-uunshare(8) - like xbps-uchroot(8) with user_namespaces(7).
2015-03-05 18:44:20 +01:00
927254c43e
xbps-rindex(8): fix -s short option (omitted in shortopts).
2015-03-03 16:10:03 +01:00
7bff8aa350
tests/update_repolock: fix repo order and use readlink -f to fix travis-ci.
2015-03-03 12:57:49 +01:00
4922c808f4
Implemented feature #77 (Add package repository locked mode)
...
Close #77
2015-03-03 12:11:28 +01:00
db21c045d2
xbps-create(8): use fdatasync() rather than fsync().
...
The latter could be too expensive, and we only care for the data to be written
to the binary package because a bit later we rename() the temporary file,
which will ensure a data flush to disk.
2015-02-27 11:04:25 +01:00
04da57e4f9
xbps-pkgdb: when checking pkg files, ignore mtime with mutable files.
2015-02-27 10:38:50 +01:00
976718417b
libxbps: remove "skip-obsoletes" handling; unnecessary with the mtime checks.
2015-02-26 19:51:03 +01:00
b6b446d32e
libxbps: properly detect obsolete files with files being between pkgs.
...
120 test cases now successfully pass, and all known issues about
pkg updates that move files between them should be gone (hopefully).
2015-02-26 19:37:46 +01:00
8de52caa2f
tests: two more test cases to verify moving files between pkgs.
...
There are now 2 broken test cases thanks to the fixed xbps-pkgdb(8).
2015-02-26 12:02:06 +01:00
c712c99ced
xbps-pkgdb: exit with error if any test fails.
2015-02-26 12:01:20 +01:00
7c52471ff6
tests: add test case to verify pkg file timestamps are updated correctly.
2015-02-26 10:40:15 +01:00
cbe493858c
libxbps: apply file timestamps to unmodified files on-disk while unpacking.
2015-02-25 11:10:18 +01:00
b133b9023c
lib/package_unpack.c: wrap some long lines and fix an obvious error.
2015-02-24 09:34:39 +01:00
725ef2472d
xbps-uhelper: sync error messages with reality.
2015-02-23 16:56:47 +01:00
b909e8edc3
xbps-pkgdb: fix use-after-free introduced in 3855d2e
.
2015-02-23 08:26:20 +01:00