Matteo Pernarella
eeb6a6758d
New Logo ( #198 )
2022-03-10 23:57:46 +01:00
89luca89
e045a4d029
docs: update docs
2022-03-10 22:48:49 +01:00
Mišo Barišić
b6619259d8
Add distrobox-stop command ( #196 )
2022-03-10 22:37:15 +01:00
lynxnot
1d7ca8bb4d
Fix grep match of very short user or group names. ( #197 )
2022-03-10 22:29:21 +01:00
89luca89
d98974b5a5
rm: add confirmation prompt to distrobox-rm, together with a --yes option #177
2022-03-05 13:08:53 +01:00
Luca Di Maio
8ae3666923
init: check shell_pkg separately and fallback to bash in case of failure #185 ( #189 )
2022-03-05 12:55:06 +01:00
ennec-e and 89luca89
eca80a069d
enter: Enter at workdir through child path of '/run/host' ( #186 )
...
* enter: Enter at workdir through child path of '/run/host'
Despite tight integration, some host workdir paths may not exist in container.
So always drop at workdir through '/run/host' path which is bound to exist if not in $HOME (or subdirectory)
Co-authored-by: 89luca89 <luca.dimaio1@gmail.com >
2022-02-28 19:23:44 +01:00
Mišo Barišić
7960dbdf07
Prefix install/uninstall option ( #190 )
...
This fixes #184
right now --path/-p is DEPRECATED.
Gradually switch to a more ubiquitous use of --prefix/-P
2022-02-26 11:43:59 +01:00
89luca89
3c950a77b0
docs: update docs #173
2022-02-24 19:27:40 +01:00
89luca89
72de29e850
docs: update compatibility list
2022-02-23 19:11:14 +01:00
ennec-e
1f6e65f848
init: If user already exists in /etc/passwd set props again, do not skip ( #176 )
...
* init: If user already exists in /etc/passwd set properties again rather than skip
This fixes a bug where home field in /etc/passwd diverges from value of $HOME
which then causes unexpected behaviour.
When user is pre-prepopulated due to some reason the old behaviour was to skip useradd.
So path in /etc/passwd could be different than one manually set (ex. when user asks for custom home).
Fix bug by force-setting properties with usermod if user already exists.
Added some comments to make reasoning clearer.
2022-02-23 19:10:44 +01:00
89luca89
c937e7b060
all: better variables escaping, Fix #183
2022-02-22 11:18:41 +01:00
Nozomi Miyamori and 89luca89
ce995f17e3
enter: escape --workdir argument #181 ( #182 )
...
Co-authored-by: 89luca89 <luca.dimaio1@gmail.com >
2022-02-22 11:16:48 +01:00
Nathan Chancellor
ca06a7134f
install: Remove permissions check and dest_path creation ( #180 )
...
1caa478c52 tried to improve the writeability check to avoid false
positives, such as the one reported in a DistroWatch.com article.
However, it is still possible to break this check by having the
destination and its parent directory not exist:
$ ./install -p $HOME/tmp/directory-does-not-exist/bin
Cannot write into /home/nathan/tmp/directory-does-not-exist/bin, permission denied.
The script already uses 'install -D', which will create the target
directory if it does not exist, so trying to create dest_path
preemptively only increases the complexity of install and risks
introducing false positive errors like above.
Instead, just check the calls to install and print a message about
potential issues with permissions if they fail.
Signed-off-by: Nathan Chancellor <nathan@kernel.org >
2022-02-21 18:26:38 +01:00
Mišo Barišić
829ce09d03
readme: install update ( #179 )
2022-02-21 14:40:26 +01:00
Mišo Barišić
6ff2bc481d
install: remove redundant dot ( #178 )
2022-02-21 14:26:40 +01:00
89luca89
7b833a9a33
all: fix formatting
2022-02-21 11:03:41 +01:00
89luca89
fb94ef0d09
install: inform user about PATH at end of installation #177
2022-02-21 10:48:17 +01:00
89luca89
1caa478c52
install: add check for dest_path, ask for creation if it does not exist #177
2022-02-21 10:47:53 +01:00
89luca89
3fb5beb213
distrobox/all: detect if running sudo and improve error messages for container managers, pointing to documentation #177
2022-02-21 10:44:12 +01:00
89luca89
4e68bde8d7
docs/man: add table of compatibility to man pages, add more links to docker setup #177
2022-02-21 10:41:51 +01:00
89luca89
7815b51fa4
all: bump version for next release
2022-02-15 09:31:46 +01:00
89luca89
88abba68c6
docs: add youtube video
1.2.13
2022-02-11 23:42:06 +01:00
89luca89
a0e6148f70
install/uninstall: add some comments
2022-02-11 22:57:56 +01:00
Mišo Barišić
c5b5a15282
install: conditional default install path ( #167 )
2022-02-11 22:51:21 +01:00
89luca89
d792dafad2
all: formatting
2022-02-11 19:11:07 +01:00
89luca89
41b99227c4
all: formatting
2022-02-11 18:31:13 +01:00
89luca89
6962c42baa
docs: update docs
2022-02-11 18:31:08 +01:00
89luca89
5b1b6d8b2b
add gitignore
2022-02-11 18:28:44 +01:00
Mišo Barišić
6a8e45278d
main: version flag in distrobox command ( #165 )
2022-02-11 18:25:50 +01:00
89luca89
c5ce1bd435
create/enter: add comments for #160
2022-02-07 12:49:31 +01:00
deinferno
4523d5c352
create/enter: use cd + pwd to find absolute paths ( #160 )
2022-02-07 12:41:11 +01:00
89luca89
77d6a6520d
init: run apt invoke only if path is a mountpoint #159
2022-02-04 12:13:25 +01:00
89luca89
d0da31e848
all: general formatting and readability improvements
2022-02-03 18:05:50 +01:00
89luca89
f14f39570a
do not exit on dryrun when not finding podman/docker
2022-02-01 19:53:57 +01:00
Dario Faggioli
ffb43bc52a
docs: Packages links and install instructions for openSUSE and SLE as host distros ( #157 )
...
* docs: packages and install steps for openSUSE
* docs: instructions for SUSE Linux Enterprise Server as host
2022-02-01 10:29:44 +01:00
89luca89
f402e8fba6
workflow: use dash noexec to check scripts
2022-02-01 02:06:51 +01:00
89luca89
9b981caffc
docs: update docs
2022-01-31 17:49:37 +01:00
89luca89
8155edd96d
docs: update docs
2022-01-31 17:21:51 +01:00
89luca89
94231c0f96
docs: specify Kinoite in compatibility list
2022-01-31 17:19:27 +01:00
89luca89
396ce36091
docs: add new Phoronix article
2022-01-31 13:03:02 +01:00
89luca89
6186c10565
init: do not mount nscd sockets or user management will fail
2022-01-31 10:47:09 +01:00
89luca89
7679b1cd97
docs: update compatibility and install instructions
2022-01-30 21:54:21 +01:00
89luca89
15883735d2
main: fix help
2022-01-30 21:28:10 +01:00
deinferno
aa1fe3769a
enter: add FHS paths to XDG_DATA_DIRS and XDG_CONFIG_DIRS too ( #147 )
2022-01-29 20:23:52 +01:00
deinferno
1caf383378
create: don't use realpath, podman can follow symlinks just fine ( #146 )
2022-01-29 20:22:44 +01:00
FedX
d0bfedd75c
docs: update NixOS host compatibility.md ( #151 )
2022-01-29 20:21:42 +01:00
89luca89
e1b8eb7355
init: fix opensuse libvte package name. Fix #149
2022-01-29 19:07:59 +01:00
FedX
480b57b039
Add support for /nix/ volume within the container ( #148 )
2022-01-29 18:54:17 +01:00
89luca89
fed3dee775
README: add more badges
2022-01-29 18:47:56 +01:00