mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
guix-install.sh: Don't extract the binary ‘.’.
* etc/guix-install.sh (sys_create_store): Strip the first tar file name component.
This commit is contained in:
@@ -363,7 +363,8 @@ sys_create_store()
|
||||
|
||||
cd "$tmp_path"
|
||||
_msg "${INF}Installing /var/guix and /gnu..."
|
||||
tar --extract --file "$pkg" -C /
|
||||
# Strip (skip) the leading ‘.’ component, which fails on read-only ‘/’.
|
||||
tar --extract --strip-components=1 --file "$pkg" -C /
|
||||
|
||||
_msg "${INF}Linking the root user's profile"
|
||||
mkdir -p ~root/.config/guix
|
||||
|
||||
Reference in New Issue
Block a user