Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 002b553b1428
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 1ca690951457
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 27, 2019

  1. docker-container: Remove /etc symlink

    The system output usually contains a symlink from /etc to the static
    configuration for the benefit of the stage-1 script in the initrd. The stage-2
    script is usually started in the real root without such a symlink. In a
    container, there is no stage-1 and the system output is used directly as a real
    root. If the symlink is present, setup-etc.pl will create a symlink cycle and
    the system cannot boot. There is no reason for the /etc link to exist in a
    container because setup-etc.pl will create the necessary files. The container
    module will now remove the /etc symlink and create an empty directory. The empty
    /etc is for container managers to populate it with site-specific settings; for
    example, to set the hostname. This is required to boot NixOS in an LXC container
    on another host.
    
    See also: #9735
    ttuegel committed Nov 27, 2019
    Copy the full SHA
    757c7f3 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2020

  1. Merge pull request #74378 from ttuegel/lxc-container

    docker-container: Remove /etc symlink
    adisbladis committed Apr 25, 2020
    Copy the full SHA
    1ca6909 View commit details
    Browse the repository at this point in the history