- Add 892f93baaa066ea36b31b2f721332ca49c9e5ad7.patch: fix: flags

for read-only and recursive slave mount.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/distrobox?expand=0&rev=76
This commit is contained in:
2026-05-14 21:48:09 +00:00
committed by Git OBS Bridge
commit c2ef7cdbef
10 changed files with 1031 additions and 0 deletions
+772
View File
@@ -0,0 +1,772 @@
-------------------------------------------------------------------
Sun May 10 06:18:16 UTC 2026 - Bjørn Lie <bjorn.lie@gmail.com>
- Add 892f93baaa066ea36b31b2f721332ca49c9e5ad7.patch: fix: flags
for read-only and recursive slave mount.
-------------------------------------------------------------------
Mon May 4 12:27:21 UTC 2026 - Eugenio Paolantonio <eugenio.paolantonio@suse.com>
- Split openSUSE-provided configuration to its own branding
package (jsc#PED-14656, coo#129)
- Suggest podman to hint the solver towards it when neither
docker or podman are installed (jsc#PED-14656, coo#129)
- Recommend flatpak rather than requiring it: it is only needed
for the host-exec feature, and it is not desirable to
pull it in on minimal installations.
-------------------------------------------------------------------
Mon Apr 27 18:03:10 UTC 2026 - Alessio Biancalana <dottorblaster@opensuse.org>
- Drop fix-distrobox-to-newer-zypper.patch since it was merged upstream
- Update to 1.8.2.5:
* docs: remove bluefin-cli and powershell ublue images by @renner0e in https://github.com/89luca89/distrobox/pull/1997
* docs: update documentation regarding VSCode integration by @ludrol in https://github.com/89luca89/distrobox/pull/1996
* enter: show container command on dry run by @balanza in https://github.com/89luca89/distrobox/pull/2000
* fix: expose correct dryrun command by @balanza in https://github.com/89luca89/distrobox/pull/2006
* fix: setup_zypper: use drop-in config file if possible by @dannyhpy in https://github.com/89luca89/distrobox/pull/2007
* docs: update README with sandboxing alternatives by @Gerharddc in https://github.com/89luca89/distrobox/pull/2009
* feat: add ALT Linux compatibility improvements by @liannnix in https://github.com/89luca89/distrobox/pull/1989
* fix: Pass -xdev to /bin/find by @danielzgtg in https://github.com/89luca89/distrobox/pull/1998
* add Docker Desktop on macOS compatibility by @ericcurtin in https://github.com/89luca89/distrobox/pull/2019
* init: chmod shadow files to 0400 for container storage compatibility by @89luca89 in https://github.com/89luca89/distrobox/pull/2020
* chore(ci): v2 release candidate workflow by @balanza in https://github.com/89luca89/distrobox/pull/2031
* docs(posts): announcing Distrobox v2 by @balanza in https://github.com/89luca89/distrobox/pull/2032
* build(deps): bump actions/checkout from 4 to 6 by @dependabot[bot] in https://github.com/89luca89/distrobox/pull/2045
* build(deps): bump actions/upload-artifact from 4 to 7 by @dependabot[bot] in https://github.com/89luca89/distrobox/pull/2044
* build(deps): bump actions/download-artifact from 4 to 8 by @dependabot[bot] in https://github.com/89luca89/distrobox/pull/2043
* build(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in https://github.com/89luca89/distrobox/pull/2042
* docs: issue template notice for distrobox v2 by @balanza in https://github.com/89luca89/distrobox/pull/2049
* init: also clean empty unversioned .so stubs during nvidia setup by @edodusi in https://github.com/89luca89/distrobox/pull/2024
* fix(enter): su argument order in unshare_groups path (legacy) by @Aromatic05 in https://github.com/89luca89/distrobox/pull/2055
* fix(enter): correct order for su commands in unshare-groups by @dottorblaster in https://github.com/89luca89/distrobox/pull/2067
* chore: bump to v1.8.2.5 by @dottorblaster in https://github.com/89luca89/distrobox/pull/2072
-------------------------------------------------------------------
Fri Mar 20 12:43:14 UTC 2026 - Thomas Blume <Thomas.Blume@suse.com>
- append newline after manually adding tty group (bsc#12594379)
add 0001-add-newline-when-appending-tty-group-via-printf-bsc-.patch
-------------------------------------------------------------------
Sat Feb 28 21:29:03 UTC 2026 - Richard Rahl <rrahl0@opensuse.org>
- Add fix-distrobox-to-newer-zypper.patch, fixing bsc#1259032
-------------------------------------------------------------------
Wed Feb 4 17:06:15 UTC 2026 - Alessio Biancalana <dottorblaster@opensuse.org>
- Drop 0001-fix-add-newline-when-manually-adding-user.patch since it was merged upstream
- Update to 1.8.2.4:
* Add missing dependencies for fedora and wolfi. by @Kamorst in https://github.com/89luca89/distrobox/pull/1931
* docs: update Alpine Linux images to latest versions by @dottorblaster in https://github.com/89luca89/distrobox/pull/1977
* distrobox-init: add newline when appending user via printf by @tblume in https://github.com/89luca89/distrobox/pull/1988
* init: refactor user setup to modify attributes individually by @89luca89 in https://github.com/89luca89/distrobox/pull/1994
* chore(version): bump to v1.8.2.4 by @dottorblaster in https://github.com/89luca89/distrobox/pull/1995
-------------------------------------------------------------------
Tue Feb 3 07:44:08 UTC 2026 - Thomas Blume <Thomas.Blume@suse.com>
- add newline when manually adding user (bsc#1257302)
* add 0001-fix-add-newline-when-manually-adding-user.patch
-------------------------------------------------------------------
Thu Jan 29 17:15:23 UTC 2026 - Alessio Biancalana <dottorblaster@opensuse.org>
- Update to 1.8.2.3:
* fix: add missing fedora dependency by @Kamorst in https://github.com/89luca89/distrobox/pull/1922
* fix: unintended print to stdout in assemble command by @balanza in https://github.com/89luca89/distrobox/pull/1925
* build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/89luca89/distrobox/pull/1929
* Review README.md by @nilslindemann in https://github.com/89luca89/distrobox/pull/1953
* fix: make sure PWD matches workdir by @Taywee in https://github.com/89luca89/distrobox/pull/1952
* fix(init): fix support for newer shadow strictier checks by @89luca89 in https://github.com/89luca89/distrobox/pull/1965
* init: only install base packages once by @Kamorst in https://github.com/89luca89/distrobox/pull/1932
* fix: remove the error in case dependencies are not fully met by @dottorblaster in https://github.com/89luca89/distrobox/pull/1967
* fix: manpages generation auth error by @dottorblaster in https://github.com/89luca89/distrobox/pull/1968
* chore(version): bump to 1.8.2.3 by @dottorblaster in https://github.com/89luca89/distrobox/pull/1969
* docs: add Fedora 43 to the compatbility list by @dottorblaster in https://github.com/89luca89/distrobox/pull/1970
* docs: fix manpages generation by setting contents: write permissions by @dottorblaster in https://github.com/89luca89/distrobox/pull/1971
* docs: add CentOS Stream 10 to the supported container OSes by @dottorblaster in https://github.com/89luca89/distrobox/pull/1972
* ci: persist credentials in order to allow for manpages commit by @dottorblaster in https://github.com/89luca89/distrobox/pull/1973
* docs: add Oracle Linux 10 to the compatibility doc by @dottorblaster in https://github.com/89luca89/distrobox/pull/1974
* docs: leverage PAT again for gen_man action by @dottorblaster in https://github.com/89luca89/distrobox/pull/1975
* docs: add Linux Mint 22.3 to the compatibility document by @dottorblaster in https://github.com/89luca89/distrobox/pull/1976
-------------------------------------------------------------------
Wed Nov 26 15:44:33 UTC 2025 - Alessio Biancalana <dottorblaster@opensuse.org>
- Update to 1.8.2.2:
* docs: update command for GNOME installation by @amnexya in https://github.com/89luca89/distrobox/pull/1873
* Fix typo in nested Podman instructions by @atimeofday in https://github.com/89luca89/distrobox/pull/1879
* docs: note that Podman and Distrobox are now pre-installed on SteamOS 3.5+ by @kavishgr in https://github.com/89luca89/distrobox/pull/1881
* docs: clarify distrobox-host-exec behavior by @jaluoma in https://github.com/89luca89/distrobox/pull/1882
* docs: fix reference to #28 in README.md by @dottorblaster in https://github.com/89luca89/distrobox/pull/1891
* init: fix stat syntax error in rootful detection by @john-holt4 in https://github.com/89luca89/distrobox/pull/1907
* docs: fix mdlint issues in compatibility matrix by @dottorblaster in https://github.com/89luca89/distrobox/pull/1908
* create: fix failing to create containers from images that print to stdout with no input by @bsutherland333 in https://github.com/89luca89/distrobox/pull/1912
* docs: systemd unit example to mount root as a shared mount by @yehorb in https://github.com/89luca89/distrobox/pull/1911
* assemble: /dev/null stdin for distrobox enter execs by @dottorblaster and @balanza in https://github.com/89luca89/distrobox/pull/1915
* feat: set compopt filenames for --file in bash completion by @yedayak in https://github.com/89luca89/distrobox/pull/1916
* enter: preserve SHELL with unshared groups by @Kamorst in https://github.com/89luca89/distrobox/pull/1917
* fix: don't use --pty with buggy su implementations by @Kamorst in https://github.com/89luca89/distrobox/pull/1919
* init: restrict find pattern to libcuda so it doesn't pick up non-NVIDIA libs by @miaulightouch in https://github.com/89luca89/distrobox/pull/1918
* create: direct stderr to /dev/null to prevent incorrect eval by @dottorblaster and @inc0 in https://github.com/89luca89/distrobox/pull/1920
* chore(version): bump to 1.8.2.2 by @dottorblaster in https://github.com/89luca89/distrobox/pull/1921
-------------------------------------------------------------------
Thu Nov 6 14:11:47 UTC 2025 - Alessio Biancalana <dottorblaster@opensuse.org>
- Update to 1.8.2.1:
* fix: Alt -> ALT by @x1z53 (gh#89luca89/distrobox#1868)
* init: fix wrong $HOME when using --init by @Kamorst (gh#89luca89/distrobox#1871)
* chore: bump version to 1.8.2.1 by @dottorblaster (gh#89luca89/distrobox#1872)
-------------------------------------------------------------------
Fri Oct 31 17:44:31 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Update to 1.8.2.0:
* Decommission Clearlinux
* assemble:
- add unshare-groups support (gh#89luca89/distrobox#1675)
- extend manifest definitions with include
(gh#89luca89/distrobox#1860)
- fix accidental file globbing during parsing
(gh#89luca89/distrobox#1713)
* completion:
- Bash completion enhancements (gh#89luca89/distrobox#1848)
* create:
- Support --userns=keep-id:size= (gh#89luca89/distrobox#1667)
- explicitly prefer using crun if present
- indentation for --root usage in distrobox-create
(gh#89luca89/distrobox#1846)
- fix formatting and quoting issues
(gh#89luca89/distrobox#1862)
* enter:
- Allow whitespaces in environment variables
(gh#89luca89/distrobox#1811)
* export:
- fix doas case, fix missing sudo_prefix when local execution
* host-exec:
- fail for HTTP response codes >= 400 (curl --fail)
(gh#89luca89/distrobox#1787)
* init:
- Support Chimera Linux guests (gh#89luca89/distrobox#1778)
- Fixes Vulcan ICD config files for NVIDIA driver host
integration (openSUSE, Fedora) (gh#89luca89/distrobox#1688)
- add altlinux in distrobox (gh#89luca89/distrobox#1512)
- create xdg-open distrobox-host-exec symlink only if --init
not used (gh#89luca89/distrobox#1818)
- exclude schroot mountpoint from socket search, improve
performance (gh#89luca89/distrobox#1836)
- fix formatting on /etc/shaddow stat-ing
(gh#89luca89/distrobox#1836)
- fix missing sudo binary on doas distro, make export aware of
it
- fix on systemd, we don't do remount in containers
- fix passwordless doas
- improve nvidia symlinks resolution
(gh#89luca89/distrobox#1668)
- make the default fish_prompt an autoloaded function
(gh#89luca89/distrobox#1672)
- mask systemd-resolved in case we use host's network
- setup correct chimera base-full-man dep
(gh#89luca89/distrobox#1826)
* install:
- add option to suppress color (gh#89luca89/distrobox#1709)
* upgrade:
- fix upgrade command when on doas systems
* Many updates to Documentation
-------------------------------------------------------------------
Sat Jan 25 18:24:09 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Update to 1.8.1.2:
* Nvidia hotfixes:
- init: improve nvidia symlinks resolution (#1668)
- init: mask systemd-resolved in case we use host's network
- Changes from 1.8.1 -> 1.8.1.1
* Update install (#1664)
* init: improve nvidia integration, avoid directory mounts and
possible mount loops
* Revert "export: potential improvements to pull-request
#1102"(#1608)
-------------------------------------------------------------------
Tue Jan 21 10:15:10 UTC 2025 - Paolo Stivanin <info@paolostivanin.com>
- update to 1.8.1:
* assemble: add clone in distrobox assemble by @PawsFunctions in #1618
* completions: zsh reworked. fixed not completing container names. by @fredricocalamari in #1603
* create: better check clone support
* create: properly handle platform specification for alien architectures. Fix #1644
* distrobox-enter: improve cmd composition speed by @TigerGorilla2 in #1649
* docs: Cut 80% of the source package size by optimizing/cleaning doc images by @eugenesan in #1586
* docs: Fix misspelling in Useful tips section by @brandondong in #1645
* docs: Update compatibility list
* docs: Update compatibility.md for fedora toolbox images by @ImBearChild in #1637
* docs: add deepin 23 docker image by @chenchongbiao in #1632
* docs: fix nvidia container toolkit commands. Fix #1654
* docs: update Podman inside Distrobox by @alexandrevicenzi in #1597
* enter: Replace tac with awk to be more portable by @shtayerc in #1591
* enter: Stop importing zsh FPATH into container by @jgroman in #1636
* enter: fix additional flags composition, Fix #1594
* export: potential improvement to pull-request #1102 by @AbduEhab in #1608
* fix:repeat trigger update locale when locale exists by @heysion in #1614
* init: Strip single quotes when parsing locale.conf by @catgirlconspiracy in #1605
* init: add timeout to systemd bringup wait. Fix #1641
* init: fix missing hooks in pacman, Fix #1595, Fix #1602, Fix #1610, Fix #1619
* init: fix prompt not sourcing on some distros
* init: fix runtime sync fallback by @xz-dev in #1622
* init: improve nvidia integration, skip files when directory is already a ro-mountpoint, log with warnings
* init: move pkg manager exclude lists to separate step, always run them.
* init: provide default prompt for fish shell by @Boria138 in #1588
* init: simplify nvidia 32bit dir detection
* rm: fix redundant print with quotes. Fix #1634
-------------------------------------------------------------------
Wed Oct 16 10:14:35 UTC 2024 - Martin Sirringhaus <martin.sirringhaus@suse.com>
- update to 1.8.0
* Improvements
+ Improvements on Nvidia integration
+ Improvements on XDG_* env variables management
+ Remote distrobox assemble files! Keep them remote with distrobox assemble create --file https://foo.com/file.ini!
+ A lot of new container distros, from @ublue-os and @toolbx-images, New Fedora, Ubuntu, Alpine and @wolfi-dev wolfi-toolbox!
* all: ensure env variables are set and have values
* all: use registry.fedoraproject.org/fedora-toolbox:latest image by default, Fix #1402
* assemble: add support for remote manifest files
* assemble: ensure variables are reset correctly
* assemble: fix name detection with hyphens, Fix #1507
* assemble: fix possible empty lines, Fix #1514
* assemble: improve handling of hooks, pass around b64 encoded string to avoid unwanted evaluations
* compatibility: add missing url for ubuntu:23.04 by @sheevy in #1439
* create: better explain init/pre-init hooks
* create: ignore trailing slashes on custom homes, Fix #1575
* docs: Add kali icon by @andyspectre in #1451
* docs: Document support for alpine 3.20 containers by @Ferenc- in #1504
* docs: Fix issue with user not having permissions to write containers.conf by @nhermosilla14 in #1456
* docs: Seperate curl and wget commands by @axtloss in #1434
* docs: Update microos -> aeon/kalpa in docs by @TheRsKing in #1427
* docs: Update openSUSE and SLES compatibility guide by @alexandrevicenzi in #1489
* docs: add BlackaArch Linux compatibility, Fix #1358
* docs: add compatibility with ghcr.io/ublue-os/bluefin-cli, Fix #1453
* docs: document an official way to detect when you're in a distrobox
* docs: document pipewire/alsa packages for ubuntu initful containers. Fix #1374
* docs: fix subuids spelling mistake by @yocoldle in #1431
* docs: fix link for Crystal linux. Fix #1418
* docs: fix linting
* docs: fix obsolete Chainguard Wolfi notes
* docs: point to new nixos wiki by @Mic92 in #1384
* docs: remove rhel-toolbox image from compatibility, it's now behind paywall
* docs: support for 3d acceleration in: run_libvirt_in_distrobox.md by @TheRsKing in #1426
* docs: update compatibility, add ublue toolboxes, update Alpine and Fedora versions, Fix #1501
* docs: update vscode integration docs
* enter: Fix distrobox-enter and distrobox-rm to handle containers that have environment variables shorter than 5 symbols by @senioroman4uk in #1545
* enter: Fix support for Active Directory usernames including backslashes pt. 2 by @phoppermann in #1458
* enter: fix additional flags evaluation, Fix #1541
* enter: fix docker timestamp incompatibility, Fix #1382, Fix #1424, Fix #1392
* enter: fix regression in login for initful container, Fix #1428
* enter: get rid of eval and pass arguments using set. This will avoid maniupulating args, and simplify our life. Fix #749, Fix #1461
* enter: improve positional args handling, treat enter command accordingly, improve comments explaining the black magic
* export: Actually fix XDG_DATA_DIRS and XDG_DATA_HOME handling by @TigerGorilla2 in #1582
* export: Fix XDG_DATA_DIRS and XDG_DATA_HOME handling by @e-luks in #1496
* export: ensure destpath exists, Fix #1405
* export: fix CONTAINER_ID fallback
* export: fix grep errors on list-apps
* export: improve documentation of the spec. Fix #1444
* export: simplify and cleanup code
* export: support exporting app launchers by full-path.
* extras: vscode- improve podman wrapper, add docker wrapper, fix reconnections
* fix for 1440 by @dtg01100 in #1441
* fix: init package in Gentoo Stage3 image by @xz-dev in #1455
* fix:[#1525] handle container creation failure by @jardon in #1526
* generate-entry: add 'Remove' action to entry, Fix #1433
* generate-entry: add timeout to downloads, Fix #1459
* generate-entry: fix generic icon download and setup
* generate-entry: fix linting
* generate-entry: use XDG_DATA_HOME by @Samueru-sama in #1468
* host-exec: fix arm naming, Fix #1442
* host-exec: fix host-spawn version
* host-exec: update host-spawn version
* init: fix arch locale-gen by @Boria138 in #1520
* init: Exclude repos from bind-mounting by @lunacd in #1503
* init: Fix SHELL using absolute path and disable duplicate profile inclusion by @eugenesan in #1397
* init: Generate host locales in container (fixed issue #1399) by @Boria138 in #1404
* init: add fallback values for host locale variables
* init: add iputils
* init: add iputils in setup_pacman by @intzaaa in #1576
* init: apt-get upgrade, force keeping old configs when non interactive
* init: arrange package manager to avoid conflicts when using more than one (eg: packaging containers)
* init: auto-link /usr/bin/flatpak, to better support opening links on host's browser, if those are flatpaks
* init: do not fail in "Setting up read-only mounts" if findmnt does not exist by @phoppermann in #1454
* init: ensure we have DBUS variables set for host-spawn to work in login scripts, Fix #1383
* init: fallback case where mounting /etc/localtime fails, Fix #1435
* init: fix detection of 32bit nvidia libs on suse family
* init: fix failing chpasswd on systemd-homed managed users, Fix #1423
* init: fix locale generation for minimal images
* init: fix locale generation on musl and older systems
* init: fix missing allowerasing flag for dnf
* init: fix nvidia integration mounting files from boost libs, Fix #1500
* init: fix nvidia integration, improve search of nvidia files, Fix #1500
* init: fix typo in fallback locale values
* init: fix udev clash on rootful initful systems
* init: fix void-linux failing due to runit, Fix #1380
* init: perform upgrade before setting up archlinux packages
* init: proper fix for void extraction paths. Fix #1457
* init: remove su-exec workaround for Wolfi, now that it supports proper sudo
* init: rework package managment code
* init: separate 'mount --rbind -o rslave ...' into 'mount --rbind ...'… by @timwa0669 in #1583
* rm: Fix distrobox-enter and distrobox-rm to handle containers that have environment variables shoter than 5 symbols by @senioroman4uk in #1545
* rm: add fallback value to response_force
* rm: ask to force-delete if running and in interactive mode
* rm: fix IFS overwriting, Fix #1400
* rm: remove dead code, remove container volumes.
-------------------------------------------------------------------
Sat May 11 03:38:58 UTC 2024 - jun wang <jgwang@suse.com>
- Update to version 1.7.2.1
+ changes from 1.7.2.1
* chore(init): Add sudo to Wolfi (#1375)
* Add fedora toolbox 40 to list of compatible images (#1377)
* init: fix setting empty DISPLAY variable, breaking gpg
+ changes from 1.7.2
* all: properly handle env vars and configs in all commands
(#1328)
* chore: bump CI actions, minor fixes to README and other
files (#1345)
* docs: Specify that distrobox is in the extra repo (#1316)
* docs: Support latest alpine (#1341)
* docs: Update copyright in footer (#1365)
* docs: Update useful_tips.md (#1330)
* enter: make log_timestamp date format universally
compatible (#1343)
* export: cancel export when trying to delete (#1340)
* export: consider only absolute candidate icon paths that
exist (#1318)
* init: Support musl variant of Void Linux (#1327)
* init: add explicit creation of /etc/fish/conf.d (#1348)
* init: massively speed up apt/pacman/xbps deps install (#1324)
* install: use more portable install(1) arguments (#1364)
* CI: fix hostname test
* CI: try to ensure enough disk space
* CI: use shell-funcheck
* all: improve function docs
* assemble: add custom hostname support
* create: fix regression with rootless runc 1.20~rc1 (#1359)
* docs: add Slackware 15 (#1357)
* docs: move upgrading instruction a bit more ahead (#1342)
* docs: update xhost command to be silent (#1350)
* enter: Fix support for Active Directory usernames including
backslashes (#1360)
* enter: fix regression in fish shell login with initful
systems
* enter: fix typo in command generation (#1331)
* export: fix duplicate extra_flags (#1311)
* export: use different symbol for IFS (#1351)
* init, create: use $CONTAINER_ID to distinguish container's
prompts. Use host's hostname by default.
* init: ensure fish config is sourced only on interactive
shell (#1292)
* init: fix endless hook append (#1320)
* init: fix performance regression in skel file setup (#1317)
* init: forward wayland display only if it is set
* rm: revert 22bc081, simplify removal of exported
app/bins (#1301)
-------------------------------------------------------------------
Mon Mar 25 22:02:17 UTC 2024 - Michal Vyskocil <michal.vyskocil@gmail.com>
- Update to 1.7.1
* all: ensure no side effects on global variables
* create the binary export path if it doesn't exist (#1291)
* docs: Add info on upgrading package on steamdeck (#1271)
* docs: remove extra ` from xhost command by (#1284)
* enter: Add option to run with clean PATH (#1299)
* fix: missing .fifo logfile in distrobox-enter (#1307)
* init: ignore findmnt error in routine remounting (#1289) (#1296)
* init: mask suspend/hibernate/hybrid-sleep
* init: massively speed up apk deps install by @JamiKettunen in (#1298)
* rm: do not block container removal if we cannot start it
-------------------------------------------------------------------
Fri Mar 15 09:35:47 UTC 2024 - Dario Faggioli <dfaggioli@suse.com>
- Update to current git version in order to include the code that
fixes the problem of ImageMagick not being able to resize the
icons dynamically. This means including the following commits:
* install: fix linting
* assemble: fix regression in file reading
* chore: fix typo (#1283)
* install: fix installation script (#1282)
* install: add fixed resolution png icons for use on desktops (#1280)
* Update install (#1278)
-------------------------------------------------------------------
Thu Mar 14 20:44:46 UTC 2024 - Michal Vyskocil <michal.vyskocil@gmail.com>
- Update to 1.7.0.1
* install: fix version
* distrobox-generate-entry: respect DBX_CONTAINER_MANAGER variable
* distrobox-init: do not fail if locale cannot be set by
* Don't create empty XAUTH* variables.
* Add DISTROBOX_EXPORT_PATH env var for distrobox-export.
* distrobox-init: use "zypper se --match-exact" (instead of "zypper se -x")
* init: better detection of file watching trigger
* enter: fix shell when entering initful container after
* export: fix quotes arount exported binary path
* upgrade: fix execution with new enter behavior
* enter: do not use a shell when executing a custom command
* export: fix execution of binaries with spaces in the name
* rm: do not fail if no exports are found
-------------------------------------------------------------------
Wed Feb 28 21:55:18 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Removed:
* 0001-Fix-systemd-init-container-startup-1069.patch
- Update to 1.7.0
* added --enter-flags to distrobox-export to specify additional
distrobox flags to use when entering
* added --hostname flag to distrobox-create so you can choose a
different hostname than the box name
* added --unshare-groups to distrobox-create to allow unsharing
user's additional groups inside the container
* better login shell management
* better systemd support for initful containers
* fixed multiple bins and apps exports declaration in assemble
* improved NVidia support
* improved Wolfi container support
* improved rootful containers support for exported graphical apps
* improved terminfo support
* new distrobox-export --list-apps and --list-binaries to show
exported apps and binaries
-------------------------------------------------------------------
Thu Feb 22 17:54:06 UTC 2024 - Dario Faggioli <dfaggioli@suse.com>
- Add flatpak as a dependency, as we need it for distrobox-host-exec
to work properly (bsc#1220037)
-------------------------------------------------------------------
Wed Feb 21 10:53:53 UTC 2024 - Enrico Belleri <kilgore.trout@idesmi.eu>
- Add 0001-Fix-systemd-init-container-startup-1069.patch:
* run podman exec command as root since some distros 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
-------------------------------------------------------------------
Tue Nov 21 21:59:27 UTC 2023 - Michal Vyskocil <michal.vyskocil@gmail.com>
- Update to version 1.6.0.1:
* Export: fix exporting desktop app.
* Init: fix nvidia library integration.
- Update to version 1.6.0:
* Lilipod support
* Improved nvidia integration, particularly for cuda
* General improvements in the init process
* Improve user's shell handling, so that it now always respects the chsh done inside the container
* Fix tzdata/zoneinfo problems
* Rootful containers now will properly setup user password for sudo
* General polish in initful containers
* Initful containers now support also OpenRC when present
* Initful containers will now have also a proper systemd user session
* New --unshare-all, --unshare-netns, --unshare-process, --unshare-devsys
flags in create
+ Now initful + unshare-all containers can be used as playgrounds for
services like LXC and Libvirt more easily
* New container_additional_volumes configuration
* Export fixes and improvements in multi-icon and space-in-name handling
* Exported binaries will be runnable between distroboxes
* Exported binaries will always run in a login shell
* Assemble is now more polished and supports all of create flags
* Assemble can now export apps/binaries directly from the manifest
-------------------------------------------------------------------
Fri Jul 7 07:16:32 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
- Update to version 1.5.0.2:
* Fix typo in instructions for setting podman-host path
* Fix user initialization for ubuntu 23.04
* Compatibility: add openEULER and Linux Mint containers
* Fix docker minimum version to 19.03.15.
* Better container detection in host-exec
* fix host file sync when unsharing network
- Changes from version 1.5.0.1:
* Fix bashism in assemble.
* Revert to using distrobox-enter for upgrade.
* Fix bug in init_readlink with relative paths in init.
* Improve dry-run output to show a flag for each line in enter/create.
-------------------------------------------------------------------
Sun Jun 18 05:33:20 UTC 2023 - Enrico Belleri <kilgore.trout@idesmi.eu>
- Update to version 1.5.0:
* additional-packages flag in create, to directly add packages during init
* NVidia GPU Support for containers: distrobox will attempt to share host's drivers with the container
* New distrobox-assemble command lets you declare your distroboxes-as-code, in an easy config file
* Now, removing a distrobox will un-export apps and binaries exported by it
* Init is now more flexible in how it adds packages, allowing for greater compatibility
* Init now supports systemd containers using --additional-packages systemd during creation
* General reliability improvements, lots of bug fixes and QoL
-------------------------------------------------------------------
Tue Feb 21 16:28:39 UTC 2023 - Richard Brown <rbrown@suse.com>
- Remove container_image from .conf, obsoleted by
container_image_default
- use official distrobox:latest container instead of vanilla
tumbleweed to speedup start times, still call it tumbleweed
because it is
-------------------------------------------------------------------
Tue Jan 24 19:46:13 UTC 2023 - Predrag Ivanović <predivan@mts.rs>
- Use tubleweed:latest as the default image
instead of, hardcoded in 'distrobox-create', fedora:toolbox.
-------------------------------------------------------------------
Wed Dec 28 22:03:04 UTC 2022 - Ayush Kumar <ayush06feb@gmail.com>
- Update to latest version (1.4.2.1). Some changes:
* all: fix setting up default images and names
* compatibility: add gentoo docker image
* compatibility: change debian 8 image
* completion: Remove shebangs from bash completions
* completion: add compatibility list flag, add image name
autocompletion
* create/enter/export: Add home prefix
* create: Fix using --home with space in path
* create: use --entrypoint to override entrypoint defined by
image
* distrobox: remove trap from the wrapper
* docs: Add resource limitation tips
* docs: Fix example configuration file
* docs: Update handler function to support bash scripts
* enter/export: handle quotes in arguments in a better way
* enter: exclude LANG environment variables
* enter: remove detach-keys, work on #398
* export/enter: inject container ID at enter-time, in order to be
used in export
* export: fix variable declaration
* export: look at global user services while trying to export a
service
* export: use realpath on icons
* init: Add init and pre-init hook defaults as supported config
options
* init: add missing findmnt in OpenSUSE
* init: better systemd unit cleanup
* init: copy skel files only if using custom home
* init: fix overriding of SHELL at each start, override default
SHELL only the first time
* init: fix sudoers spam (missing " in check)
* init: fix void-linux package incompatibility error
* init: fix vte installation; add --noreplace to prevent repeated
builds
* init: integrate with kerberos host only if it is installed on
the host.
* init: skip external mounts when searching for sockets
* init: specify package for gentoo
* init: use container's path for SHELL instead of host's one
* init: use findmnt instead of mountpoint, fixing compatibility
with old distributions
* install-podman: Fix cni_plugin_dirs
* install: do not use scraping, use fixed version
* main: Do not open manpager automatically
Full list available at: https://github.com/89luca89/distrobox/releases/tag/1.4.2.1
-------------------------------------------------------------------
Thu Nov 17 13:49:00 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not recommend bash-completion subpackage: this triggers
installation even if bash-completion is not there yet. All (well,
most for now) packages are handled to install the completion IF
bash-completion is present (which is the default on standard
setups).
-------------------------------------------------------------------
Thu Sep 29 11:49:23 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
- Update to latest version (1.4.1)
- Patches removed:
0001-distrobox-if-no-command-is-specified-default-to-ente.patch
- Add a bash-completion subpackage
- Changes in 1.4.1:
* completion: add bash completion support!
* create/enter: revert 52a34fb
* create: add --no-entry
* docs: update host and guest lists
* docs: redundant "else" in readme
* init: add mesa and vulkan drivers by default
* init: don't query filesystems mounted by beesd
* install-podman: update to 4.2.1
* install-podman: install crun, it generally
works better in rootless.
* install-podman: fix default configuration
* ephemeral: do cleanup even in case of errors
* generate-entry: auto-discover curl or wget.
-------------------------------------------------------------------
Wed Sep 14 09:24:10 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
- Update to latest version (1.4.0)
- Patches removed:
0001-enter-fix-automatic-container-creation-when-r-is-use.patch
0002-distrobox-handle-situations-with-weird-manpages-setu.patch
0002-opensuse-check-for-the-config-file-in-usr-etc-too.patch
0003-distrobox-if-no-command-is-specified-default-to-ente.patch
0004-opensuse-check-for-the-config-file-in-usr-etc-too.patch
- Patches added:
0001-distrobox-if-no-command-is-specified-default-to-ente.patch
- Changes in 1.4.0:
* New distrobox upgrade command, to update all the containers at once
* New distrobox generate-entry command, to add your distrobox to the app list
note that from 1.4.0 onwards this will be the default behaviour for all the
new containers created
* New distrobox ephemeral command, to quickly spawn, use and delete a container.
All-in-one.
* New install-podman script to install Podman in $HOME. Handy for @ValveSoftware
SteamDeck users
* Distrobox-host-exec now uses exclusively the host-spawn command from @1player
* Better support for AD/LDap and Kerberos usernames
* Better support for Nix/Guix hosts
* Plenty of bug fixes and CI/Test improvements smile
-------------------------------------------------------------------
Thu Jul 28 09:48:32 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
- Fix a (potential0 problem with man and manpages
* Patch added:
0002-distrobox-handle-situations-with-weird-manpages-setu.patch
- Default to distrobox-enter when only typing distrobox
* Patch added:
0003-distrobox-if-no-command-is-specified-default-to-ente.patch
- Reordered the patchqueue:
* Patch removed:
0002-opensuse-check-for-the-config-file-in-usr-etc-too.patch
* Patch added:
0004-opensuse-check-for-the-config-file-in-usr-etc-too.patch
-------------------------------------------------------------------
Wed Jul 27 11:31:23 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
- enable non-interactive mode by default
- Fix a but with automatic cretion of rootful containers
* Patch added:
0001-enter-fix-automatic-container-creation-when-r-is-use.patch
- Rework the /usr/etc config file patch (better changelog)
* Patch removed:
0001-Read-config-in-usr-etc-too.patch
* Patch added:
0002-opensuse-check-for-the-config-file-in-usr-etc-too.patch
- Switched to %autosetup in the spec file
-------------------------------------------------------------------
Tue Jun 21 16:49:28 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
- Move config file in vendor specific path by default
* Patch added:
0001-Read-config-in-usr-etc-too.patch
- Update to latest version, 1.3.1
* all: allow users to specify non_interactive=true/false
* all: improve code readability and formatting, follow happy paths
* create: make it clearer to the user the container creation output
* create: remove check about clone and image name
* docs: Fix typo by @rugk in #308
* docs: remove WSL2 entry, cannot actively check if works correctly
* enter: automatically create containers during 'distrobox-enter' (if they don't exist!)
* export: add --root to rooful containers
* export: fix DBusActivatable not working
* host-exec docs: 755 -> 644
* host-exec: change [N/y] to [y/N]
* init: fix apt hooks to make systemd install work
* init: move zypper recommends after the basic packages install,
make OpenSUSE containers creation faster
* install: add --next flag to install latest commit from git
* stop: update misleading comment
* uninstall: interactive rm won't work when executed throught pipe
* docs: update compatibility list
* Confirm support for:
Redhat UBI 9
Redhat UBI 9-init
Redhat UBI 9-minimal
AlmaLinux 8-minimal
AlmaLinux 9-minimal
AlmaLinux 9
-------------------------------------------------------------------
Mon May 30 13:16:32 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
- Update to latest version, 1.3.0:
* new tools and commands!
* rootful containers support
* new supported distros
* improved integration with the host
* many fixes and improvements
For full log, see: https://github.com/89luca89/distrobox/releases/tag/1.3.0
-------------------------------------------------------------------
Sat May 14 15:29:50 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
- Add a config file, so that we pull a tumbleweed image by default
- Update to latest version, 1.2.15. Some changes:
* init: Allow all package manager checks to run
* init: Fix compatibility with init containers
* init: add pacman post-hook to neutralize systemd post-hooks in case we're not in an init-enabled container
* init: exclude dbus system socket sharing, it doesn't work and creates confusing error messages
* init: fix missing check before umounting on init-enabled containers
* init: fix new archlinux mount: /usr/lib/libmount.so.1: version MOUNT_2_38 not found (required by mount) error, upgrade before installing packages
* init: fix regression introduced in 3f014de where containers where thinking they were on a booted systemd
* init: improve arch linux integration - add pacman pre-post hooks to reduce number of errors occurring
* create/enter: print error messages only when not in dry-run
* create: add work around for incompatibility between systemd/journald ACLs and overlayfs
* enter: check for container errors during first start
* enter: do not instantiate a tty if we do not have one
* enter: extract container SHELL from inspect, use that as fallback if no custom command provided
* enter: fix boolean logic on tty use
* enter: fix unbound variable with --dry-run
* export: hide unuseful stderr in export
-------------------------------------------------------------------
Tue Mar 29 09:12:32 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
- Update to latest version 1.2.14. Some changes:
* all: detect if running sudo and improve error messages for container managers, pointing to documentation
* fix: move selinux fix into create phase
* enter: escape --workdir argument
* enter: Enter at workdir through child path of '/run/host' by @ennec-e in #186
* stop: Add distrobox-stop command
* enter: use container's $PATH when entering
* create: resolve path before mounting
* init: If user already exists in /etc/passwd set props again, do not skip
* init: Fix grep match of very short user or group names
* init: tighter systemd integration with host
*init: support LDAP/AD mail usernames
* export: support exporting of system flatpaks and document it
Full list available at: https://github.com/89luca89/distrobox/releases/tag/1.2.14
- Switch from `install -p` to `install --prefix` (see
https://github.com/89luca89/distrobox/pull/190)
-------------------------------------------------------------------
Fri Mar 11 15:18:44 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
- Update to latest version 1.2.13
- Fix some rpmlint suggested spec file issues
-------------------------------------------------------------------
Mon Jan 31 11:25:37 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
- Update to latest version (1.2.12)
- Add licence to the spec file and fix formatting, add some globbing
- Include the manpages in the package
- Add changelog file
* File added: distrobox.changes
-------------------------------------------------------------------
Mon Jan 12 11:25:37 UTC 2022 - Nathan D <dhanas.nathan@gmail.com>
- Initial package
+124
View File
@@ -0,0 +1,124 @@
#
# spec file for package distrobox
#
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: distrobox
Version: 1.8.2.5
Release: 0
Summary: Use any linux distribution inside your terminal
License: GPL-3.0-only
URL: https://github.com/89luca89/distrobox
Source: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: distrobox.conf
Patch1: 0001-add-newline-when-appending-tty-group-via-printf-bsc-.patch
# PATCH-FIX-UPSTREAM 892f93baaa066ea36b31b2f721332ca49c9e5ad7.patch -- fix: flags for read-only and recursive slave mount
Patch2: %{url}/commit/892f93baaa066ea36b31b2f721332ca49c9e5ad7.patch
Requires: %{_bindir}/basename
Requires: %{_bindir}/find
Requires: %{_bindir}/grep
Requires: %{_bindir}/sed
Requires: %{name}-branding
Requires: (%{_bindir}/podman or %{_bindir}/docker)
# Idea would be: if bash completion is already there, let's have it. If
# not, let's "only" recommend it...
Requires: (%{name}-bash-completion if bash-completion)
# For distrobox-exec to work properly, we need flatpak helper services (bsc#1220037)
Recommends: flatpak
# podman is preferred in *SUSE, so add a very weak relation to it
# so that it is chosen if neither docker or podman are installed
Suggests: podman
BuildRequires: ImageMagick
BuildRequires: hicolor-icon-theme
BuildArch: noarch
%description
Use any Linux distribution inside your terminal.
Distrobox uses podman or docker to create containers using the Linux distribution of your choice.
The created container will be tightly integrated with the host,
allowing sharing of the HOME directory of the user, external storage,
external USB devices and graphical apps (X11/Wayland), and audio.
%package bash-completion
Summary: Bash completion for %{name}
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description bash-completion
Bash command line completion support for distrobox.
%package branding-openSUSE
Summary: Distrobox branding package for openSUSE
Requires: %{name} = %{version}
Provides: %{name}-branding = %{version}
Conflicts: %{name} < %{version}-%{release}
Conflicts: %{name}-branding
Supplements: (%{name} and branding-openSUSE)
BuildArch: noarch
%description branding-openSUSE
This package provides the default configuration for Distrobox for
openSUSE.
%prep
%autosetup -p1 -n distrobox-%{version}
%build
%install
./install --prefix %{buildroot}/%{_prefix}
install -d -m0755 %{buildroot}%{_docdir}/%{name}
install -m 0644 docs/*.md %{buildroot}%{_docdir}/%{name}
%if 0%{?suse_version} > 1500
mkdir -p %{buildroot}%{_distconfdir}/distrobox
install -m 0644 %{SOURCE1} %{buildroot}%{_distconfdir}/distrobox/distrobox.conf
%else
mkdir -p %{buildroot}%{_sysconfdir}/distrobox
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/distrobox/distrobox.conf
%endif
%files
%license COPYING.md
%doc %{_docdir}/%{name}
%{_bindir}/%{name}
%{_bindir}/%{name}-*
%{_mandir}/man1/%{name}.1.gz
%{_mandir}/man1/%{name}-*.1.gz
%dir %{_datadir}/icons/hicolor/
%dir %{_datadir}/icons/hicolor/*x*/
%dir %{_datadir}/icons/hicolor/*x*/apps/
%dir %{_datadir}/zsh/site-functions/
%{_datadir}/icons/hicolor/*/apps/terminal-distrobox-icon.png
%{_datadir}/icons/hicolor/scalable/apps/terminal-distrobox-icon.svg
%{_datadir}/zsh/site-functions/_%{name}*
%files bash-completion
%{_datadir}/bash-completion/completions/%{name}*
%files branding-openSUSE
%if 0%{?suse_version} > 1500
%dir %{_distconfdir}/distrobox
%{_distconfdir}/distrobox/distrobox.conf
%else
%config %{_sysconfdir}/distrobox
%config(noreplace) %{_sysconfdir}/distrobox/distrobox.conf
%endif
%changelog
+24
View File
@@ -0,0 +1,24 @@
*.changes merge=merge-changes
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
+4
View File
@@ -0,0 +1,4 @@
*.obscpio
*.osc
_build.*
.pbuild
@@ -0,0 +1,25 @@
From bca2e95527ea2956c7542aa630ad544c3e2c93ee Mon Sep 17 00:00:00 2001
From: Thomas Blume <Thomas.Blume@suse.com>
Date: Fri, 20 Mar 2026 13:40:42 +0100
Subject: [PATCH] add newline when appending tty group via printf (bsc#1259437)
---
distrobox-init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/distrobox-init b/distrobox-init
index 2490878..950565d 100755
--- a/distrobox-init
+++ b/distrobox-init
@@ -1904,7 +1904,7 @@ printf "distrobox: Setting up devpts mounts...\n"
# First we need to ensure we have a tty group to assign /dev/pts to
if ! grep -q tty /etc/group; then
- printf "%s" 'tty:x:5:' >> /etc/group
+ printf "%s\n" 'tty:x:5:' >> /etc/group
fi
# Instantiate a new /dev/pts mount, this will ensure pseudoterminals are container-scoped
--
2.53.0
@@ -0,0 +1,34 @@
From 892f93baaa066ea36b31b2f721332ca49c9e5ad7 Mon Sep 17 00:00:00 2001
From: Fred Fu <moonsolo@gmail.com>
Date: Mon, 4 May 2026 05:10:30 -0400
Subject: [PATCH] fix: flags for read-only and recursive slave mount (#2086)
closes #2083
---
distrobox-create | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/distrobox-create b/distrobox-create
index f1ccfb01c6..57e0ca2a20 100755
--- a/distrobox-create
+++ b/distrobox-create
@@ -678,8 +678,10 @@ generate_create_command()
# so rslave/rshared bind propagation is not supported.
if [ "$(uname -s)" = "Darwin" ]; then
rslave=""
+ rorslave=":ro"
else
rslave=":rslave"
+ rorslave=":ro,rslave"
fi
# Set the container hostname the same as the container name.
@@ -751,7 +753,7 @@ generate_create_command()
tr ',' '\n' | grep -q "^ro$"; then
result_command="${result_command}
- --volume ${rootdir}:/run/host${rootdir}:ro${rslave}"
+ --volume ${rootdir}:/run/host${rootdir}${rorslave}"
continue
fi
Binary file not shown.
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
container_image_default="registry.opensuse.org/opensuse/distrobox:latest"
container_name="tumbleweed"
container_manager="autodetect"
non_interactive="true"
+38
View File
@@ -0,0 +1,38 @@
From 21afad192b71dc84b3305403dee4bcc76bb8a64e Mon Sep 17 00:00:00 2001
From: dannyhpy <20782483+dannyhpy@users.noreply.github.com>
Date: Tue, 24 Feb 2026 08:49:48 +0100
Subject: [PATCH] init: zypper: use drop-in config file if possible (#2007)
In openSUSE Tumbleweed, the /etc/zypp/zypp.conf is not present by
default anymore. The documentation[1] now suggests to maintain the
configuration using drop-in files in /etc/zypp/zypp.conf.d/
[1] https://manpages.opensuse.org/Tumbleweed/libzypp/zypp.conf.5.en.html
---
distrobox-init | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/distrobox-init b/distrobox-init
index 2bd2a3c66a..fc42970cd1 100755
--- a/distrobox-init
+++ b/distrobox-init
@@ -1624,8 +1624,17 @@ setup_zypper()
# poor out-of-the-box experience (e.g., when trying to run GUI apps).
# So, let's enable them. For the same reason, we make sure we install
# docs.
- sed -i 's/.*solver.onlyRequires.*/solver.onlyRequires = false/g' /etc/zypp/zypp.conf
- sed -i 's/.*rpm.install.excludedocs.*/rpm.install.excludedocs = no/g' /etc/zypp/zypp.conf
+ if [ -d /etc/zypp/zypp.conf.d ]; then
+ cat << EOF > /etc/zypp/zypp.conf.d/99-distrobox.conf
+[main]
+solver.onlyRequires = false
+rpm.install.excludedocs = no
+EOF
+ else
+ sed -i 's/.*solver.onlyRequires.*/solver.onlyRequires = false/g' /etc/zypp/zypp.conf
+ sed -i 's/.*rpm.install.excludedocs.*/rpm.install.excludedocs = no/g' /etc/zypp/zypp.conf
+ fi
+
# With recommended packages, something might try to pull in
# parallel-printer-support which can't be installed in rootless containers.
# Since we very much likely never need it, just lock it