Rename binary to bwrap

This is shorter and less cutesy
This commit is contained in:
Alexander Larsson
2016-02-18 08:45:44 +01:00
parent ea4098a39e
commit c79b61e90a
3 changed files with 7 additions and 7 deletions

View File

@@ -4,9 +4,9 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_CPPFLAGS = -DDATADIR='"$(datadir)"' -DLIBEXECDIR='"$(libexecdir)"'
AM_CFLAGS = $(WARN_CFLAGS)
bin_PROGRAMS = bubblewrap
bin_PROGRAMS = bwrap
bubblewrap_SOURCES = \
bwrap_SOURCES = \
bubblewrap.c \
bind-mount.h \
bind-mount.c \
@@ -16,5 +16,5 @@ bubblewrap_SOURCES = \
utils.c \
$(NULL)
bubblewrap_CFLAGS = $(AM_CFLAGS)
bubblewrap_LDFLAGS =
bwrap_CFLAGS = $(AM_CFLAGS)
bwrap_LDFLAGS =

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Use bubblewrap to run /bin/sh in the host's rootfs.
set -euo pipefail
exec bubblewrap --mount-ro-bind /usr /usr \
exec bwrap --mount-ro-bind /usr /usr \
--make-dir /tmp \
--mount-proc /proc \
--mount-dev /dev \

View File

@@ -29,7 +29,7 @@ runtime=runtime/org.gnome.Platform/x86_64/master
EOF
./bubblewrap \
exec ../bwrap \
--mount-ro-bind ~/.local/share/xdg-app/runtime/org.gnome.Platform/x86_64/master/active/files /usr \
--lock-file /usr/.ref \
--mount-ro-bind ~/.local/share/xdg-app/app/org.gnome.Weather/x86_64/master/active/files/ /app \
@@ -62,7 +62,7 @@ EOF
--mount-bind ~/.config/dconf ~/.config/dconf \
--mount-bind /run/user/`id -u`/dconf /run/user/`id -u`/dconf \
--unshare-pid \
/bin/sh 10< ${APPINFO}
gnome-weather 10< ${APPINFO}
# TODO: