Alexander Larsson
a418641892
add build-bundle command
2015-11-10 11:57:30 +01:00
Alexander Larsson
368eb5f304
utils: Add xdg_app_supports_bundles
...
This uses some hacks to check at runtime if ostree is new enough
to support making bundles.
2015-11-10 11:57:30 +01:00
Alexander Larsson
e65ca6a18f
Update to 0.4.5
2015-11-04 16:10:16 +01:00
Alexander Larsson
d3b207a0d6
Create custom /etc/passwd and /etc/group with minimal content
...
There is no particular reason to leak the entire host passwd and group
files, as only the users uid/gid is mapped anyway. If fact, injecting
the tty group while also not being allowed to chmod the pty to that group
will make grantpt() fail.
2015-10-26 17:23:31 +01:00
Christian Hergert
f06a09b0f9
helper: unblock SIGCHILD before execvp() of child
...
We don't want to block SIGCHILD from being handled by the child process,
as that could be necessary for g_child_watch_add(), waitpid(), or similar.
2015-10-26 09:07:04 +01:00
Christian Hergert
f83224c948
helper: match whitespace to other options
2015-10-26 09:07:04 +01:00
Christian Hergert
14bd531121
helper: give xdg-app process access to /dev/ptmx
...
This is needed for posix_openpt() to locate the proper ptmx path. We can
just symlink into /dev/pts/ptmx which is already in the mount namespace.
2015-10-26 09:07:04 +01:00
Christian Hergert
ed6867fe68
build-export: add human readable format to "Content Bytes Written"
...
It's nice to get a general idea of the size quickly from the build-export
command without counting the number of digits.
2015-10-26 09:07:04 +01:00
Alexander Larsson
64d7c00045
Move dbus invocation peer app detection to lib/
2015-10-21 10:23:37 +02:00
Alexander Larsson
3a47f0b282
Install dbus introspection files
2015-10-21 09:52:55 +02:00
Alexander Larsson
6e1c211a5c
Correct capitalization on dbus interface filename
2015-10-21 09:48:53 +02:00
Alexander Larsson
477de4c217
Always remove all leftover app/runtime traces on uninstall
...
Even if there is no deploy directory we make sure to remove any
refs with the same name in the repo, and purge the repo.
2015-10-19 10:41:47 +02:00
Alexander Larsson
9855ac23b4
utils: Add xdg_app_decompose_ref()
2015-10-19 10:41:47 +02:00
Alexander Larsson
a4ff61526c
uninstall: Don't fail if there is no origin
...
This could happen if we install from a bundle with no origin
2015-10-19 10:41:47 +02:00
Alexander Larsson
7c4898cbb2
document-portal: Fix warning
...
We need to return something from main()
2015-10-06 10:12:19 +02:00
Alexander Larsson
607e3b1849
Always regenerate summary after export-build
2015-10-05 13:05:15 +02:00
Alexander Larsson
c26510295f
helper: Also copy extra symlinks from /
2015-10-05 11:24:40 +02:00
Alexander Larsson
dbc92635cc
helper: Correctly zero terminate symlink targets
2015-10-05 11:24:26 +02:00
Alexander Larsson
3499f3bfe9
docs: Fix whitespace issues
2015-10-05 11:13:52 +02:00
Alexander Larsson
7791ea130f
build-export: Add support for signing build
2015-10-05 11:13:36 +02:00
Alexander Larsson
dda045d808
Update for 0.4.4 release
2015-10-02 09:55:34 +02:00
Alexander Larsson
208eb7b1aa
Propagate Xauthority details to the sandbox if X11 is enabled
...
Some xservers out there (like xorg 1.17.1) have a broken server interpreted
local xauth, which causes apps to fail to connect to the xserver.
This fixes that by propagating Xauthority data such as the MIT-MAGIC-COOKIE-1.
2015-10-01 21:23:23 +02:00
Alexander Larsson
eedbeab9d0
helper: Handle existing mounts with escaped characters
2015-10-01 18:59:32 +02:00
Alexander Larsson
cf5050126e
fuse: Disable entry cache to work around race condition
2015-10-01 18:02:13 +02:00
Alexander Larsson
c66f09b6b6
build-export: Strip out uid/gid and xattrs
...
These are not important anyway as we ignore them on checkout.
2015-09-30 12:48:50 +02:00
Colin Walters
b337fc7621
build: Fix srcdir != builddir from git
...
Was hitting this in gnome-continuous, which does srcdir != builddir by
default.
2015-09-29 23:26:06 +02:00
Alexander Larsson
82071b2cb8
Bump version to 0.4.3
2015-09-29 16:15:27 +02:00
Alexander Larsson
8cd95d2621
Make sure we build against older ostree (without gpg import)
...
This means we work on the f22 ostree version at least.
2015-09-29 16:12:37 +02:00
Alexander Larsson
279558b6bf
cleanup: Simplify code using xdg_app_fail
2015-09-28 16:54:24 +02:00
Alexander Larsson
472a71cdc3
cleanup: Remove unused variables
2015-09-28 16:42:14 +02:00
Alexander Larsson
e4920a8e7e
cleanup: Remove trivial use of goto out
2015-09-28 16:40:19 +02:00
Alexander Larsson
b25830d8f9
Add xdg-app dump-runtime command
...
This creates a tar of the runtime as set up by xdg-app
2015-09-28 10:48:47 +02:00
Alexander Larsson
7af7d61fa0
Make usage_error return FALSE
...
This allows us to shorten code when returning these errors.
2015-09-25 17:36:38 +02:00
Alexander Larsson
b08f650b07
Add --nofilesystem commandline arg
2015-09-25 17:04:50 +02:00
Alexander Larsson
dc6c6826ab
utils: Add xdg_app_fail
2015-09-25 17:04:32 +02:00
Alexander Larsson
26458d8da2
Release 0.4.2.1
2015-09-25 11:47:27 +02:00
Alexander Larsson
e45d0a7d46
Fix regression is dbus proxy
2015-09-25 10:53:59 +02:00
Alexander Larsson
64dae1d7db
Accept -d as --show-details in all commands that support it
2015-09-25 09:28:49 +02:00
Alexander Larsson
423c1131d8
Update to 0.4.2
2015-09-24 21:40:07 +02:00
Alexander Larsson
97ef439f59
bash_completion: Properly list apps when completing "run"
2015-09-24 21:36:35 +02:00
Alexander Larsson
afda9d54c4
list-apps/runtimes: User table printer
2015-09-24 21:36:35 +02:00
Alexander Larsson
66e61764f3
list-remotes: Add support for listing both user and system remotes
2015-09-24 21:36:35 +02:00
Alexander Larsson
c40f2ad74e
Move table printer to xdg-app-utils.c
2015-09-24 21:36:35 +02:00
Alexander Larsson
41af86dc69
Add xdg-app enter command
...
This lets you enter a sandbox and run a command there, which is useful
for debugging purposes.
2015-09-24 19:23:24 +02:00
Alexander Larsson
2cfbf4ff1a
Update to libglnx for new autocleanup backports
2015-09-24 15:30:17 +02:00
Alexander Larsson
1917e1fd38
Make seccomp optional
...
Several architectures does not have seccomp yet.
2015-09-24 14:57:53 +02:00
Alexander Larsson
ee0cf9a247
add-remote: Allow specifying local pathname instead of uri
2015-09-23 14:55:12 +02:00
Alexander Larsson
75b4f557b4
run: Add /var/config and /var/data to sandbox
...
These point to the per-app data subdirectories. They are useful alternatives
to the $HOME based names because they have fixed names, and can be used
in e.g. symlinks.
2015-09-23 14:46:20 +02:00
Alexander Larsson
3240ac6d3f
remove some unused code
2015-09-23 13:54:25 +02:00
Alexander Larsson
752b1a0a4b
run: Fix handling of which filesystems you can access
2015-09-23 13:53:04 +02:00