diff options
author | Jacek Galowicz <jacek@galowicz.de> | 2020-08-08 13:45:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-08 13:45:02 +0200 |
commit | 2a288cb1daf2dc922b4a737e24e7f56495280070 (patch) | |
tree | 62f42f21fd20702ab9a68533d5c6c2a098039881 /nixos/lib | |
parent | 208a219d4a9cee80b9bd9ad97b3d7954ca50df5a (diff) | |
parent | fd2047c642ba44d5c300149f63f68c34da773c04 (diff) |
Merge pull request #93824 from blitz/fix-rpi4-installer
Fix Raspberry Pi 4B SD-Card Install Image
Diffstat (limited to 'nixos/lib')
-rw-r--r-- | nixos/lib/make-ext4-fs.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/lib/make-ext4-fs.nix b/nixos/lib/make-ext4-fs.nix index 74a6c134e64c..33dbc8f5ec46 100644 --- a/nixos/lib/make-ext4-fs.nix +++ b/nixos/lib/make-ext4-fs.nix @@ -46,7 +46,10 @@ pkgs.stdenv.mkDerivation { ( GLOBIGNORE=".:.." shopt -u dotglob - cp -a --reflink=auto ./files/* -t ./rootImage/ + + for f in ./files/*; do + cp -a --reflink=auto -t ./rootImage/ "$f" + done ) # Also include a manifest of the closures in a format suitable for nix-store --load-db |