Commit Graph

1202 Commits

Author SHA1 Message Date
Luca Di Maio
1024c91cd1 docs: fix linting
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2024-02-01 23:16:20 +01:00
distrobox-docs-bot
d521337f1c Automatic Man Page Update
Signed-off-by: distrobox-docs-bot <distrobox-docs-bot@users.noreply.github.com>
2024-02-01 22:14:51 +00:00
Luca Di Maio
a3cb8d0407 docs: update compatibility list
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2024-02-01 23:13:59 +01:00
Luca Di Maio
6e9b2a8310 fix linting
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2024-02-01 23:07:18 +01:00
FrauH0lle
31a266956b export: add --enter-flags to distrobox-export (#1169)
* Add --enter-flags to distrobox-export

* Fix formatting

---------

Co-authored-by: Luca Di Maio <luca.dimaio1@gmail.com>
2024-02-01 23:05:25 +01:00
Philipp Schmitt
9d6ad16cc7 all: Allow NixOS package maintainers to ship a static config file (#1080) 2024-02-01 22:55:03 +01:00
Philipp Fruck
c3ff4c33f5 assemble: Use read instead of cat (#1147) 2024-02-01 22:43:56 +01:00
FrauH0lle
770f0eaa81 export: capture full container command when exporting app (#1170) 2024-02-01 22:38:18 +01:00
distrobox-docs-bot
437e0c7538 Automatic Man Page Update
Signed-off-by: distrobox-docs-bot <distrobox-docs-bot@users.noreply.github.com>
2024-02-01 21:35:03 +00:00
Osama Albahrani
2f0968d47c all: Bump default container image to Fedora 39 (#1134)
Best-effort, search-and-replace. Checked manually using:

    % rg -iC1 'fedora.*38'

Fedora 39 was released 2023-11-07 (about 2 months ago)

imho, 2 months is enough of a grace period. Thoughts?

- Fixes 89luca89/distrobox#1119
2024-02-01 22:34:23 +01:00
sfalken
da65ee2ce5 docs: Updated URLS for Fedora Images, Removed F36 (#1140) 2024-02-01 22:34:01 +01:00
Bai-Chiang
2fcfc8df0f docs: Update Steam Deck installation guide. (#1109)
- SteamOS 3.5 already preinstalled `distrobox` and `podman`.
- `pipewire` is working now, so update `~/.distroboxrc` instruction.
2024-02-01 22:30:06 +01:00
Felix Hoffmann
0d16008754 assemble: fix Split multiple apps and bins by space (#1084)
* fix(assemble): split multiple apps and bins by space

* fix(assemble): remove unnecessary trim for export
2024-02-01 22:26:44 +01:00
Bjørn Forsman
be3249d101 create: Use $XDG_CACHE_HOME, keep cache files in $HOME/.cache/distrobox by default (#1082)
* Read $XDG_CACHE_HOME, fall back to $HOME/.cache

This allows configuring where the cache dir is located, according to
XDG Base Directory Specification
(https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html).

* Change default cache dir from ~/.cache to ~/.cache/distrobox

I think it's a good idea to keep the cache files grouped under a
directory, indicating ownership, and this is the most common thing to do
in GNU/Linux distros.
2024-02-01 22:22:45 +01:00
btwotwo
202f13f64f init: Fix inability to enter Gentoo container after changing EMERGE_DEFAULT_OPTS (#1079)
If one adds '--ask' to EMERGE_DEFAULT_OPTS then they can not enter the Gentoo container anymore, because --ask doesn't work on the non-interactive tty
2024-02-01 22:19:58 +01:00
Osama Albahrani
ad542ebe0f rm: Ignore nonexistent ~/.local/bin (#1073)
Fixes 89luca89/distrobox#1072
2024-02-01 22:19:32 +01:00
diogo464
038a8439b5 fix: fixed assemble start_now option with root (#1074)
when assembling	the following example file:
```
[fedora]
root=true
start_now=true
```
distrobox fails	to enter the container because it does not pass the --root flag.
this commit fixes that.

Co-authored-by: diogo464 <diogo464@d464.sh>
2024-02-01 22:19:12 +01:00
distrobox-docs-bot
08b4ff5fee Automatic Man Page Update
Signed-off-by: distrobox-docs-bot <distrobox-docs-bot@users.noreply.github.com>
2024-02-01 21:18:44 +00:00
Pavin Joseph
3b1e312f88 Fix systemd/init container startup (#1069)
Change user login to prevent issues with firefox segfaulting (IPC I/O) related errors. TODO: improve init wait depending on whether container has init or not.

Improved waiting for systemd to start system

Fix creation of systemd login sessions to prevent conflict across multiple active sessions.

some containers are not allowing passthrough of certain environment variables without explicitly passing them using sudo's --preserve-env flag

run podman exec command as root since some distros like suse or arch would ask for user password when using su to login even though the user has no password in /etc/shadow

fix pam_systemd not being checked for su on certain distros like suse or arch.

---------

Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
Co-authored-by: Luca Di Maio <luca.dimaio1@gmail.com>
2024-02-01 22:18:05 +01:00
Luca Di Maio
3435f4d270 all: bump version for release
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
1.6.0.1
2023-11-20 22:52:04 +01:00
Luca Di Maio
9ad8087aea init: fix nvidia library integration. Fix #1064
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-20 22:50:58 +01:00
Luca Di Maio
c35d792830 export: fix exporting desktop app. Fix #1066
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-20 22:49:43 +01:00
Luca Di Maio
3c1e0eb590 all: bump version for release
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
1.6.0
2023-11-19 22:21:19 +01:00
Luca Di Maio
74161a20e3 init: fix gentoo pinentry ambiguity
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-19 17:05:59 +01:00
Luca Di Maio
551675e370 export: use su-exec when sudo is absent
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-19 16:59:21 +01:00
Luca Di Maio
8fa9cd38d8 CI: fix rootful container in CI
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-19 16:18:17 +01:00
Luca Di Maio
5066e625ad init: skip nvidia mounts when file already exists, Fix #1030
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-19 15:52:54 +01:00
distrobox-docs-bot
2b21c1f634 Automatic Man Page Update
Signed-off-by: distrobox-docs-bot <distrobox-docs-bot@users.noreply.github.com>
2023-11-19 14:37:37 +00:00
Luca Di Maio
6ee5467469 docs: update container save/restore, Fix #1015
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-19 15:36:40 +01:00
Luca Di Maio
7853799bd6 docs: migrate to new Void images, Fix #1016
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-19 15:24:54 +01:00
distrobox-docs-bot
0ac447f5f5 Automatic Man Page Update
Signed-off-by: distrobox-docs-bot <distrobox-docs-bot@users.noreply.github.com>
2023-11-19 13:42:13 +00:00
Luca Di Maio
48cf0c6c1f docs: link assemble options to create flags. Fix #1006
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-19 14:41:29 +01:00
Luca Di Maio
375ef16564 docs: update docs
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-19 14:36:07 +01:00
Luca Di Maio
8458c295d1 export: always use a login shell, thanks to #869
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-19 14:33:35 +01:00
Luca Di Maio
cca85a25db assemble: fix empty args in hooks handling
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-19 12:43:41 +01:00
Luca Di Maio
b6e20737c0 init: add back old egl/mesa packages for older debians
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-11-19 12:35:17 +01:00
Eugenio Paolantonio
11c327d6d5 init: debian - fix installation of deprecated libgl1-mesa-glx and libegl1-mesa. Fixes #995 (#1005)
Since at least Debian Buster (2019), libgl1-mesa-glx and libegl1-mesa are transitional
packages for libgl1+libglx-mesa0 and libegl1 respectively.

In Debian Trixie, the transitional packages have been removed. Install
the actual packages directly.

Signed-off-by: Eugenio Paolantonio (g7) <me@medesimo.eu>
2023-11-19 12:33:40 +01:00
Oded Arbel
433b36a73f init: fixed apt-get install not detecting virtual packages (#1036) 2023-11-19 12:30:09 +01:00
Wei Ren
52b82d3eef init: fix get_locked_mount_flags to work for files as well. (#1041)
- Removed the checking of file or directory.
 - Updated variable names to reflect the changes.
2023-11-19 12:23:36 +01:00
lribic
f4a589d496 export: fix hard path icon export (#1040)
* export: fix hard path icon export

icon_name would always have a trailing '@', resulting in the hard path check to always fail.
Also moving the hard path check into the for loop for multi icon support.

* export: minor refactoring
2023-11-19 12:23:17 +01:00
Eric Curtin
12e63e434f docs: Windows compatibility using WSL (#1037)
Tested distrobox on Windows Subsystem for Linux today, works as is.
2023-11-19 12:09:36 +01:00
Bas Krahmer
c57d97bfc5 create: fix unshare CLI args order (#1022) 2023-11-19 12:08:34 +01:00
hirnidrin
51c1d54bf1 assemble: fix --name params cleanup missing. (#1014) 2023-11-19 12:08:01 +01:00
Michal Vyskocil
e0727b8aa7 docs: Update compatibility.md for openSUSE (#1011)
There's a special distrobox-compatible flavor of openSUSE, see https://en.opensuse.org/Distrobox. This is configured as a default image when using distribution provided distrobox packages.
2023-11-19 12:06:23 +01:00
vitalijb
1b92d36c49 export: Fix the issue when export would fail if there is a quote in filename(s). (#1004) 2023-11-19 12:05:21 +01:00
Samuel Bachmann
ca06efc353 assemble: fix missing ¤ in volume handling (#1001)
With this '¤' volumes can be on multiple lines

```
volume="/abc:/abc "
volume="/def:/def"
```

basically the same as for `additional_packages` and `additional_flags`.
2023-11-19 12:04:25 +01:00
Tanmay Patil
13a49985cc all: remove extra white space (#1000)
* Remove extra white space

* extra white space before printing container name
2023-11-19 12:03:31 +01:00
Luca Di Maio
bf65e627b7 assemble: fix separator for multiple export declaration
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-10-30 13:09:47 +01:00
Luca Di Maio
232d0a21bb completions: fix dependency to awk
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-10-29 18:26:37 +01:00
Luca Di Maio
3c889fddef docs: specify how to update a curl/wget install
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
2023-10-02 14:47:12 +02:00