diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-05-06 18:09:25 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-05-06 18:18:22 +0200 |
commit | 26a728eb091daf89a01986eac2d51dc8f0b58b6a (patch) | |
tree | c9da62bfb68720692bbb9b4d8c0604eed7487b3c /build-aux | |
parent | 94e3029a834cb53a60dcef18556f8d207dea85cd (diff) | |
download | gnu-guix-26a728eb091daf89a01986eac2d51dc8f0b58b6a.tar gnu-guix-26a728eb091daf89a01986eac2d51dc8f0b58b6a.tar.gz |
linux-initrd: Delete files from the initrd ramfs when switching roots.
* guix/build/linux-initrd.scm (switch-root): Delete file from the old
root. Chdir to / after 'chroot' call. Re-open file descriptors 0, 1,
and 2.
(boot-system): Move 'loading' message after the 'switch-root' call.
* gnu/system.scm (operating-system-boot-script): Add loop that closes
file descriptor before calling 'execl'.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions