~likan/toolbox/+git/ppa:patch-7

Last commit made on 2021-01-12
Get this branch:
git clone -b patch-7 https://git.launchpad.net/~likan/toolbox/+git/ppa

Branch merges

Branch information

Name:
patch-7
Repository:
lp:~likan/toolbox/+git/ppa

Recent commits

75d9bf3... by Kan Li <email address hidden>

cmd/create, doc/toolbox-create, sh: Add flag --volume to create command.

This allows specifying additional bind mounts when creating the toolbox.

https://github.com/containers/toolbox/pull/633

69dd701... by Kan Li <email address hidden>

cmd/initContainer: Handle hosts with /etc/localtime as absolute symlink

On Arch Linux and Ubuntu hosts, /etc/localtime is an absolute symbolic
link to /usr/share/zoneinfo/SomeTimeZone. So, inside the container,
/run/host/etc/localtime also has /usr/share/zoneinfo/SomeTimeZone as
its target.

https://github.com/containers/toolbox/issues/622

772451c... by Debarshi Ray <email address hidden>

Prepare 0.0.99

120eea4... by Debarshi Ray <email address hidden>

Remove the deprecated reset command

The Go implementation had deprecated the reset command, right from the
beginning, in favour of 'podman system reset'. It's time to finally
remove it.

https://github.com/containers/toolbox/pull/668

21d25f8... by =?utf-8?b?T25kxZllaiBNw61jaGFs?= <email address hidden>

Support RHEL hosts by creating containers based on UBI

https://github.com/containers/toolbox/pull/667

6fa2184... by Debarshi Ray <email address hidden>

profile.d: Prevent setting VTE-specific PROMPT_COMMAND without VTE

Fedora's /etc/bashrc sets the PROMPT_COMMAND environment variable to
__vte_prompt_command when running inside a VteTerminal. This becomes a
problem if the __vte_prompt_command shell function is missing because
/etc/profile.d/vte.sh itself is absent [1], which is the case with the
Red Hat Universal Base Image.

This tricks the code in /etc/bashrc into not doing that.

[1] https://pagure.io/setup/pull-request/23

https://github.com/containers/toolbox/pull/667

32d711c... by =?utf-8?b?T25kxZllaiBNw61jaGFs?= <email address hidden>

Add a --distro option

This is meant to allow the user to create toolbox containers of
operating system distributions that are different from that of the
host and isn't Fedora.

https://github.com/containers/toolbox/pull/667

c990fb4... by =?utf-8?b?T25kxZllaiBNw61jaGFs?= <email address hidden>

Introduce the concept of a 'distro' for future non-Fedora containers

This shouldn't have any user-visible effect. However, it parametrizes
various code paths that were currently hard-coded to represent Fedora.
Subsequent commits will build upon this to support toolbox containers
of operating system distributions that aren't Fedora.

A map of supported operating system distributions has been introduced
that lists out the necessary bits of metadata needed to work with them.
In the future, it should just be a matter of adding new entries to this
map to add support for distributions that aren't Fedora.

https://github.com/containers/toolbox/pull/667

20ad4c0... by Debarshi Ray <email address hidden>

cmd/enter: Add more information to errors on failing to get the host ID

https://github.com/containers/toolbox/pull/667

26ea367... by Debarshi Ray <email address hidden>

cmd/create: Shuffle some code around

https://github.com/containers/toolbox/pull/667